Skip to content

Commit

Permalink
add changelog, misc docs fixes, bump to 0.1.0.post0
Browse files Browse the repository at this point in the history
  • Loading branch information
svenevs committed May 16, 2019
1 parent 0689f9a commit cf8f6ef
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 3 deletions.
10 changes: 8 additions & 2 deletions ci_exec/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,13 @@
# See the License for the specific language governing permissions and #
# limitations under the License. #
########################################################################################
"""The ``ci_exec`` package top-level namespace."""
"""
The ``ci_exec`` package top-level namespace.
Quick Reference:
.. coresummary::
"""

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

__version__ = "0.1.0"
__version__ = "0.1.0.post0"
__all__ = [
# Core imports from ci_exec.colorize module.
"Ansi", "Colors", "Styles", "colorize", "log_stage",
Expand Down
1 change: 1 addition & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ git+https://github.com/sphinx-doc/[email protected]
# sphinx>=2.0.0
sphinx_rtd_theme
pytest
sphinx-issues
14 changes: 14 additions & 0 deletions docs/source/changelog.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Changelog
========================================================================================

v0.1.0.post0
----------------------------------------------------------------------------------------

- Fix support for early 3.5.x by conditionally importing ``NoReturn`` and
``TYPE_CHECKING`` (:pr:`12`).

v0.1.0
----------------------------------------------------------------------------------------

Initial release. Broken for python 3.5.x where ``typing`` module does not house
``NoReturn`` and ``TYPE_CHECKING``. Definitely broken on 3.5.2 and earlier.
6 changes: 5 additions & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@
"sphinx.ext.autosummary",
"sphinx.ext.intersphinx",
"sphinx.ext.napoleon",
"sphinx.ext.viewcode"
"sphinx.ext.viewcode",
"sphinx_issues"
]

# Add any paths that contain templates here, relative to this directory.
Expand Down Expand Up @@ -85,6 +86,9 @@
napoleon_google_docstring = False
napoleon_numpy_docstring = True

# See: https://github.com/sloria/sphinx-issues
issues_github_path = "svenevs/ci_exec"


def get_all_top_level():
"""Return list of fully qualified strings for ci_exec top level names."""
Expand Down
1 change: 1 addition & 0 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -84,3 +84,4 @@ Quick reference:
api/root
demos
important_usage_notes
changelog

0 comments on commit cf8f6ef

Please sign in to comment.