Skip to content

Commit cdea4b6

Browse files
authored
Merge pull request #69 from mikibonacci/develop
Massive update
2 parents 2621ce1 + 4cac54b commit cdea4b6

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+12264
-2421
lines changed

.github/workflows/deploy.yml

Lines changed: 24 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
branches: [main, develop]
88
env:
99
# `BASE_URL` determines the website is served from, including CSS & JS assets
10-
# You may need to change this to `BASE_URL: ''`
10+
# You may need to change this to: `BASE_URL: ''`
1111
BASE_URL: /${{ github.event.repository.name }}
1212

1313
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
@@ -21,27 +21,39 @@ concurrency:
2121
group: 'pages'
2222
cancel-in-progress: false
2323
jobs:
24-
deploy:
24+
build:
2525
environment:
2626
name: github-pages
2727
url: ${{ steps.deployment.outputs.page_url }}
2828
runs-on: ubuntu-latest
2929
steps:
3030
- uses: actions/checkout@v4
3131
- name: Setup Pages
32-
uses: actions/configure-pages@v3
33-
- uses: actions/setup-node@v4
32+
uses: actions/configure-pages@v4
33+
- uses: actions/setup-python@v4
3434
with:
35-
node-version: 20.x
36-
- name: Install MyST Markdown
37-
run: npm install -g mystmd
38-
- name: Build HTML Assets
39-
run: myst build --html
35+
python-version: '3.10'
36+
- name: Install dependencies
37+
run: |
38+
python -m pip install --upgrade pip
39+
pip install -e .
40+
pip install -r docs/requirements.txt
41+
- name: Build Sphinx documentation
42+
run: |
43+
make html
4044
working-directory: ./docs
4145
- name: Upload artifact
42-
uses: actions/upload-pages-artifact@v1
46+
uses: actions/upload-pages-artifact@v3
4347
with:
44-
path: './docs/_build/html'
48+
path: './docs/build/html'
49+
# Deployment job
50+
deploy:
51+
environment:
52+
name: github-pages
53+
url: ${{ steps.deployment.outputs.page_url }}
54+
runs-on: ubuntu-latest
55+
needs: build
56+
steps:
4557
- name: Deploy to GitHub Pages
4658
id: deployment
47-
uses: actions/deploy-pages@v2
59+
uses: actions/deploy-pages@v4

conftest.py

Lines changed: 0 additions & 148 deletions
This file was deleted.

docs/.gitignore

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)