Reference of theme options#
The following theme-specific options are available via html_theme_options
.
See the PyData Theme as well
These are in addition to all of the options available in the PyData Sphinx Theme.
Key |
Type |
Description |
---|---|---|
|
string |
Path to the documentation, relative to the repository root (e.g. |
|
string |
URL of the repository for the documentation (e.g. the GitHub repository URL). See 添加到您的仓库的链接. |
|
string |
Branch of the repository for the documentation (e.g., |
|
bool |
Add an button in the header with a link to issues for the repository (used in conjunction with |
|
bool |
Add a button in the header to download the source file of the page. See 链接到源文件的按钮. |
|
bool |
Add a button in the header to trigger full-screen mode. |
|
bool |
Add a button in the header that links to the repository of the documentation.See 添加到您的仓库的链接. |
|
bool |
Include Binder launch buttons for pages that were built from Jupyter Notebooks. See 用于交互的启动按钮. |
|
bool |
Whether to put the home page in the Navigation Bar (at the top). See 将首页添加到您的目录中. |
|
int |
Show children in the navigation bar down to the depth listed here. See 控制左侧边栏列表展开的深度. |
|
int |
The maximum number of levels to show in the navbar. See 控制左侧边栏列表的最大深度. (4 is default) |
|
bool |
Whether to collapse the navbar, stopping the tree from being expanded. See 控制左侧边栏列表的最大深度, (False is default) |
|
str |
Extra HTML to add below the sidebar footer. See 向内容页脚添加额外的HTML. |
|
str |
Extra HTML to add in the footer of each page. |
|
str |
The text to be displayed with the in-page TOC ( |