From 9e8a1a4e7689178ab4a5280f7f764173ed4076ab Mon Sep 17 00:00:00 2001 From: Hiroshi Miura Date: Sun, 10 Nov 2019 16:26:08 +0900 Subject: [PATCH] Update changelog and sphix config to use extlinks Signed-off-by: Hiroshi Miura --- CHANGELOG.rst | 28 ++++++++++++++-------------- docs/conf.py | 12 ++++++++++-- tox.ini | 1 + 3 files changed, 25 insertions(+), 16 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 9624e68f..8e863d1a 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -252,17 +252,17 @@ Fixed .. _requests: https://pypi.org/project/requests .. _argparse: https://pypi.org/project/argparse/ -.. _Unreleased: https://github.com/miurahr/qli-installer/compare/v0.5...HEAD -.. _v0.5: https://github.com/miurahr/qli-installer/compare/v0.5b2...v0.5 -.. _v0.5b2: https://github.com/miurahr/qli-installer/compare/v0.5b1...v0.5b2 -.. _v0.5b1: https://github.com/miurahr/qli-installer/compare/v0.4.3...v0.5b1 -.. _v0.4.3: https://github.com/miurahr/qli-installer/compare/v0.4.2...v0.4.3 -.. _v0.4.2: https://github.com/miurahr/qli-installer/compare/v0.4.1...v0.4.2 -.. _v0.4.1: https://github.com/miurahr/qli-installer/compare/v0.4.0...v0.4.1 -.. _v0.4.0: https://github.com/miurahr/qli-installer/compare/v0.3.1...v0.4.0 -.. _v0.3.1: https://github.com/miurahr/qli-installer/compare/v0.3.0...v0.3.1 -.. _v0.3.0: https://github.com/miurahr/qli-installer/compare/v0.2.0...v0.3.0 -.. _v0.2.0: https://github.com/miurahr/qli-installer/compare/v0.1.0...v0.2.0 -.. _v0.1.0: https://github.com/miurahr/qli-installer/compare/v0.0.2...v0.1.0 -.. _v0.0.2: https://github.com/miurahr/qli-installer/compare/v0.0.1...v0.0.2 -.. _v0.0.1: https://github.com/miurahr/qli-installer/releases/tag/v0.0.1 +.. _Unreleased: https://github.com/miurahr/aqtinstall/compare/v0.5...HEAD +.. _v0.5: https://github.com/miurahr/aqtinstall/compare/v0.5b2...v0.5 +.. _v0.5b2: https://github.com/miurahr/aqtinstall/compare/v0.5b1...v0.5b2 +.. _v0.5b1: https://github.com/miurahr/aqtinstall/compare/v0.4.3...v0.5b1 +.. _v0.4.3: https://github.com/miurahr/aqtinstall/compare/v0.4.2...v0.4.3 +.. _v0.4.2: https://github.com/miurahr/aqtinstall/compare/v0.4.1...v0.4.2 +.. _v0.4.1: https://github.com/miurahr/aqtinstall/compare/v0.4.0...v0.4.1 +.. _v0.4.0: https://github.com/miurahr/aqtinstall/compare/v0.3.1...v0.4.0 +.. _v0.3.1: https://github.com/miurahr/aqtinstall/compare/v0.3.0...v0.3.1 +.. _v0.3.0: https://github.com/miurahr/aqtinstall/compare/v0.2.0...v0.3.0 +.. _v0.2.0: https://github.com/miurahr/aqtinstall/compare/v0.1.0...v0.2.0 +.. _v0.1.0: https://github.com/miurahr/aqtinstall/compare/v0.0.2...v0.1.0 +.. _v0.0.2: https://github.com/miurahr/aqtinstall/compare/v0.0.1...v0.0.2 +.. _v0.0.1: https://github.com/miurahr/aqtinstall/releases/tag/v0.0.1 diff --git a/docs/conf.py b/docs/conf.py index 16327ff1..a74c6a8f 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -31,6 +31,7 @@ extensions = [ 'sphinx.ext.autodoc', 'sphinx.ext.coverage', + 'sphinx.ext.extlinks', ] # Add any paths that contain templates here, relative to this directory. @@ -57,9 +58,9 @@ # built documents. # # The short X.Y version. -version = u'0.3' +version = u'0.5' # The full version, including alpha/beta/rc tags. -release = u'0.3.1' +release = u'0.5b2' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. @@ -284,3 +285,10 @@ # If true, do not generate a @detailmenu in the "Top" node's menu. #texinfo_no_detailmenu = False + +#-- Options for extlink extension +extlinks = {'issue': ('https://github.com/miurahr/aqtinstall/issues/%s', + 'issue ')} + +#-- Options for linkcheck +linkcheck_ignore = [r'https://github.com/miurahr/aqtinstall/compare/.+'] diff --git a/tox.ini b/tox.ini index 6aa781be..74ab26f3 100644 --- a/tox.ini +++ b/tox.ini @@ -2,6 +2,7 @@ envlist = check, docs [testenv] +basepython = python3.6 [flake8] ignore =