diff --git a/.github/workflows/sphinx.yml b/.github/workflows/sphinx.yml index 989e2514cd..7101cdc69b 100644 --- a/.github/workflows/sphinx.yml +++ b/.github/workflows/sphinx.yml @@ -1,4 +1,4 @@ -name: 'Build Sphinx Documentation' +name: "Build Sphinx Documentation" on: release: @@ -36,19 +36,10 @@ jobs: with: node-version: lts/iron - - name: Install JS librairies - working-directory: ./frontend - run: npm install - - - name: Build JS documentation - working-directory: ./frontend - run: npm run docBuild - - - name: Install python dependencies - run: pip install .[docs] - - name: Build and Commit uses: sphinx-notes/pages@v2 + with: + requirements_path: docs/requirements.txt env: GEONATURE_CONFIG_FILE: config/test_config.toml diff --git a/docs/api-references.rst b/docs/api-references.rst index 7872e5ac05..40c57fbf32 100644 --- a/docs/api-references.rst +++ b/docs/api-references.rst @@ -6,4 +6,3 @@ API REFERENCES ../../autoapi/pypnusershub/index ../../autoapi/src/utils_flask_sqla/index ../../autoapi/src/utils_flask_sqla_geo/index - frontend diff --git a/docs/frontend.rst b/docs/frontend.rst deleted file mode 100644 index 00e68f93d4..0000000000 --- a/docs/frontend.rst +++ /dev/null @@ -1,5 +0,0 @@ -Frontend --------- -La documentation pour le frontend de Geonature se trouve ici_. - -.. _ici: documentation_js/index.html \ No newline at end of file diff --git a/setup.py b/setup.py index 9695ffdc23..40bde971db 100644 --- a/setup.py +++ b/setup.py @@ -42,8 +42,7 @@ ], "doc": [ "sphinx", - "sphinx_rtd_theme", - "sphinxcontrib-websupport", + "sphinx-book-theme", "myst-parser", "sphinx-autoapi", ],