diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index ad6928ba..6470f912 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -15,11 +15,8 @@ jobs: run: | pip3 install --upgrade pip sudo apt install python3-setuptools - cd .. - git clone https://github.com/sphinx-doc/sphinx - cd sphinx - pip3 install . - pip3 install sphinx_rtd_theme + pip3 install furo==2020.10.5b9 + pip3 install sphinx-copybutton - name: Install manim env run: | diff --git a/docs/source/conf.py b/docs/source/conf.py index c697fb48..e304ce4d 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -17,7 +17,7 @@ extensions = [ 'sphinx.ext.autodoc', 'sphinx.ext.coverage', 'sphinx.ext.napoleon', - 'sphinx_rtd_theme' + 'sphinx_copybutton', ] autoclass_content = 'both' @@ -28,11 +28,9 @@ source_suffix = '.rst' master_doc = 'index' pygments_style = 'default' -# html_static_path = ['assets'] -html_theme = 'sphinx_rtd_theme' +html_theme = 'furo' # pip install furo==2020.10.5b9 # html_favicon = '../../logo/graph.png' html_logo = '../../logo/transparent_graph.png' html_theme_options = { - 'logo_only': True, - 'style_nav_header_background': '#343131', + "sidebar_hide_name": True, } diff --git a/logo/transparent_graph.png b/logo/transparent_graph.png index 2c3b7473..61d5a25b 100644 Binary files a/logo/transparent_graph.png and b/logo/transparent_graph.png differ