diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 926739cc..bf57f09a 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -24,14 +24,16 @@ jobs: name: github-pages url: ${{ steps.deployment.outputs.page_url }} runs-on: ubuntu-latest - container: sphinxdoc/sphinx-latexpdf:5.3.0 + container: sphinxdoc/sphinx steps: - uses: actions/checkout@v3 - name: sphinx run: | - cd docs pip install furo aiida-core + # temp fix install the package + pip install . + cd docs make html - name: upload uses: actions/upload-pages-artifact@v1 diff --git a/docs/source/conf.py b/docs/source/conf.py index 50d6555c..8c249df8 100755 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -14,6 +14,7 @@ import sys import time + from aiida import load_profile from aiida.storage.sqlite_temp import SqliteTempBackend @@ -81,6 +82,7 @@ # # The full version, including alpha/beta/rc tags. release = aiida_mlip.__version__ + # The short X.Y version. version = ".".join(release.split(".")[:2])