diff options
author | Michael J. Spencer <bigcheesegs@gmail.com> | 2012-09-05 19:44:47 +0000 |
---|---|---|
committer | Michael J. Spencer <bigcheesegs@gmail.com> | 2012-09-05 19:44:47 +0000 |
commit | 00b0d3809421dfe2b8f81d11dd0fdcc68b3be423 (patch) | |
tree | 8154b9d22644f1774f18a618a2d4d5d626d52449 /llvm/docs/conf.py | |
parent | efe4a441062ce9d4fbcecf18f1082a4414bf3e51 (diff) | |
download | llvm-00b0d3809421dfe2b8f81d11dd0fdcc68b3be423.zip llvm-00b0d3809421dfe2b8f81d11dd0fdcc68b3be423.tar.gz llvm-00b0d3809421dfe2b8f81d11dd0fdcc68b3be423.tar.bz2 |
[Docs] Fix Sphinx incremental build. Patch by Sean Silva!
llvm-svn: 163235
Diffstat (limited to 'llvm/docs/conf.py')
-rw-r--r-- | llvm/docs/conf.py | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/llvm/docs/conf.py b/llvm/docs/conf.py index f7b3a07..a1e9b5f 100644 --- a/llvm/docs/conf.py +++ b/llvm/docs/conf.py @@ -98,7 +98,7 @@ html_theme = 'llvm-theme' #html_theme_options = {} # Add any paths that contain custom themes here, relative to this directory. -html_theme_path = ["."] +html_theme_path = ["_themes"] # The name for this set of Sphinx documents. If None, it defaults to # "<project> v<release> documentation". @@ -134,18 +134,7 @@ html_sidebars = {'index': 'indexsidebar.html'} # Additional templates that should be rendered to pages, maps page names to # template names. -# -# We load all the old-school HTML documentation pages into Sphinx here. -basedir = os.path.dirname(__file__) -html_additional_pages = {} -for directory in ('', 'tutorial'): - for file in os.listdir(os.path.join(basedir, directory)): - if not file.endswith('.html'): - continue - - subpath = os.path.join(directory, file) - name,_ = os.path.splitext(subpath) - html_additional_pages[name] = subpath +#html_additional_pages = {} # If false, no module index is generated. #html_domain_indices = True @@ -226,6 +215,7 @@ man_pages = [] # Automatically derive the list of man pages from the contents of the command # guide subdirectory. +basedir = os.path.dirname(__file__) man_page_authors = "Maintained by The LLVM Team (http://llvm.org/)." command_guide_subpath = 'CommandGuide' command_guide_path = os.path.join(basedir, command_guide_subpath) |