Skip to content

Commit ed6eb16

Browse files
authored
python setup.py checkdocs (#376)
* 💚 check docs in setup.py * 📚 fix readme * ✨ add pygement packages to setup docs check * 📚 update docs and release 0.7.3
1 parent a1a43ba commit ed6eb16

File tree

9 files changed

+29
-13
lines changed

9 files changed

+29
-13
lines changed

.moban.cd/changelog.yml

+6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
name: moban
22
organisation: moremoban
33
releases:
4+
- changes:
5+
- action: Added
6+
details:
7+
- "Added continuous check in travis for setup.py descriptions. No impact to moban user."
8+
date: 2.5.2020
9+
version: 0.7.3
410
- changes:
511
- action: Added
612
details:

.moban.cd/moban.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ organisation: moremoban
44
author: C. W.
55
66
license: MIT
7-
version: 0.7.2
8-
current_version: 0.7.2
9-
release: 0.7.2
7+
version: 0.7.3
8+
current_version: 0.7.3
9+
release: 0.7.3
1010
branch: master
1111
master: index
1212
command_line_interface: "moban"

CHANGELOG.rst

+8
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
Change log
22
================================================================================
33

4+
0.7.3 - 2.5.2020
5+
--------------------------------------------------------------------------------
6+
7+
**Added**
8+
9+
#. Added continuous check in travis for setup.py descriptions. No impact to
10+
moban user.
11+
412
0.7.2 - 1.5.2020
513
--------------------------------------------------------------------------------
614

README.rst

+2-3
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,8 @@ organisation.
5656

5757
And here is a list of other usages:
5858

59-
1. `Django Mobans <https://github.com/django-mobans>`_, templates for django, docker etc.
60-
1. `Math Sheets <https://github.com/chfw/math-sheets>`_, generate custom math sheets
61-
in pdf
59+
#. `Django Mobans <https://github.com/django-mobans>`_, templates for django, docker etc.
60+
#. `Math Sheets <https://github.com/chfw/math-sheets>`_, generate custom math sheets in pdf
6261

6362

6463
Vision

docs/conf.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@
2525
copyright = '2017-2020 Onni Software Ltd.'
2626
author = 'C. W.'
2727
# The short X.Y version
28-
version = '0.7.2'
28+
version = '0.7.3'
2929
# The full version, including alpha/beta/rc tags
30-
release = '0.7.2'
30+
release = '0.7.3'
3131

3232
# -- General configuration ---------------------------------------------------
3333

lint.sh

+1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
flake8 --max-line-length=88 --exclude=.moban.d,docs --ignore=W503,W504
2+
python setup.py checkdocs

moban/_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
__version__ = "0.7.2"
1+
__version__ = "0.7.3"
22
__author__ = "C. W."

setup.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141

4242
NAME = "moban"
4343
AUTHOR = "C. W."
44-
VERSION = "0.7.2"
44+
VERSION = "0.7.3"
4545
4646
LICENSE = "MIT"
4747
ENTRY_POINTS = {
@@ -53,7 +53,7 @@
5353
"General purpose static text generator"
5454
)
5555
URL = "https://github.com/moremoban/moban"
56-
DOWNLOAD_URL = "%s/archive/0.7.2.tar.gz" % URL
56+
DOWNLOAD_URL = "%s/archive/0.7.3.tar.gz" % URL
5757
FILES = ["README.rst", "CONTRIBUTORS.rst", "CHANGELOG.rst"]
5858
KEYWORDS = [
5959
"python",
@@ -97,8 +97,8 @@
9797
}
9898
# You do not need to read beyond this line
9999
PUBLISH_COMMAND = "{0} setup.py sdist bdist_wheel upload -r pypi".format(sys.executable)
100-
GS_COMMAND = ("gs moban v0.7.2 " +
101-
"Find 0.7.2 in changelog for more details")
100+
GS_COMMAND = ("gs moban v0.7.3 " +
101+
"Find 0.7.3 in changelog for more details")
102102
NO_GS_MESSAGE = ("Automatic github release is disabled. " +
103103
"Please install gease to enable it.")
104104
UPLOAD_FAILED_MSG = (

tests/requirements.txt

+2
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,5 @@ pypifs
1616
gitfs2
1717
jinja2-python-version>=1.1.2
1818
httpfs
19+
collective.checkdocs
20+
Pygments

0 commit comments

Comments
 (0)