Skip to content

Commit

Permalink
fix(ci, docs) : disable frontend docs generation
Browse files Browse the repository at this point in the history
  • Loading branch information
jacquesfize committed Dec 10, 2024
1 parent 64edeae commit 53b1a90
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 20 deletions.
15 changes: 3 additions & 12 deletions .github/workflows/sphinx.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 'Build Sphinx Documentation'
name: "Build Sphinx Documentation"

on:
release:
Expand Down Expand Up @@ -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

Expand Down
1 change: 0 additions & 1 deletion docs/api-references.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,3 @@ API REFERENCES
../../autoapi/pypnusershub/index
../../autoapi/src/utils_flask_sqla/index
../../autoapi/src/utils_flask_sqla_geo/index
frontend
5 changes: 0 additions & 5 deletions docs/frontend.rst

This file was deleted.

3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@
],
"doc": [
"sphinx",
"sphinx_rtd_theme",
"sphinxcontrib-websupport",
"sphinx-book-theme",
"myst-parser",
"sphinx-autoapi",
],
Expand Down

0 comments on commit 53b1a90

Please sign in to comment.