Skip to content

Commit

Permalink
Moved stuff from docs/src to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexandreAdam committed Jul 8, 2024
1 parent d811b88 commit 81ea14e
Show file tree
Hide file tree
Showing 10 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/preview_book.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,16 @@ jobs:

- name: Install dependencies
run: |
pip install -r docs/requirements.txt
pip install -r docs_requirements.txt
# Build the book
- name: Build the book
run: |
jupyter-book build docs/src
jupyter-book build docs
# Upload the book's HTML as an artifact
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: book-preview
path: docs/src/_build/html # Adjust path if necessary
path: docs/_build/html # Adjust path if necessary
8 changes: 4 additions & 4 deletions .github/workflows/publish_book.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,22 +24,22 @@ jobs:

- name: Install dependencies
run: |
pip install -r docs/requirements.txt
pip install -r docs_requirements.txt
- name: Cache executed notebooks
uses: actions/cache@v3
with:
path: docs/src/_build/.jupyter_cache
path: docs/_build/.jupyter_cache
key: jupyter-book-cache-${{ hashFiles('requirements.txt') }}

- name: Build the book
run: |
jupyter-book build docs/src
jupyter-book build docs
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
path: "docs/src/_build/html"
path: "docs/_build/html"

- name: Deploy to GitHub Pages
id: deployment
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ instance/
.scrapy

# Sphinx documentation
docs/src/_build/
docs/_build/

# PyBuilder
.pybuilder/
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 81ea14e

Please sign in to comment.