Skip to content

Commit 8eb1266

Browse files
committed
docs(build): no longer commit sample_html
1 parent 1a8b3fa commit 8eb1266

4 files changed

Lines changed: 6 additions & 9 deletions

File tree

‎.gitignore‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ tests/actual
4646
# Stuff in the doc directory.
4747
doc/_build
4848
doc/_spell
49+
doc/sample_html
4950
doc/sample_html_beta
5051

5152
# Build intermediaries.

‎Makefile‎

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ clean: debug_clean _clean_platform #- Remove artifacts of test execution, instal
5858
@rm -f .tox/*/lib/*/site-packages/a0_metacov.pth
5959
@rm -f */.coverage */*/.coverage */*/*/.coverage */*/*/*/.coverage */*/*/*/*/.coverage */*/*/*/*/*/.coverage
6060
@rm -f tests/covmain.zip tests/zipmods.zip tests/zip1.zip
61-
@rm -rf doc/_build doc/_spell doc/sample_html_beta
61+
@rm -rf doc/_build doc/_spell doc/sample_html doc/sample_html_beta
6262
@rm -rf tmp
6363
@rm -rf a1_coverage.pth
6464
@rm -rf .*cache */.*cache */*/.*cache */*/*/.*cache .hypothesis
@@ -208,7 +208,7 @@ sample_html_beta: _sample_cog_html #- Generate sample HTML report for a beta rel
208208

209209
### Kitting: making releases
210210

211-
.PHONY: release_version edit_for_release cheats relbranch relcommit1 relcommit2
211+
.PHONY: release_version edit_for_release cheats relbranch relcommit1
212212
.PHONY: kit pypi_upload test_upload build_kits update_rtd
213213
.PHONY: _check_github_auth download_kits
214214
.PHONY: tag bump_version
@@ -231,10 +231,6 @@ relbranch: # Create the branch for releasing (see howto.txt).
231231
relcommit1: # Commit the first release changes (see howto.txt).
232232
git commit -am "docs: prep for $$(python setup.py --version)"
233233

234-
relcommit2: # Commit the latest sample HTML report (see howto.txt).
235-
git add doc/sample_html
236-
git commit -am "docs: sample HTML for $$(python setup.py --version)"
237-
238234
kit: #- Make a source distribution and some wheels.
239235
@# Makes sdist and binary wheel for current Python version and platform:
240236
python -m build

‎howto.txt‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@
3535
$ make relcommit1
3636
- Generate new sample_html to get the latest, incl footer version number:
3737
- IF PRE-RELEASE:
38-
$ make sample_html_beta relcommit2 install
38+
$ make sample_html_beta install
3939
- IF NOT PRE-RELEASE:
40-
$ make sample_html relcommit2 install
40+
$ make sample_html install
4141
- Build and publish docs:
4242
- IF PRE-RELEASE:
4343
$ make publishbeta

‎tox.ini‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ commands =
109109
python -m cogapp -cP --check --check-fail-msg='run `make workflows`' --verbosity=1 .github/workflows/*.yml
110110
ruff format --check
111111
python -m pylint -j 0 --notes= --ignore-paths 'doc/_build/.*' {env:LINTABLE}
112-
check-manifest --ignore "doc/sample_html/*,a1_coverage.pth"
112+
check-manifest --ignore "a1_coverage.pth"
113113
actionlint -ignore SC2129
114114
python -m build -qq
115115
twine check dist/*

0 commit comments

Comments
 (0)