fix rst errors

This commit is contained in:
Manuel Barkhau 2018-09-04 19:56:57 +02:00
parent f85481670e
commit b3c2dc03eb

View file

@ -58,7 +58,7 @@ format: ``v{calendar_version}.{build_number}[-{release_tag}]``
Some examples: Some examples:
.. code-block:: .. code-block:
v201711.0001-alpha v201711.0001-alpha
v201712.0027-beta v201712.0027-beta
@ -288,10 +288,6 @@ not be included in your patterns.
A further restriction is, that a version string cannot span A further restriction is, that a version string cannot span
multiple lines in your source file. multiple lines in your source file.
Pattern Search and Replacement
------------------------------
Now we can call ``pycalver bump`` to bump all occurrences of Now we can call ``pycalver bump`` to bump all occurrences of
version strings in these files. Normally this will change local version strings in these files. Normally this will change local
files, but the ``--dry`` flag will instead display a diff of the files, but the ``--dry`` flag will instead display a diff of the
@ -573,6 +569,8 @@ from pkg_resources import parse_version
The Life of a Library The Life of a Library
--------------------- ---------------------
.. code-block:
mylib v201711.001-alpha # birth of a project (in alpha) mylib v201711.001-alpha # birth of a project (in alpha)
mylib v201711.002-alpha # new features (in alpha) mylib v201711.002-alpha # new features (in alpha)
mylib v201712.003-beta # bugfix release (in beta) mylib v201712.003-beta # bugfix release (in beta)
@ -601,6 +599,7 @@ mylib2 v203202.16052 # stable release
v202008.508 # zero padding is added only after the turnover to v202008.508 # zero padding is added only after the turnover to
v202009.0509 # a new month, so that lexical ordering is preserved. v202009.0509 # a new month, so that lexical ordering is preserved.
The date portion of the version, gives the user an indication of The date portion of the version, gives the user an indication of
how up their dependency is, whether or not a project is still how up their dependency is, whether or not a project is still
being maintained. being maintained.