Skip to content

Commit

Permalink
Fix docs deployment to GitHub Pages (#96)
Browse files Browse the repository at this point in the history
  • Loading branch information
juanep97 authored Apr 14, 2024
1 parent 980546f commit c62b850
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 9 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,10 +133,10 @@ jobs:
- name: Create the DB
run: |
cd iop4site
python manage.py makemigrations
python manage.py makemigrations iop4api
python manage.py migrate --no-input
python iop4site/manage.py makemigrations
python iop4site/manage.py makemigrations iop4api
python iop4site/manage.py migrate --no-input
python iop4site/manage.py loaddata $HOME/.iop4data/testcatalog.yaml
ls -lh $HOME/.iop4data/
- name: Run iop4 on the test data
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,10 @@ jobs:
- name: Create the DB
run: |
cd iop4site
python manage.py makemigrations
python manage.py makemigrations iop4api
python manage.py migrate --no-input
python iop4site/manage.py makemigrations
python iop4site/manage.py makemigrations iop4api
python iop4site/manage.py migrate --no-input
python iop4site/manage.py loaddata $HOME/.iop4data/testcatalog.yaml
ls -lh $HOME/.iop4data/
- name: Run iop4 on the test data
Expand Down
2 changes: 2 additions & 0 deletions docs/recipes/02_database_queries.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
# %% [markdown]
# Configure IOP4 and logging (see examples)
# %%
# %autoawait off
# %matplotlib inline
# %run 01_notebook_configuration.py

# %% [markdown]
Expand Down
2 changes: 2 additions & 0 deletions docs/recipes/03_manual_reduction.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
# what `iop4.py` does when launched from the command line.

# %%
# %autoawait off
# %matplotlib inline
# %run 01_notebook_configuration.py

# %% [markdown]
Expand Down
2 changes: 2 additions & 0 deletions docs/recipes/04_details_on_astrometric_calibration.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
# # Details on astrometric calibration

# %%
# %autoawait off
# %matplotlib inline
# %run 01_notebook_configuration.py

# %% [markdown]
Expand Down
2 changes: 2 additions & 0 deletions docs/recipes/05_quad_matching_dipol_polarimetry_images.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
# # Quad matching in DIPOL polarimetry images

# %%
# %autoawait off
# %matplotlib inline
# %run 01_notebook_configuration.py

# To reduce disk usage, only a central cut of of the full field of the DIPOL
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ doc = [
"nbstripout",
"jupytext",
"ipykernel",
"sphinx-gallery",
"sphinx-gallery<=0.7.0",
"myst-nb",
]
dev = [
Expand Down

0 comments on commit c62b850

Please sign in to comment.