forked from goodboy/tractor
1
0
Fork 0

Try out sphinx-book-theme

new_docs_polish
Tyler Goodlet 2021-02-25 23:49:56 -05:00
parent f48548ab94
commit fb23a9d8d4
1 changed files with 21 additions and 10 deletions

View File

@ -54,7 +54,7 @@ exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
# The theme to use for HTML and HTML Help pages. See the documentation for # The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes. # a list of builtin themes.
# #
html_theme = 'sphinx_typlog_theme' html_theme = 'sphinx_book_theme'
pygments_style = 'sphinx' pygments_style = 'sphinx'
@ -62,20 +62,31 @@ pygments_style = 'sphinx'
# further. For a list of options available for each theme, see the # further. For a list of options available for each theme, see the
# documentation. # documentation.
html_theme_options = { html_theme_options = {
'logo': 'tractor_logo_side.svg', # 'logo': 'tractor_logo_side.svg',
'description': 'Structured concurrent "actors"', # 'description': 'Structured concurrent "actors"',
'github_user': 'goodboy', 'repository_url': "https://github.com/goodboy/tractor",
'github_repo': 'tractor', 'use_repository_button': True,
} }
html_sidebars = { html_sidebars = {
"**": [ "**": [
'logo.html', 'globaltoc.html',
'github.html', 'sbt-sidebar-nav.html',
'relations.html', ],
'searchbox.html' # 'logo.html',
] # 'github.html',
# 'relations.html',
# 'searchbox.html'
# ]
} }
# doesn't seem to work?
extra_navbar = "<p>nextttt-gennnnn</p>"
html_title = 'tractor'
html_logo = '_static/tractor_logo_side.svg'
html_favicon = '_static/tractor_logo_side.svg'
show_navbar_depth = 1
# Add any paths that contain custom static files (such as style sheets) here, # Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files, # relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css". # so a file named "default.css" will overwrite the builtin "default.css".