Skip to content

Commit

Permalink
Merge pull request #61 from ecmwf/develop
Browse files Browse the repository at this point in the history
Bugfix in docs, added GitHub Actions to check docs creation
  • Loading branch information
corentincarton authored Oct 14, 2024
2 parents 7198098 + 824fdbb commit c5259ef
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,29 @@ jobs:
- run: black --check .
- run: flake8 .

docs:
name: docs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: test
environment-file: docs/environment.yml
python-version: 3.8
auto-activate-base: false
- name: Conda check
shell: bash -l {0}
run: |
conda info
conda list
- name: Install pyflow and docs
shell: bash -l {0} # required to load conda I think
run: |
python -m pip install .
cd docs
make html
setup:
name: setup
runs-on: ubuntu-latest
Expand Down
18 changes: 18 additions & 0 deletions docs/content/api-reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,14 @@ Variable
.. autoclass:: pyflow.Edit


GeneratedVariable
~~~~~~~~~~~~~~~~~

.. _GeneratedVariable:

.. autoclass:: pyflow.GeneratedVariable


.. _Trigger:

Trigger
Expand Down Expand Up @@ -104,6 +112,16 @@ Defstatus

.. autoclass:: pyflow.Defstatus

Aviso
~~~~~~~~~

.. autoclass:: pyflow.Aviso

Mirror
~~~~~~~~~

.. autoclass:: pyflow.Mirror


Time Dependencies
~~~~~~~~~~~~~~~~~
Expand Down
1 change: 1 addition & 0 deletions docs/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ dependencies:
- requests
- pytest
- pygraphviz
- pandoc
- pip:
- ipykernel
- nbsphinx
Expand Down
1 change: 1 addition & 0 deletions pyflow/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
Defstatus,
Edit,
Event,
GeneratedVariable,
InLimit,
Inlimit,
Label,
Expand Down

0 comments on commit c5259ef

Please sign in to comment.