summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile15
-rw-r--r--doc/cmd.rst2
-rw-r--r--doc/index.rst4
-rw-r--r--doc/install.rst4
-rw-r--r--howto.txt3
5 files changed, 17 insertions, 11 deletions
diff --git a/Makefile b/Makefile
index 1c31cd4a..9c591688 100644
--- a/Makefile
+++ b/Makefile
@@ -83,7 +83,9 @@ uninstall:
SPHINXBUILD = sphinx-build
SPHINXOPTS = -a -E doc
-WEBHOME = ~/web/stellated/pages/code/coverage
+WEBHOME = ~/web/stellated/
+WEBSAMPLE = $(WEBHOME)/files/sample_coverage_html
+WEBSAMPLEBETA = $(WEBHOME)/files/sample_coverage_html_beta
docreqs:
pip install -r doc/requirements.pip
@@ -97,10 +99,11 @@ docspell:
$(SPHINXBUILD) -b spelling $(SPHINXOPTS) doc/_spell
publish:
- rm -f $(WEBHOME)/sample_html/*.*
- cp doc/sample_html/*.* $(WEBHOME)/sample_html
+ rm -f $(WEBSAMPLE)/*.*
+ mkdir -p $(WEBSAMPLE)
+ cp doc/sample_html/*.* $(WEBSAMPLE)
publishbeta:
- rm -f $(WEBHOME)/sample_html_beta/*.*
- mkdir -p $(WEBHOME)/sample_html_beta
- cp doc/sample_html_beta/*.* $(WEBHOME)/sample_html_beta
+ rm -f $(WEBSAMPLEBETA)/*.*
+ mkdir -p $(WEBSAMPLEBETA)
+ cp doc/sample_html_beta/*.* $(WEBSAMPLEBETA)
diff --git a/doc/cmd.rst b/doc/cmd.rst
index 1070dc0a..d6de9f50 100644
--- a/doc/cmd.rst
+++ b/doc/cmd.rst
@@ -321,7 +321,7 @@ file decorated to show the status of each line.
Here's a `sample report`__.
-__ /code/coverage/sample_html/index.html
+__ http://nedbatchelder.com/files/sample_coverage_html/index.html
Lines are highlighted green for executed, red for missing, and gray for
excluded. The counts at the top of the file are buttons to turn on and off
diff --git a/doc/index.rst b/doc/index.rst
index 8efd7d64..56952c82 100644
--- a/doc/index.rst
+++ b/doc/index.rst
@@ -113,8 +113,8 @@ Getting started is easy:
`report like this one`_.
.. _coverage.py page on the Python Package Index: http://pypi.python.org/pypi/coverage
-.. _report like this: http://nedbatchelder.com/code/coverage/sample_html/index.html
-.. _report like this one: http://nedbatchelder.com/code/coverage/sample_html_beta/index.html
+.. _report like this: http://nedbatchelder.com/files/sample_coverage_html/index.html
+.. _report like this one: http://nedbatchelder.com/files/sample_coverage_html_beta/index.html
Using coverage.py
diff --git a/doc/install.rst b/doc/install.rst
index 57fd38e7..16d44478 100644
--- a/doc/install.rst
+++ b/doc/install.rst
@@ -102,7 +102,7 @@ coverage.py installed properly:
$ coverage --version
Coverage.py, version |release|.
- Documentation at https://coverage.readthedocs.org/en/|release|
+ Documentation at https://coverage.readthedocs.org/en/coverage-|release|
You can also invoke coverage.py as a module:
@@ -120,4 +120,4 @@ You can also invoke coverage.py as a module:
$ python -m coverage --version
Coverage.py, version |release|.
- Documentation at https://coverage.readthedocs.org/en/|release|
+ Documentation at https://coverage.readthedocs.org/en/coverage-|release|
diff --git a/howto.txt b/howto.txt
index e3982461..072ecfca 100644
--- a/howto.txt
+++ b/howto.txt
@@ -58,6 +58,9 @@
- Update readthedocs
- Coverage / versions
- find the latest tag in the inactive list, edit it, make it active.
+ - IF NOT BETA:
+ - visit https://readthedocs.org/dashboard/coverage/advanced/
+ - change the default version
- Update bitbucket:
- Issue tracker should get new version number in picker.
# Note: don't delete old version numbers: it marks changes on the tickets