If you want to change the Sphinx theme you need to make
the following changes to conf.py after you install the desired theme.
1. Add the following line in the import section
2. Change the following line
the following changes to conf.py after you install the desired theme.
1. Add the following line in the import section
import theme_name
2. Change the following line
html_theme = 'default'to
html_theme = 'theme_name'
3. Finally change the following line from
#html_theme_path = []to
html_theme_path = [theme_name.get_html_theme_path()]
No comments:
Post a Comment