Skip to content

Commit

Permalink
Fixed mkdocstrings[python] and removed support for python 3.7 (#46)
Browse files Browse the repository at this point in the history
* Update docs build dependencies

* Update mkdocstrings version

* Removed unused custom_templates from mkdocs.yml

* Fixed module links in index.md

* Removed duplicate dependency in docs.yml

* Removed support for python 3.7
  • Loading branch information
alex-solcast authored Aug 26, 2024
1 parent a54a47d commit 7575924
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
strategy:
matrix:
os: ['ubuntu-latest', 'macos-13', 'windows-latest']
python-version: ["3.7", "3.11"]
python-version: ["3.8", "3.11"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
Expand Down
4 changes: 2 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ Available modules are
| `historic` | [solcast.historic](historic.md) |
| `forecast` | [solcast.forecast](forecast.md) |
| `tmy` | [solcast.tmy](tmy.md) |
| `pv_power_sites` | [solcast.pv_power_sites](pv_power_sites) |
| `aggregations` | [solcast.aggregations](aggregations) |
| `pv_power_sites` | [solcast.pv_power_sites](pv_power_sites.md) |
| `aggregations` | [solcast.aggregations](aggregations.md) |


## Docs
Expand Down
1 change: 0 additions & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ plugins:
- mkdocs-jupyter
- mkdocstrings:
enabled: !ENV [ ENABLE_MKDOCSTRINGS, true ]
custom_templates: templates
default_handler: python
handlers:
python:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ docs = [
"pytest",
"mkdocs",
"mkdocs-material",
"mkdocstrings[python]==0.22",
"mkdocstrings[python]==0.25",
"mkdocs-jupyter",
"kaleido"
]
Expand Down

0 comments on commit 7575924

Please sign in to comment.