From b6e3f580fd855bcd8ffada876ef742dae06effd0 Mon Sep 17 00:00:00 2001 From: VannesteFelix Date: Fri, 27 Oct 2023 17:54:43 +0200 Subject: [PATCH] Fix: put back readthedocs theme & clean typo --- doc/sphinx/source/conf.py | 7 +------ doc/sphinx/source/usage/install/installation.md | 2 -- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/doc/sphinx/source/conf.py b/doc/sphinx/source/conf.py index 83f7a902..e88cdafa 100644 --- a/doc/sphinx/source/conf.py +++ b/doc/sphinx/source/conf.py @@ -131,12 +131,7 @@ # on_rtd is whether we are on readthedocs.org, this line of code grabbed from docs.readthedocs.org on_rtd = os.environ.get('READTHEDOCS', None) == 'True' -if not on_rtd: # only import and set the theme if we're building docs locally - import sphinx_rtd_theme - html_theme = 'sphinx_rtd_theme' - html_theme_path = [sphinx_rtd_theme.get_html_theme_path()] - # html_theme = 'alabaster' - +html_theme = 'sphinx_rtd_theme' # html_theme_options = {'navigation_depth': 4,}#"collapse_navigation":True,} #show_nav_level": 2,} diff --git a/doc/sphinx/source/usage/install/installation.md b/doc/sphinx/source/usage/install/installation.md index 8bae8a67..d6a3d7ff 100644 --- a/doc/sphinx/source/usage/install/installation.md +++ b/doc/sphinx/source/usage/install/installation.md @@ -3,7 +3,6 @@ ::::::{card} **SOFA setup** ^^^ -Card content You can either build it from sources: @@ -57,7 +56,6 @@ Or download the binaries: :::::::{card} **ModelOrderReduction setup** ^^^ -Card content You can either build it from the [source](https://github.com/SofaDefrost/ModelOrderReduction) as explained [here](https://www.sofa-framework.org/community/doc/plugins/build-a-plugin-from-sources/) with SOFA. Or take the binaries generated [here](https://github.com/SofaDefrost/ModelOrderReduction/releases/tag/release-master) and link them to your SOFA build/binaries.