1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
|
Description: Do not build the legacy 0.1x documentation
Author: Antonio Enrico Russo <aerusso@aerusso.net>
Forwarded: not-needed
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -30,8 +30,6 @@ release = open("../../textext/VERSION").
# The short X.Y version (for doc title)
version = ".".join(release.split(".")[:2])
-# Last stable 0.x release (compatible with Inkscape 0.92)
-release_0x = "0.11.1"
# -- General configuration ---------------------------------------------------
@@ -73,7 +71,7 @@ nitpicky = True
# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
# This pattern also affects html_static_path and html_extra_path.
-exclude_patterns = []
+exclude_patterns = [ 'textext_0x' ]
# The name of the Pygments (syntax highlighting) style to use.
pygments_style = None
@@ -197,10 +195,4 @@ extlinks = {
'textext_download_tgz': ('https://github.com/textext/textext/releases/download/{release}/TexText-%s-{release}.tar.gz'.format(**locals()), 'tgz-file for %s'),
'textext_download_exe': ('https://github.com/textext/textext/releases/download/{release}/TexText-%s-{release}.exe'.format(**locals()), 'exe-installer for %s'),
'textext_current_release_page': ('https://github.com/textext/textext/releases/tag/{release}#%s'.format(**locals()), 'Github %s page'),
-
- # Links to last stable release compatible with Inkscape 0.92
- 'textext_0x_download_zip': ('https://github.com/textext/textext/releases/download/{release_0x}/TexText-%s-{release_0x}.zip'.format(**locals()), 'zip-file for %s'),
- 'textext_0x_download_tgz': ('https://github.com/textext/textext/releases/download/{release_0x}/TexText-%s-{release_0x}.tar.gz'.format(**locals()), 'tgz-file for %s'),
- 'textext_0x_download_exe': ('https://github.com/textext/textext/releases/download/{release_0x}/TexText-%s-{release_0x}.exe'.format(**locals()), 'exe-installer for %s'),
- 'textext_0x_current_release_page': ('https://github.com/textext/textext/releases/tag/{release_0x}#%s'.format(**locals()),'Github %s page'),
}
--- a/docs/source/index.rst
+++ b/docs/source/index.rst
@@ -69,15 +69,6 @@ Key features
.. toctree::
- :caption: Deprecated versions
- :maxdepth: 2
- :hidden:
- :glob:
-
- textext_0x/textext_0x.rst
-
-
-.. toctree::
:caption: Credits
:maxdepth: 1
|