Skip to content

Commit

Permalink
Fix documentation, requires tags to figure out version (#202)
Browse files Browse the repository at this point in the history
* fix: Documentation requires tags to figure out version

When checking repository, include tags history to allow figuring out
the current package version.

Check the version shown at https://nrel.github.io/sup3r/ to understand
the issue.

* Simplifying installation using optional dependencies

* Using cached PIP

* Using Py-3.10 to build documentation
  • Loading branch information
castelao committed Mar 22, 2024
1 parent 8164a58 commit 052c1ae
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/gh_pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,19 @@ jobs:
make-pages:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true
- name: select python version
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: 3.9
python-version: '3.10'
cache: 'pip'
- name: install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install .
python -m pip install sphinx
python -m pip install sphinx_rtd_theme
python -m pip install sphinx-click
python -m pip install .[doc]
- name: build documentation
run: |
cd docs
Expand Down

0 comments on commit 052c1ae

Please sign in to comment.