diff options
-rw-r--r-- | .readthedocs.yaml | 23 | ||||
-rw-r--r-- | docs/fr/source/conf.py | 7 | ||||
-rw-r--r-- | requirements_rtd.txt | 2 |
3 files changed, 30 insertions, 2 deletions
diff --git a/.readthedocs.yaml b/.readthedocs.yaml new file mode 100644 index 000000000..52faf18dd --- /dev/null +++ b/.readthedocs.yaml @@ -0,0 +1,23 @@ +# .readthedocs.yaml +# Read the Docs configuration file +# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details + +# Required +version: 2 + +formats: + - pdf + +# Set the version of Python and other tools you might need +build: + os: ubuntu-22.04 + tools: + python: "3.9" + +# Build documentation in the docs/ directory with Sphinx +sphinx: + configuration: docs/fr/source/conf.py + +python: + install: + - requirements: requirements_rtd.txt
\ No newline at end of file diff --git a/docs/fr/source/conf.py b/docs/fr/source/conf.py index 1480d0fd7..53f6c4427 100644 --- a/docs/fr/source/conf.py +++ b/docs/fr/source/conf.py @@ -33,7 +33,9 @@ from version import __version__ # Add any Sphinx extension module names here, as strings. They can be extensions # coming with Sphinx (named 'sphinx.ext.*') or your custom ones. -extensions = [] +extensions = [ + 'sphinx_rtd_theme', +] # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates'] @@ -99,7 +101,8 @@ pygments_style = 'sphinx' # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. -html_theme = 'default' +#html_theme = 'default' +html_theme = "sphinx_rtd_theme" # Theme options are theme-specific and customize the look and feel of a theme # further. For a list of options available for each theme, see the diff --git a/requirements_rtd.txt b/requirements_rtd.txt index 6ed12fd60..f6d70f5a8 100644 --- a/requirements_rtd.txt +++ b/requirements_rtd.txt @@ -60,6 +60,8 @@ unidecode -e git+https://github.com/jazzband/django-simple-history.git@2.7.0#egg=django-simple-history django-extensions==3.0.3 + +sphinx_rtd_theme # old 2.1.4 # django-debug-toolbar==3.2.4 |