Skip to content

Commit

Permalink
Merge pull request #5 from UNSW-CEEM/poetry-for-docs
Browse files Browse the repository at this point in the history
Poetry for docs
  • Loading branch information
prakaa authored Jul 27, 2022
2 parents 6a5785b + 623ae4c commit ffcd164
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 59 deletions.
10 changes: 5 additions & 5 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ build:
os: ubuntu-20.04
tools:
python: "3.9"
jobs:
post_install:
- pip install poetry==1.2.0b2
- poetry config virtualenvs.create false
- poetry install --with=docs

# Build documentation in the docs/ directory with Sphinx
sphinx:
Expand All @@ -18,8 +23,3 @@ sphinx:
# If using Sphinx, optionally build your docs in additional formats such as PDFf
formats:
- pdf

# Optionally declare the Python requirements required to build your docs
python:
install:
- requirements: docs/requirements.txt
52 changes: 0 additions & 52 deletions docs/requirements.txt

This file was deleted.

4 changes: 2 additions & 2 deletions docs/source/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
## Loader

:::{note}
Use the {meth}`initialise() <nemseer.loader.Loader.initialise()>` class method to create an instance of the {class}`Loader` object, as this method assembles metadata relevant to NEMSEER cache searching.
Use the {meth}`initialise() <nemseer.loader.Loader.initialise()>` class method to create an instance of the {class}`Loader <nemseer.loader.Loader>` object, as this method assembles metadata relevant to NEMSEER cache searching.
:::

```{eval-rst}
Expand All @@ -18,7 +18,7 @@ Use the {meth}`initialise() <nemseer.loader.Loader.initialise()>` class method t
## Downloader

:::{note}
Use the {meth}`from_Loader() <nemseer.downloader.ForecastTypeDownloader.from_Loader()>` class method to create an instance of the {class}`ForecastTypeLoader` object.
Use the {meth}`from_Loader() <nemseer.downloader.ForecastTypeDownloader.from_Loader()>` class method to create an instance of the {class}`ForecastTypeLoader <nemseer.downloader.ForecastTypeDownloader>` object.
:::

```{eval-rst}
Expand Down

0 comments on commit ffcd164

Please sign in to comment.