Customization
Contents
Customization#
These sections describe a few ways that you may customize the look and feel of your theme.
Theme options#
The following options are available via html_theme_options
Key |
Type |
Description |
---|---|---|
|
bool |
Remove the left sidebar and treat the site as a single page. See Use a single-page version of this theme. |
|
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 Add a link to your repository. |
|
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 Add buttons to link to your source. |
|
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 Add a link to your repository. |
|
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 Add the home page to your table of contents. |
|
bool |
Only display the logo, not |
|
int |
Show children in the navigation bar down to the depth listed here. See Control the depth of the left sidebar lists to expand. |
|
str |
Extra HTML to add below the sidebar footer. See Customize the sidebar footer. |
|
str |
Extra HTML to add in the footer of each page. |
|
str |
The text to be displayed with the in-page TOC ( |
Customization Topics#
The following sections describe a few ways to customize the theme in more depth.