File tree Expand file tree Collapse file tree 2 files changed +7
-8
lines changed Expand file tree Collapse file tree 2 files changed +7
-8
lines changed Original file line number Diff line number Diff line change 8
8
9
9
steps :
10
10
- uses : actions/checkout@master
11
- - name : Set up Python 3.8
12
- uses : actions/setup-python@v2
11
+ - name : Set up Python 3.12
12
+ uses : actions/setup-python@v5
13
13
with :
14
- python-version : 3.8
14
+ python-version : 3.12
15
15
16
16
- name : Install requirements for documentation generation
17
17
run : |
18
- python -m pip install --upgrade pip setuptools wheel
19
- python -m pip install pytest pydoctor>=22.3.0 .
18
+ python -m pip install .[docs]
20
19
21
20
- name : Generate API documentation with pydoctor
22
21
run : |
@@ -30,12 +29,12 @@ jobs:
30
29
--html-output=./apidocs \
31
30
--project-base-dir="." \
32
31
--docformat=restructuredtext \
33
- --system-class= docstring_parser.tests._pydoctor.HidesTestsPydoctorSystem \
32
+ --privacy="HIDDEN: docstring_parser.tests" \
34
33
--intersphinx=https://docs.python.org/3/objects.inv \
35
34
./docstring_parser
36
35
37
36
- name : Push API documentation to Github Pages
38
- uses : peaceiris/actions-gh-pages@v3
37
+ uses : peaceiris/actions-gh-pages@v4
39
38
with :
40
39
github_token : ${{ secrets.GITHUB_TOKEN }}
41
40
publish_dir : ./apidocs
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ test = [
40
40
" pytest" ,
41
41
]
42
42
docs = [
43
- " pydoctor >= 22.3 .0" ,
43
+ " pydoctor >= 25.4 .0" ,
44
44
]
45
45
dev = [
46
46
" docstring_parser[test]" ,
You can’t perform that action at this time.
0 commit comments