summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/alternatives.rst2
-rw-r--r--docs/freefeatures.rst4
-rw-r--r--docs/index.rst5
-rw-r--r--docs/overview.rst2
-rw-r--r--docs/unfreefeatures.rst2
5 files changed, 8 insertions, 7 deletions
diff --git a/docs/alternatives.rst b/docs/alternatives.rst
index f55bec51..68513ff6 100644
--- a/docs/alternatives.rst
+++ b/docs/alternatives.rst
@@ -14,7 +14,7 @@ you need are sys_\ .argv (the command-line arguments) and optparse_
.. _curses: http://docs.python.org/library/curses.html#module-curses
-.. _cmd: http://docs.python.org/library/cmd.html#module-cmd
+.. _cmd: https://docs.python.org/3/library/cmd.html
The curses_ module produces applications that interact via a plaintext
terminal window, but are not limited to simple text input and output;
diff --git a/docs/freefeatures.rst b/docs/freefeatures.rst
index 43b39b29..9e739cc6 100644
--- a/docs/freefeatures.rst
+++ b/docs/freefeatures.rst
@@ -5,7 +5,9 @@ Features requiring no modifications
These features are provided "for free" to a cmd_-based application
simply by replacing ``import cmd`` with ``import cmd2 as cmd``.
-.. _cmd: http://docs.python.org/library/cmd.html#module-cmd
+.. _cmd: https://docs.python.org/3/library/cmd.html
+
+.. _scripts:
Script files
============
diff --git a/docs/index.rst b/docs/index.rst
index 94e63702..8045cd49 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -9,11 +9,10 @@ cmd2
A python package for building powerful command-line interpreter (CLI)
programs. Extends the Python Standard Library's cmd_ package.
-
+.. _cmd: https://docs.python.org/3/library/cmd.html
.. _`cmd2 project page`: https://github.com/python-cmd2/cmd2
.. _`project bug tracker`: https://github.com/python-cmd2/cmd2/issues
-.. _cmd: http://docs.python.org/library/cmd.html#module-cmd
The basic use of ``cmd2`` is identical to that of cmd_.
@@ -43,8 +42,8 @@ Resources
---------
* cmd_
-* `project bug tracker`_
* `cmd2 project page`_
+* `project bug tracker`_
* `PyCon 2010 presentation <https://github.com/python-cmd2/cmd2/blob/master/docs/pycon2010/pycon2010.rst>`_,
*Easy Command-Line Applications with cmd and cmd2*:
:doc:`slides <pycon2010/pycon2010>`,
diff --git a/docs/overview.rst b/docs/overview.rst
index 52f46fef..014da09d 100644
--- a/docs/overview.rst
+++ b/docs/overview.rst
@@ -24,4 +24,4 @@ differs from cmd_.
and issue the prompt again. At this time, cmd2 completely ignores empty lines and the base class cmd.emptyline()
method never gets called and thus the emptyline() behavior cannot be overriden.
-.. _cmd: http://docs.python.org/library/cmd.html
+.. _cmd: https://docs.python.org/3/library/cmd.html
diff --git a/docs/unfreefeatures.rst b/docs/unfreefeatures.rst
index c9149409..980a35b8 100644
--- a/docs/unfreefeatures.rst
+++ b/docs/unfreefeatures.rst
@@ -76,7 +76,7 @@ to *use* ``arg.parsed``.)
.. _sqlpython: http://pypi.python.org/pypi/sqlpython/
-.. _cmd: http://docs.python.org/library/cmd.html#module-cmd
+.. _cmd: https://docs.python.org/3/library/cmd.html
.. _pyparsing: http://pyparsing.wikispaces.com/