Skip to content

Commit

Permalink
Merge pull request #440 from gipert/main
Browse files Browse the repository at this point in the history
Minor miscellaneous updates
  • Loading branch information
gipert authored Jan 14, 2023
2 parents 9ac9445 + d241161 commit b6c1efd
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 7 deletions.
12 changes: 8 additions & 4 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
<!---
Before submitting a pull request, please make sure you've read and understood the pygama developer's guide: https://pygama.readthedocs.io/en/latest/developer.html. In particular, do not forget to:
- [ ] Conform to our **coding conventions**
- [ ] Update existing or add new **tests**
- [ ] Update existing or add new **documentation**
- [ ] Address any issue reported by GitHub checks
- Conform to our coding conventions
- Update existing or add new tests
- Update existing or add new documentation
- Address any issue reported by GitHub checks
--->
1 change: 1 addition & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ build:
--private
--module-first
--force
--maxdepth 10
--output-dir docs/source/api
src/pygama
src/pygama/_version.py
Expand Down
9 changes: 7 additions & 2 deletions docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,14 @@ all: apidoc
sphinx-build -M html "$(SOURCEDIR)" "$(BUILDDIR)" -W --keep-going

apidoc: clean-apidoc
sphinx-apidoc --private --module-first --force \
sphinx-apidoc \
--private \
--module-first \
--maxdepth 10 \
--force \
--output-dir "$(SOURCEDIR)/api" \
../src/pygama ../src/pygama/_version.py
../src/pygama \
../src/pygama/_version.py

clean-apidoc:
rm -rf "$(SOURCEDIR)/api"
Expand Down
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
sys.path.append(Path("extensions").resolve().as_posix())

project = "pygama"
copyright = "2020, the LEGEND Collaboration"
copyright = "2023, the LEGEND Collaboration"
version = get_distribution("pygama").version

extensions = [
Expand Down

0 comments on commit b6c1efd

Please sign in to comment.