Skip to content

Commit

Permalink
Merge pull request #59 from ecmwf/bugfix/docs
Browse files Browse the repository at this point in the history
Bugfix/docs
  • Loading branch information
corentincarton authored Oct 14, 2024
2 parents c34200d + 752bccf commit 16bdad5
Show file tree
Hide file tree
Showing 4 changed files with 33 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
8 changes: 8 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
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 16bdad5

Please sign in to comment.