Skip to content

Commit 30c117e

Browse files
tristanlatrLecrisUTmauvilsa
authored
Update CI (#93)
--------- Co-authored-by: Cristian Le <[email protected]> Co-authored-by: Mauricio Villegas <[email protected]>
1 parent 275c4e7 commit 30c117e

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

.github/workflows/apidocs.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,14 @@ jobs:
88

99
steps:
1010
- 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
1313
with:
14-
python-version: 3.8
14+
python-version: 3.12
1515

1616
- name: Install requirements for documentation generation
1717
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]
2019
2120
- name: Generate API documentation with pydoctor
2221
run: |
@@ -30,12 +29,12 @@ jobs:
3029
--html-output=./apidocs \
3130
--project-base-dir="." \
3231
--docformat=restructuredtext \
33-
--system-class=docstring_parser.tests._pydoctor.HidesTestsPydoctorSystem \
32+
--privacy="HIDDEN:docstring_parser.tests" \
3433
--intersphinx=https://docs.python.org/3/objects.inv \
3534
./docstring_parser
3635
3736
- name: Push API documentation to Github Pages
38-
uses: peaceiris/actions-gh-pages@v3
37+
uses: peaceiris/actions-gh-pages@v4
3938
with:
4039
github_token: ${{ secrets.GITHUB_TOKEN }}
4140
publish_dir: ./apidocs

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ test = [
4040
"pytest",
4141
]
4242
docs = [
43-
"pydoctor >= 22.3.0",
43+
"pydoctor >= 25.4.0",
4444
]
4545
dev = [
4646
"docstring_parser[test]",

0 commit comments

Comments
 (0)