From c8dfc2a81052a2e6cdf23388794c28d52fe5a187 Mon Sep 17 00:00:00 2001 From: chfw Date: Sat, 2 May 2020 08:46:07 +0100 Subject: [PATCH 1/4] :green_heart: check docs in setup.py --- lint.sh | 1 + tests/requirements.txt | 1 + 2 files changed, 2 insertions(+) diff --git a/lint.sh b/lint.sh index 08f7c655..48f447db 100644 --- a/lint.sh +++ b/lint.sh @@ -1 +1,2 @@ flake8 --max-line-length=88 --exclude=.moban.d,docs --ignore=W503,W504 +python setup.py checkdocs diff --git a/tests/requirements.txt b/tests/requirements.txt index 093c2e70..de6dde96 100644 --- a/tests/requirements.txt +++ b/tests/requirements.txt @@ -16,3 +16,4 @@ pypifs gitfs2 jinja2-python-version>=1.1.2 httpfs +collective.checkdocs From 39aecc44a3de0bfcbb5f3be74568fe69f268a759 Mon Sep 17 00:00:00 2001 From: chfw Date: Sat, 2 May 2020 08:49:41 +0100 Subject: [PATCH 2/4] :books: fix readme --- README.rst | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.rst b/README.rst index 159fea4d..0259dadf 100644 --- a/README.rst +++ b/README.rst @@ -56,9 +56,8 @@ organisation. And here is a list of other usages: -1. `Django Mobans `_, templates for django, docker etc. -1. `Math Sheets `_, generate custom math sheets - in pdf +#. `Django Mobans `_, templates for django, docker etc. +#. `Math Sheets `_, generate custom math sheets in pdf Vision From 909ff71dd338ee47aa1f86a8ae183533e676fa2a Mon Sep 17 00:00:00 2001 From: chfw Date: Sat, 2 May 2020 08:56:37 +0100 Subject: [PATCH 3/4] :sparkles: add pygement packages to setup docs check --- tests/requirements.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/requirements.txt b/tests/requirements.txt index de6dde96..a32e3b4a 100644 --- a/tests/requirements.txt +++ b/tests/requirements.txt @@ -17,3 +17,4 @@ gitfs2 jinja2-python-version>=1.1.2 httpfs collective.checkdocs +Pygments From df63655b31074533120fa262f29358b851fdfaf4 Mon Sep 17 00:00:00 2001 From: chfw Date: Sat, 2 May 2020 09:02:00 +0100 Subject: [PATCH 4/4] :books: update docs and release 0.7.3 --- .moban.cd/changelog.yml | 6 ++++++ .moban.cd/moban.yml | 6 +++--- CHANGELOG.rst | 8 ++++++++ docs/conf.py | 4 ++-- moban/_version.py | 2 +- setup.py | 8 ++++---- 6 files changed, 24 insertions(+), 10 deletions(-) diff --git a/.moban.cd/changelog.yml b/.moban.cd/changelog.yml index b0a6f2ba..f004d3b0 100644 --- a/.moban.cd/changelog.yml +++ b/.moban.cd/changelog.yml @@ -1,6 +1,12 @@ name: moban organisation: moremoban releases: + - changes: + - action: Added + details: + - "Added continuous check in travis for setup.py descriptions. No impact to moban user." + date: 2.5.2020 + version: 0.7.3 - changes: - action: Added details: diff --git a/.moban.cd/moban.yml b/.moban.cd/moban.yml index 9dfc9851..89f74ea2 100644 --- a/.moban.cd/moban.yml +++ b/.moban.cd/moban.yml @@ -4,9 +4,9 @@ organisation: moremoban author: C. W. contact: wangc_2011@hotmail.com license: MIT -version: 0.7.2 -current_version: 0.7.2 -release: 0.7.2 +version: 0.7.3 +current_version: 0.7.3 +release: 0.7.3 branch: master master: index command_line_interface: "moban" diff --git a/CHANGELOG.rst b/CHANGELOG.rst index c9e63b0a..64bedd15 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,6 +1,14 @@ Change log ================================================================================ +0.7.3 - 2.5.2020 +-------------------------------------------------------------------------------- + +**Added** + +#. Added continuous check in travis for setup.py descriptions. No impact to + moban user. + 0.7.2 - 1.5.2020 -------------------------------------------------------------------------------- diff --git a/docs/conf.py b/docs/conf.py index 4331c1ce..1d95d9d6 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -25,9 +25,9 @@ copyright = '2017-2020 Onni Software Ltd.' author = 'C. W.' # The short X.Y version -version = '0.7.2' +version = '0.7.3' # The full version, including alpha/beta/rc tags -release = '0.7.2' +release = '0.7.3' # -- General configuration --------------------------------------------------- diff --git a/moban/_version.py b/moban/_version.py index 233ef58a..b24d8ae7 100644 --- a/moban/_version.py +++ b/moban/_version.py @@ -1,2 +1,2 @@ -__version__ = "0.7.2" +__version__ = "0.7.3" __author__ = "C. W." diff --git a/setup.py b/setup.py index 5ef79b7a..d0ff92ad 100644 --- a/setup.py +++ b/setup.py @@ -41,7 +41,7 @@ NAME = "moban" AUTHOR = "C. W." -VERSION = "0.7.2" +VERSION = "0.7.3" EMAIL = "wangc_2011@hotmail.com" LICENSE = "MIT" ENTRY_POINTS = { @@ -53,7 +53,7 @@ "General purpose static text generator" ) URL = "https://github.com/moremoban/moban" -DOWNLOAD_URL = "%s/archive/0.7.2.tar.gz" % URL +DOWNLOAD_URL = "%s/archive/0.7.3.tar.gz" % URL FILES = ["README.rst", "CONTRIBUTORS.rst", "CHANGELOG.rst"] KEYWORDS = [ "python", @@ -97,8 +97,8 @@ } # You do not need to read beyond this line PUBLISH_COMMAND = "{0} setup.py sdist bdist_wheel upload -r pypi".format(sys.executable) -GS_COMMAND = ("gs moban v0.7.2 " + - "Find 0.7.2 in changelog for more details") +GS_COMMAND = ("gs moban v0.7.3 " + + "Find 0.7.3 in changelog for more details") NO_GS_MESSAGE = ("Automatic github release is disabled. " + "Please install gease to enable it.") UPLOAD_FAILED_MSG = (