Skip to content

Commit 17b341b

Browse files
Switch to Read the Docs style.
1 parent 92a2dc6 commit 17b341b

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

docs/conf.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -146,18 +146,21 @@
146146

147147
# The theme to use for HTML and HTML Help pages. See the documentation for
148148
# a list of builtin themes.
149-
#html_theme = 'alabaster'
149+
html_theme = 'sphinx_rtd_theme'
150150

151151
# Theme options are theme-specific and customize the look and feel of a theme
152152
# further. For a list of options available for each theme, see the
153153
# documentation.
154154
html_theme_options = {
155-
'page_width': 'auto', # getting cutoff of included source code
156-
'show_related': True,
157155
# Navigation improvements
158156
'prev_next_buttons_location': 'both', # Show prev/next at top and bottom
159157
'style_external_links': True, # Mark external links differently
160158
# GitHub integration
159+
'vcs_pageview_mode': 'blob', # Link to blob view for source files
160+
}
161+
162+
# GitHub integration - standard way to enable "Edit on GitHub" links
163+
html_context = {
161164
'display_github': True,
162165
'github_user': 'CodeReclaimers',
163166
'github_repo': 'neat-python',

0 commit comments

Comments
 (0)