Skip to content

Commit 0c8f029

Browse files
committed
fix
1 parent 3c5ab79 commit 0c8f029

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/docs.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ jobs:
1818
with:
1919
python-version: '3.12'
2020

21-
- name: Install documentation generator
22-
run: pip install pdoc
23-
24-
- name: Generate API documentation
25-
run: pdoc --html src/news_mcp_server --output-dir docs
21+
- name: Generate HTML docs with Sphinx
22+
run: |
23+
pip install sphinx sphinx-rtd-theme sphinx-autodoc-typehints
24+
sphinx-apidoc -o docs/source src/news_mcp_server
25+
make -C docs html
2626
2727
- name: Upload docs artifact
2828
uses: awalsh128/[email protected]

0 commit comments

Comments
 (0)