diff --git a/.github/workflows/sphinx.yml b/.github/workflows/sphinx.yml index 6809dfd..ae04f2b 100644 --- a/.github/workflows/sphinx.yml +++ b/.github/workflows/sphinx.yml @@ -12,11 +12,12 @@ jobs: - uses: actions/setup-python@v3 - name: Install dependencies run: | - - pip install sphinx sphinx_rtd_theme + pip install sphinx sphinx_rtd_theme poetry + poetry install - name: Sphinx build run: | cd docs + make clean make html - name: Deploy to Github Pages uses: peaceiris/actions-gh-pages@v3 @@ -24,5 +25,5 @@ jobs: with: publish_branch: gh-pages github_token: ${{ secrets.GITHUB_TOKEN }} # the default token which no need create - publish_dir: docs/build/html # the path of doc + publish_dir: docs/build/html # A source directory to deploy to GitHub Pages (the path of doc) force_orphan: true diff --git a/docs/source/conf.py b/docs/source/conf.py index cac6681..4ee9af8 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -4,8 +4,10 @@ # https://www.sphinx-doc.org/en/master/usage/configuration.html import os import sys +from pathlib import Path + sys.path.insert(0, os.path.abspath('../..')) -sys.path.insert(0, os.path.abspath('../..//pyga4')) +sys.path.insert(0, os.path.abspath('../../pyga4')) # -- Project information ----------------------------------------------------- # https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information diff --git a/poetry.lock b/poetry.lock index 1541679..061008a 100644 --- a/poetry.lock +++ b/poetry.lock @@ -126,6 +126,17 @@ ufo = ["fs (>=2.2.0,<3)"] unicode = ["unicodedata2 (>=15.0.0)"] woff = ["brotli (>=1.0.1)", "brotlicffi (>=0.8.0)", "zopfli (>=0.1.4)"] +[[package]] +name = "google-cloud" +version = "0.34.0" +description = "API Client library for Google Cloud" +optional = false +python-versions = "*" +files = [ + {file = "google-cloud-0.34.0.tar.gz", hash = "sha256:01430187cf56df10a9ba775dd547393185d4b40741db0ea5889301f8e7a9d5d3"}, + {file = "google_cloud-0.34.0-py2.py3-none-any.whl", hash = "sha256:fb1ab7b0548fe44b3d538041f0a374505b7f990d448a935ea36649c5ccab5acf"}, +] + [[package]] name = "kiwisolver" version = "1.4.5" @@ -615,4 +626,4 @@ files = [ [metadata] lock-version = "2.0" python-versions = "^3.8" -content-hash = "8be11ea9fe096ef68e1cf0bde572fc79160cbf8a778aa985c9f274378a02ef3f" +content-hash = "9986d74b1c28ea6b7a3bf6a2a619a157971b9aa2140a679405818a023c27f0dd" diff --git a/pyproject.toml b/pyproject.toml index 4ef6782..cd82932 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -13,7 +13,8 @@ matplotlib = "3.6.2" pandas = "1.5.3" protobuf = "4.24.3" pycryptodome = "3.18.0" -pyga4 = "0.1.0" +google-cloud = "^0.34.0" + [build-system] requires = ["poetry-core"]