diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 45aec1d8..758d521e 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -10,6 +10,9 @@ on: types: - completed +permissions: + pull-requests: write + jobs: setup: runs-on: ubuntu-latest @@ -36,16 +39,3 @@ jobs: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: docs/build/ force_orphan: true - - name: Deploy to RTD - uses: actions/upload-artifact@v2 - with: - name: docs-${{ github.sha }} - path: docs/build/ - - name: Trigger RTDs build - uses: dfm/rtds-action@v1 - env: - GH_TOKEN: ${{ secrets.GH_TOKEN }} - with: - webhook_url: ${{ secrets.RTD_URL }} - webhook_token: ${{ secrets.RTD_TOKEN }} - commit_ref: ${{ github.ref }} diff --git a/docs/requirements.txt b/docs/requirements.txt index a6865d91..2f1233ac 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -2,5 +2,4 @@ autodocsumm==0.2.9 karma-sphinx-theme==0.0.8 myst-parser==0.18.1 pandas==1.5.1 -rtds-action==1.1.0 sphinxemoji==0.2.0 diff --git a/docs/source/conf.py b/docs/source/conf.py index 80626a6e..272f83db 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -28,7 +28,6 @@ "myst_parser", "sphinxemoji.sphinxemoji", "sphinx.ext.mathjax", - "rtds_action", ] autodoc_default_options = {"autosummary": True} sphinxemoji_style = "twemoji" @@ -38,13 +37,6 @@ language = "Python" -# GitHub Action Integration -rtds_action_github_repo = "kayjan/bigtree" -rtds_action_path = "../build/" -rtds_action_artifact_prefix = "docs-" -rtds_action_github_token = os.getenv("GH_TOKEN", "") -rtds_action_error_if_missing = True - # -- Options for HTML output ------------------------------------------------- # https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output