summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Van Brunt <kmvanbrunt@gmail.com>2019-12-09 21:03:31 -0500
committerKevin Van Brunt <kmvanbrunt@gmail.com>2019-12-09 21:03:31 -0500
commita4427a3a905d9e926e1ab9c57716235229247912 (patch)
tree7e612c633b9e54e35220b3690b8a5c2cd69000c3
parent9e747677a803210ad5ef5c1d5fdf01ea9c1a5ee9 (diff)
downloadcmd2-git-a4427a3a905d9e926e1ab9c57716235229247912.tar.gz
Fixed doc generation errors
-rw-r--r--CHANGELOG.md3
-rw-r--r--docs/api/utility_functions.rst8
2 files changed, 9 insertions, 2 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 41e5e7bf..79b50d49 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,7 +4,8 @@
* Enhancements
* Enabled line buffering when redirecting output to a file
* Added `align_left()`, `align_center()`, and `align_right()` to utils.py. All 3 of these functions support
- ANSI escape sequences and characters with display widths greater than 1.
+ ANSI escape sequences and characters with display widths greater than 1. They wrap `align_text()` which
+ is also in utils.py.
## 0.9.21 (November 26, 2019)
* Bug Fixes
diff --git a/docs/api/utility_functions.rst b/docs/api/utility_functions.rst
index 86fb656c..e083cafe 100644
--- a/docs/api/utility_functions.rst
+++ b/docs/api/utility_functions.rst
@@ -9,7 +9,13 @@ Utility Functions
.. autofunction:: cmd2.decorators.categorize
-.. autofunction:: cmd2.utils.center_text
+.. autofunction:: cmd2.utils.align_text
+
+.. autofunction:: cmd2.utils.align_left
+
+.. autofunction:: cmd2.utils.align_center
+
+.. autofunction:: cmd2.utils.align_right
.. autofunction:: cmd2.utils.strip_quotes