Skip to content

Commit

Permalink
ci(docs): use sphinx directly
Browse files Browse the repository at this point in the history
  • Loading branch information
paquiteau committed Oct 16, 2024
1 parent b29d5ee commit 4b6456e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,12 @@ jobs:
# Build the book
- name: Build the book
run: |
cd docs
jupyter-book build .
python -m sphinx docs docs_build
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: 'docs/_build/html'
path: 'docs_build/'

- name: Deploy to GitHub Pages
id: deployment
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ dependencies = [ # Optional
[project.optional-dependencies] # Optional
dev = ["black", "ruff", "isort"]
test = ["pytest", "pytest-cov", "pytest-sugar", "pytest-xdist"]
doc = ["myst-parser", "sphinx-copybutton","jupyter-book", "sphinx-gallery","sphinx-book-theme"]
doc = ["myst-parser", "sphinx-copybutton","sphinx-gallery","sphinx-book-theme"]
toolkit = [ "matplotlib", "pysap-fmri"]
# List URLs that are relevant to your project
# This field corresponds to the "Project-URL" and "Home-Page" metadata fields:
Expand Down

0 comments on commit 4b6456e

Please sign in to comment.