Skip to content

Commit

Permalink
Merge pull request #212 from clEsperanto/fix-page-with-nbsphinx
Browse files Browse the repository at this point in the history
Fix page with nbsphinx
  • Loading branch information
StRigaud committed Jul 3, 2024
2 parents dc5a4f7 + 51cc272 commit fe5441b
Showing 1 changed file with 24 additions and 8 deletions.
32 changes: 24 additions & 8 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,33 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Set up Python environment
uses: actions/setup-python@v5
# - name: Set up Python environment
# uses: actions/setup-python@v5
# with:
# python-version: 3.9

# - name: generat build folder
# run: |
# python -m pip install --upgrade pip
# pip install sphinx nbsphinx sphinx_rtd_theme sphinx-autodoc-typehints sphinx_copybutton pandoc
# cd docs
# make clean && make html

- name: Get conda - 3.9
id: get-conda
uses: conda-incubator/setup-miniconda@v3
with:
python-version: 3.8
python-version: 3.9
miniforge-variant: Mambaforge
miniforge-version: latest
activate-environment: test
use-mamba: true

- name: generat build folder
- name: Dependencies
id: install-dependencies
run: |
python -m pip install --upgrade pip
pip install sphinx nbsphinx sphinx_rtd_theme sphinx-autodoc-typehints sphinx_copybutton pandoc
cd docs
make clean && make html
mamba install -y sphinx nbsphinx sphinx_rtd_theme sphinx-autodoc-typehints pandoc jupyter
- name: Setup Pages
uses: actions/configure-pages@v4
Expand Down

0 comments on commit fe5441b

Please sign in to comment.