Skip to content

Commit cf8f6ef

Browse files
committed
add changelog, misc docs fixes, bump to 0.1.0.post0
1 parent 0689f9a commit cf8f6ef

File tree

5 files changed

+29
-3
lines changed

5 files changed

+29
-3
lines changed

ci_exec/__init__.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,13 @@
1313
# See the License for the specific language governing permissions and #
1414
# limitations under the License. #
1515
########################################################################################
16-
"""The ``ci_exec`` package top-level namespace."""
16+
"""
17+
The ``ci_exec`` package top-level namespace.
18+
19+
Quick Reference:
20+
21+
.. coresummary::
22+
"""
1723

1824
# Import the core utilities in the ci_exec "namespace" for simpler imports.
1925
from .colorize import Ansi, Colors, Styles, colorize, log_stage
@@ -22,7 +28,7 @@
2228
from .provider import Provider
2329
from .utils import cd, merge_kwargs, set_env, unset_env
2430

25-
__version__ = "0.1.0"
31+
__version__ = "0.1.0.post0"
2632
__all__ = [
2733
# Core imports from ci_exec.colorize module.
2834
"Ansi", "Colors", "Styles", "colorize", "log_stage",

docs/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ git+https://github.com/sphinx-doc/[email protected]
44
# sphinx>=2.0.0
55
sphinx_rtd_theme
66
pytest
7+
sphinx-issues

docs/source/changelog.rst

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
Changelog
2+
========================================================================================
3+
4+
v0.1.0.post0
5+
----------------------------------------------------------------------------------------
6+
7+
- Fix support for early 3.5.x by conditionally importing ``NoReturn`` and
8+
``TYPE_CHECKING`` (:pr:`12`).
9+
10+
v0.1.0
11+
----------------------------------------------------------------------------------------
12+
13+
Initial release. Broken for python 3.5.x where ``typing`` module does not house
14+
``NoReturn`` and ``TYPE_CHECKING``. Definitely broken on 3.5.2 and earlier.

docs/source/conf.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@
5151
"sphinx.ext.autosummary",
5252
"sphinx.ext.intersphinx",
5353
"sphinx.ext.napoleon",
54-
"sphinx.ext.viewcode"
54+
"sphinx.ext.viewcode",
55+
"sphinx_issues"
5556
]
5657

5758
# Add any paths that contain templates here, relative to this directory.
@@ -85,6 +86,9 @@
8586
napoleon_google_docstring = False
8687
napoleon_numpy_docstring = True
8788

89+
# See: https://github.com/sloria/sphinx-issues
90+
issues_github_path = "svenevs/ci_exec"
91+
8892

8993
def get_all_top_level():
9094
"""Return list of fully qualified strings for ci_exec top level names."""

docs/source/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,3 +84,4 @@ Quick reference:
8484
api/root
8585
demos
8686
important_usage_notes
87+
changelog

0 commit comments

Comments
 (0)