mirror of
https://github.com/Instagram/LibCST.git
synced 2025-12-23 10:35:53 +00:00
Add logo and favicon to sphinx documentation
- The white logo variant shows up on the top of the sidebar. - The favicon shows up when the page is loaded.
This commit is contained in:
parent
1424cfb2e1
commit
da7b9435ee
3 changed files with 3 additions and 1 deletions
BIN
docs/source/_static/logo/favicon.ico
Normal file
BIN
docs/source/_static/logo/favicon.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.6 KiB |
BIN
docs/source/_static/logo/horizontal_white_sidebar.png
Normal file
BIN
docs/source/_static/logo/horizontal_white_sidebar.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 8.6 KiB |
|
|
@ -91,7 +91,7 @@ html_theme = 'sphinx_rtd_theme'
|
|||
# further. For a list of options available for each theme, see the
|
||||
# documentation.
|
||||
#
|
||||
# html_theme_options = {}
|
||||
html_theme_options = {"logo_only": True}
|
||||
|
||||
# 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,
|
||||
|
|
@ -108,6 +108,8 @@ html_static_path = ['_static']
|
|||
#
|
||||
# html_sidebars = {}
|
||||
|
||||
html_logo = "_static/logo/horizontal_white_sidebar.png"
|
||||
html_favicon = "_static/logo/favicon.ico"
|
||||
|
||||
# -- Options for HTMLHelp output ---------------------------------------------
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue