Skip to content

Commit c68bf1c

Browse files
committedJan 24, 2021
change theme
1 parent ddcfd01 commit c68bf1c

File tree

3 files changed

+5
-10
lines changed

3 files changed

+5
-10
lines changed
 

‎.github/workflows/docs.yml

+2-5
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,8 @@ jobs:
1515
run: |
1616
pip3 install --upgrade pip
1717
sudo apt install python3-setuptools
18-
cd ..
19-
git clone https://github.com/sphinx-doc/sphinx
20-
cd sphinx
21-
pip3 install .
22-
pip3 install sphinx_rtd_theme
18+
pip3 install furo==2020.10.5b9
19+
pip3 install sphinx-copybutton
2320
2421
- name: Install manim env
2522
run: |

‎docs/source/conf.py

+3-5
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
'sphinx.ext.autodoc',
1818
'sphinx.ext.coverage',
1919
'sphinx.ext.napoleon',
20-
'sphinx_rtd_theme'
20+
'sphinx_copybutton',
2121
]
2222

2323
autoclass_content = 'both'
@@ -28,11 +28,9 @@
2828
master_doc = 'index'
2929
pygments_style = 'default'
3030

31-
# html_static_path = ['assets']
32-
html_theme = 'sphinx_rtd_theme'
31+
html_theme = 'furo' # pip install furo==2020.10.5b9
3332
# html_favicon = '../../logo/graph.png'
3433
html_logo = '../../logo/transparent_graph.png'
3534
html_theme_options = {
36-
'logo_only': True,
37-
'style_nav_header_background': '#343131',
35+
"sidebar_hide_name": True,
3836
}

‎logo/transparent_graph.png

-2.2 KB
Loading

0 commit comments

Comments
 (0)
Please sign in to comment.