aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorn-peugnet <n.peugnet@free.fr>2022-03-23 15:22:33 +0100
committern-peugnet <n.peugnet@free.fr>2022-03-23 15:22:39 +0100
commitb0adc08f05f25d644c645d1e7fb46cf6332bfc0a (patch)
tree4b2cb16682a901de42f39c494652b69370b82a70
parentab81c3dc8f415b013374c32b7328bc2bc9dd2758 (diff)
downloadclub1-docs-b0adc08f05f25d644c645d1e7fb46cf6332bfc0a.tar.gz
club1-docs-b0adc08f05f25d644c645d1e7fb46cf6332bfc0a.zip
use read the docs theme
as it is a lot more clean
-rw-r--r--README.md3
-rw-r--r--conf.py5
2 files changed, 6 insertions, 2 deletions
diff --git a/README.md b/README.md
index 256f8c0..33e224d 100644
--- a/README.md
+++ b/README.md
@@ -7,12 +7,13 @@ Prérequis
---------
- Sphinx
+- Shpinx-rtd-theme
- MyST-Parser
- Make
### Linux dérivé de Debian
- sudo apt install python3-shpinx python3-myst-parser make
+ sudo apt install python3-shpinx python3-sphinx-rtd-theme python3-myst-parser make
### MacOS
diff --git a/conf.py b/conf.py
index 5d027eb..37ee5e4 100644
--- a/conf.py
+++ b/conf.py
@@ -57,9 +57,12 @@ exclude_patterns = [
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
#
-html_theme = 'alabaster'
+html_theme = 'sphinx_rtd_theme'
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static']
+
+# The domain is used for code documentation, so no need for it here.
+primary_domain = None