File tree Expand file tree Collapse file tree 3 files changed +6
-14
lines changed Expand file tree Collapse file tree 3 files changed +6
-14
lines changed Original file line number Diff line number Diff line change 1414 python-version : ["3.11"]
1515
1616 steps :
17- - uses : actions/checkout@v3
17+ - uses : actions/checkout@v4
1818 - name : Python${{ matrix.python-version }}
19- uses : actions/setup-python@v4
19+ uses : actions/setup-python@v5
2020 with :
2121 python-version : ${{ matrix.python-version }}
2222 - name : Install
2525 python -m pip install poetry
2626 - name : Render
2727 run : |
28- make prepare_for_docs
28+ poetry run sphinx-build doc/source doc/build
2929 - name : Deploy
3030 uses : peaceiris/actions-gh-pages@v3
3131 with :
32+ publish_branch : gh-pages
3233 github_token : ${{ secrets.GITHUB_TOKEN }}
33- publish_dir : ./doc/build_gh_pages
34+ publish_dir : ./doc/build
35+ force_orphan : true
Original file line number Diff line number Diff line change @@ -162,15 +162,6 @@ prepare_for_pypi: clean setup
162162 # ci-publish-to-pypi.yml github action
163163 poetry build --format=sdist
164164
165- prepare_for_docs : clean setup
166- # documentation man pages
167- poetry run make -C doc man
168- # documentation github pages, the actual publishing via
169- # the ci-publish-pages.yml github action
170- poetry run bash -c ' pushd doc && \
171- travis-sphinx --outdir build_gh_pages build --nowarn --source ./source'
172- bash -c ' touch ./doc/build_gh_pages/.nojekyll'
173-
174165clean : clean_git_attributes
175166 rm -rf dist
176167 rm -rf doc/build
Original file line number Diff line number Diff line change @@ -106,7 +106,6 @@ sphinx = ">=5.0.0"
106106sphinx_rtd_theme = " *"
107107sphinxcontrib-spelling = " *"
108108pyenchant = " *"
109- travis-sphinx = " *"
110109ghp-import = " *"
111110
112111[tool .poetry .group .development ]
You can’t perform that action at this time.
0 commit comments