Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(166903)

Side by Side Diff: Doc/conf.py

Issue 16331: Add a version switcher to python docs site
Patch Set: Created 7 years, 1 month ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | Doc/tools/sphinxext/layout.html » ('j') | Doc/tools/sphinxext/layout.html » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # 1 #
2 # Python documentation build configuration file 2 # Python documentation build configuration file
3 # 3 #
4 # This file is execfile()d with the current directory set to its containing dir. 4 # This file is execfile()d with the current directory set to its containing dir.
5 # 5 #
6 # The contents of this file are pickled, so don't put values in the namespace 6 # The contents of this file are pickled, so don't put values in the namespace
7 # that aren't pickleable (module imports are okay, they're removed automatically ). 7 # that aren't pickleable (module imports are okay, they're removed automatically ).
8 8
9 import sys, os, time 9 import sys, os, time
10 sys.path.append(os.path.abspath('tools/sphinxext')) 10 sys.path.append(os.path.abspath('tools/sphinxext'))
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 highlight_language = 'python3' 62 highlight_language = 'python3'
63 63
64 64
65 # Options for HTML output 65 # Options for HTML output
66 # ----------------------- 66 # -----------------------
67 67
68 html_theme = 'pydoctheme' 68 html_theme = 'pydoctheme'
69 html_theme_path = ['tools/sphinxext'] 69 html_theme_path = ['tools/sphinxext']
70 html_theme_options = {'collapsiblesidebar': True} 70 html_theme_options = {'collapsiblesidebar': True}
71 71
72 html_short_title = '%s Documentation' % release 72 html_short_title = 'Documentation'
ezio.melotti 2012/10/26 19:48:52 I would leave this unchanged, in order to have the
Yury Selivanov 2012/10/26 19:53:25 Eric, If JS is not available, then '''<span id="v
ezio.melotti 2012/10/26 20:34:11 Fair enough, assuming that this is true for all th
Yury Selivanov 2012/10/26 20:48:15 I' check that. Don't apply this version of the pa
73 73
74 # If not '', a 'Last updated on:' timestamp is inserted at every page bottom, 74 # If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
75 # using the given strftime format. 75 # using the given strftime format.
76 html_last_updated_fmt = '%b %d, %Y' 76 html_last_updated_fmt = '%b %d, %Y'
77 77
78 # If true, SmartyPants will be used to convert quotes and dashes to 78 # If true, SmartyPants will be used to convert quotes and dashes to
79 # typographically correct entities. 79 # typographically correct entities.
80 html_use_smartypants = True 80 html_use_smartypants = True
81 81
82 # Custom sidebar templates, filenames relative to this file. 82 # Custom sidebar templates, filenames relative to this file.
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 'cfunction': (r'^PyAPI_FUNC\(.*\)\s+([^_][\w_]+)'), 187 'cfunction': (r'^PyAPI_FUNC\(.*\)\s+([^_][\w_]+)'),
188 'data': (r'^PyAPI_DATA\(.*\)\s+([^_][\w_]+)'), 188 'data': (r'^PyAPI_DATA\(.*\)\s+([^_][\w_]+)'),
189 'macro': (r'^#define ([^_][\w_]+)\(.*\)[\s|\\]'), 189 'macro': (r'^#define ([^_][\w_]+)\(.*\)[\s|\\]'),
190 } 190 }
191 191
192 # The coverage checker will ignore all C items whose names match these regexes 192 # The coverage checker will ignore all C items whose names match these regexes
193 # (using re.match) -- the keys must be the same as in coverage_c_regexes. 193 # (using re.match) -- the keys must be the same as in coverage_c_regexes.
194 coverage_ignore_c_items = { 194 coverage_ignore_c_items = {
195 # 'cfunction': [...] 195 # 'cfunction': [...]
196 } 196 }
OLDNEW
« no previous file with comments | « no previous file | Doc/tools/sphinxext/layout.html » ('j') | Doc/tools/sphinxext/layout.html » ('J')

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+