Skip to content

Commit

Permalink
Merge pull request #60 from astronomy-commons/delucchi/copier
Browse files Browse the repository at this point in the history
Update copier
  • Loading branch information
delucchi-cmu authored Mar 31, 2023
2 parents a2fce94 + 51c2cda commit 8328c4e
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .copier-answers.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Changes here will be overwritten by Copier
_commit: v1.3.0
_commit: v1.3.2
_src_path: gh:lincc-frameworks/python-project-template
author_email: lincc-frameworks-team@lists.lsst.org
author_name: LINCC Frameworks
Expand Down
11 changes: 11 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
repos:

# Compare the local template version to the latest remote template version
# This hook should always pass. It will print a message if the local version
# is out of date.
- repo: https://github.com/lincc-frameworks/pre-commit-hooks
rev: v0.1
hooks:
- id: check-lincc-frameworks-template-version
name: Check template version
description: Compare current template version against latest
verbose: true

# Clear output from jupyter notebooks so that only the input cells are committed.
- repo: local
hooks:
Expand Down
7 changes: 1 addition & 6 deletions docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,16 @@
# You can set these variables from the command line, and also
# from the environment for the first two.
SPHINXOPTS ?= -T -E -d _build/doctrees -D language=en
EXCLUDENB ?= -D exclude_patterns="notebooks/*"
SPHINXBUILD ?= sphinx-build
SOURCEDIR = .
BUILDDIR = ../_readthedocs/

.PHONY: help no-nb no-notebooks clean Makefile
.PHONY: help clean Makefile

# Put it first so that "make" without argument is like "make help".
help:
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

# Build all Sphinx docs locally, except the notebooks
no-nb no-notebooks:
@$(SPHINXBUILD) -M html "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(EXCLUDENB) $(O)

# Cleans up files generated by the build process
clean:
rm -r "_build/doctrees"
Expand Down

0 comments on commit 8328c4e

Please sign in to comment.