Skip to content

Commit c1ccf24

Browse files
authored
docs: Add Sphinx-based Python doc to the user doc (#5306)
1 parent 35f13d9 commit c1ccf24

File tree

3 files changed

+192
-1
lines changed

3 files changed

+192
-1
lines changed

.github/workflows/documentation.yml

+8
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,14 @@ jobs:
149149
cd $MKDOCS_DIR
150150
mkdocs build
151151
152+
- name: Build Sphinx documentation
153+
run: |
154+
pip install sphinx
155+
cd grass
156+
make sphinxdoclib
157+
ARCH="$(grass --config arch)"
158+
mv -v dist.$ARCH/docs/html/libpython $MKDOCS_DIR/site
159+
152160
- name: Make logs available
153161
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
154162
with:

0 commit comments

Comments
 (0)