Skip to content

Commit dc3a403

Browse files
authored
Merge pull request #65 from SYMSCAE/doc
doc: skip Python package installation when building docs
2 parents 8bc6a29 + 33d9f7c commit dc3a403

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

‎.github/workflows/build-and-publish-docs-on-dispatch.yml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,8 @@ jobs:
1515
project: libdiffpy
1616
c_extension: true
1717
headless: false
18+
# true: install the project with `python -m pip install -e . --no-deps`.
19+
# false: skip project installation; still install dependencies and build docs.
20+
# libdiffpy is a C++ library and does not need a Python package installed for docs.
21+
install_project: false
1822
python_version: ${{ fromJSON(needs.get-python-version.outputs.latest_python_version) }}

‎.github/workflows/release-github-on-tag.yml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,8 @@ jobs:
3939
project: libdiffpy
4040
c_extension: true
4141
headless: false
42+
# true: install the project with `python -m pip install -e . --no-deps`.
43+
# false: skip project installation; still install dependencies and build docs.
44+
# libdiffpy is a C++ library and does not need a Python package installed for docs.
45+
install_project: false
4246
python_version: 0

0 commit comments

Comments
 (0)