From 5f2bf528a98697e53b5a87453c82514e6f4cafcd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Batuhan=20Ta=C5=9Fkaya?= Date: Wed, 15 May 2019 14:32:28 +0300 Subject: [PATCH 1/2] use debian's manpage service for references --- Doc/conf.py | 4 ++++ .../Documentation/2019-05-15-14-31-40.bpo-36567.MNbyoI.rst | 1 + 2 files changed, 5 insertions(+) create mode 100644 Misc/NEWS.d/next/Documentation/2019-05-15-14-31-40.bpo-36567.MNbyoI.rst diff --git a/Doc/conf.py b/Doc/conf.py index afe66270c10e8c..f6604aa07f5f13 100644 --- a/Doc/conf.py +++ b/Doc/conf.py @@ -23,6 +23,10 @@ except ImportError: _tkinter = None ''' + +# Manpage config +manpages_url = os.getenv('MANPAGES_URL', 'https://manpages.debian.org/{path}') + # General substitutions. project = 'Python' copyright = '2001-%s, Python Software Foundation' % time.strftime('%Y') diff --git a/Misc/NEWS.d/next/Documentation/2019-05-15-14-31-40.bpo-36567.MNbyoI.rst b/Misc/NEWS.d/next/Documentation/2019-05-15-14-31-40.bpo-36567.MNbyoI.rst new file mode 100644 index 00000000000000..1a8b6af249cb41 --- /dev/null +++ b/Misc/NEWS.d/next/Documentation/2019-05-15-14-31-40.bpo-36567.MNbyoI.rst @@ -0,0 +1 @@ +Use debian's manpage service website for references. From 4677495ae90fea8980703bca5b86302bdd0540dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Batuhan=20Ta=C5=9Fkaya?= Date: Fri, 17 May 2019 03:14:02 +0300 Subject: [PATCH 2/2] Improvements --- Doc/conf.py | 3 +-- .../Documentation/2019-05-15-14-31-40.bpo-36567.MNbyoI.rst | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) delete mode 100644 Misc/NEWS.d/next/Documentation/2019-05-15-14-31-40.bpo-36567.MNbyoI.rst diff --git a/Doc/conf.py b/Doc/conf.py index f6604aa07f5f13..e85ea5b2d2ff49 100644 --- a/Doc/conf.py +++ b/Doc/conf.py @@ -24,8 +24,7 @@ _tkinter = None ''' -# Manpage config -manpages_url = os.getenv('MANPAGES_URL', 'https://manpages.debian.org/{path}') +manpages_url = 'https://manpages.debian.org/{path}' # General substitutions. project = 'Python' diff --git a/Misc/NEWS.d/next/Documentation/2019-05-15-14-31-40.bpo-36567.MNbyoI.rst b/Misc/NEWS.d/next/Documentation/2019-05-15-14-31-40.bpo-36567.MNbyoI.rst deleted file mode 100644 index 1a8b6af249cb41..00000000000000 --- a/Misc/NEWS.d/next/Documentation/2019-05-15-14-31-40.bpo-36567.MNbyoI.rst +++ /dev/null @@ -1 +0,0 @@ -Use debian's manpage service website for references.