File tree Expand file tree Collapse file tree 2 files changed +16
-7
lines changed Expand file tree Collapse file tree 2 files changed +16
-7
lines changed Original file line number Diff line number Diff line change @@ -36,17 +36,22 @@ jobs:
36
36
echo "RELEASE_VERSION=${POETRY_VERSION}" >> $GITHUB_ENV
37
37
- name : Install dependencies
38
38
run : |
39
- pip install sphinx
40
- pip install sphinx-autodoc-typehints
41
- pip install furo
39
+ poetry install
42
40
- name : Sphinx build
43
41
run : |
44
- sphinx-build docs/source _build
45
- - name : Deploy 🚀
42
+ poetry run sphinx-build docs/source _build
43
+ - name : Deploy version 🚀
46
44
uses : peaceiris/actions-gh-pages@v3
47
45
with :
48
46
github_token : ${{ secrets.GITHUB_TOKEN }}
49
47
# deploy the current public folder
50
- # to <base url>/x.y.z version subfolder
48
+ # to <base url>/v< x.y.z> version subfolder
51
49
publish_dir : ./_build
52
- destination_dir : ${{ env.RELEASE_VERSION }}
50
+ destination_dir : v${{ env.RELEASE_VERSION }}
51
+ - name : Deploy root 🚀
52
+ uses : peaceiris/actions-gh-pages@v3
53
+ with :
54
+ github_token : ${{ secrets.GITHUB_TOKEN }}
55
+ # deploy the current public folder to <base url>
56
+ publish_dir : ./_build
57
+ keep_files : true
Original file line number Diff line number Diff line change @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
4
4
The format is based on [ Keep a Changelog] ( http://keepachangelog.com/en/1.0.0/ )
5
5
and this project adheres to [ Semantic Versioning] ( http://semver.org/spec/v2.0.0.html ) .
6
6
7
+ ## [ 1.0.1] - 2022-10-26
8
+ #### Fixed
9
+ * Fix documentation workflow.
10
+
7
11
## [ 1.0.0] - 2022-10-25
8
12
#### Added
9
13
* First release.
You can’t perform that action at this time.
0 commit comments