File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
{{cookiecutter.project_slug}} Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -152,13 +152,14 @@ lint = "task ruff-check && task ruff-format"
152152doc-serve = " pdoc ./{{cookiecutter.package_name}} --host localhost --port 8080"
153153doc-build = " pdoc ./{{cookiecutter.package_name}} -o docs/api --search"
154154doc-publish = """ \
155- git checkout gh-pages || git checkout -b gh-pages && \
155+ task doc-build && \
156+ git checkout gh-pages 2>/dev/null || git checkout -b gh-pages && \
156157git rm -rf . && \
157158cp -r docs/api/* . && \
158159git add -A && \
159160git commit -m "Publish API documentation" && \
160161git push origin gh-pages --force && \
161- git checkout - """
162+ git checkout main """
162163mut-report = """
163164 uv run cosmic-ray new-config mut.toml && \
164165 uv run cosmic-ray init mut.toml mut.sqlite && \
You can’t perform that action at this time.
0 commit comments