From 8e33bed3f57c7667e132148af76fe646d837e232 Mon Sep 17 00:00:00 2001 From: Todd Leonhardt Date: Sun, 26 Jan 2020 12:57:57 -0500 Subject: Fixed broken links in Sphinx docs Also: - Added a "linkcheck" task to the invoke tasks _ Use pseudoterminals for invoke tasks with colored output so that we can see the color when using invoke --- docs/overview/alternatives.rst | 6 +++--- docs/overview/installation.rst | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'docs/overview') diff --git a/docs/overview/alternatives.rst b/docs/overview/alternatives.rst index 63977334..27b356bc 100644 --- a/docs/overview/alternatives.rst +++ b/docs/overview/alternatives.rst @@ -10,8 +10,8 @@ argparse_. .. _sys: https://docs.python.org/3/library/sys.html .. _argparse: https://docs.python.org/3/library/argparse.html -.. _docopt: https://pypi.python.org/pypi/docopt -.. _click: http://click.pocoo.org +.. _docopt: https://pypi.org/project/docopt +.. _click: https://click.palletsprojects.com The curses_ module produces applications that interact via a plaintext terminal @@ -31,7 +31,7 @@ nonetheless. Two of the most mature and full featured are: * `Python Prompt Toolkit`_ * Click_ -.. _`Python Prompt Toolkit`: https://github.com/jonathanslenders/python-prompt-toolkit +.. _`Python Prompt Toolkit`: https://github.com/prompt-toolkit/python-prompt-toolkit `Python Prompt Toolkit`_ is a library for building powerful interactive command lines and terminal applications in Python. It provides a lot of advanced diff --git a/docs/overview/installation.rst b/docs/overview/installation.rst index 2bbe52a2..d8d24ebd 100644 --- a/docs/overview/installation.rst +++ b/docs/overview/installation.rst @@ -3,9 +3,9 @@ Installation Instructions ========================= -.. _pip: https://pypi.python.org/pypi/pip -.. _setuptools: https://pypi.python.org/pypi/setuptools -.. _PyPI: https://pypi.python.org/pypi +.. _pip: https://pypi.org/project/pip +.. _setuptools: https://pypi.org/project/setuptools +.. _PyPI: https://pypi.org ``cmd2`` works on Linux, macOS, and Windows. It requires Python 3.5 or higher, pip_, and setuptools_. If you've got all that, then you can just: @@ -129,7 +129,7 @@ environment on a Mac, detailed in the following subsections. gnureadline Python module ~~~~~~~~~~~~~~~~~~~~~~~~~ -Install the `gnureadline `_ Python module which is statically linked against a specific compatible version of GNU Readline: +Install the `gnureadline `_ Python module which is statically linked against a specific compatible version of GNU Readline: .. code-block:: shell -- cgit v1.2.1