From eb5ca9c3866d083920198972c1b84f74f5979c36 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Sun, 12 Apr 2020 19:33:23 +0200 Subject: [PATCH] Remove py27 / docs cruft This repo is using python3 for building, so remove py27 requirement. Switch to newer openstackdocstheme and remove now unneeded setup lines. Change-Id: I385dc67a0394a777a57859eca87df0681813784c --- security-guide/source/conf.py | 6 ------ security-threat-analysis/source/conf.py | 7 ------- test-requirements.txt | 5 ++--- 3 files changed, 2 insertions(+), 16 deletions(-) diff --git a/security-guide/source/conf.py b/security-guide/source/conf.py index 0d8dcca3..6a484049 100644 --- a/security-guide/source/conf.py +++ b/security-guide/source/conf.py @@ -138,12 +138,6 @@ html_theme = 'openstackdocs' # directly to the root of the documentation. # html_extra_path = [] -# If not '', a 'Last updated on:' timestamp is inserted at every page bottom, -# using the given strftime format. -# So that we can enable "log-a-bug" links from each output HTML page, this -# variable must be set to a format that includes year, month, day, hours and -# minutes. -html_last_updated_fmt = '%Y-%m-%d %H:%M' # If true, SmartyPants will be used to convert quotes and dashes to # typographically correct entities. diff --git a/security-threat-analysis/source/conf.py b/security-threat-analysis/source/conf.py index 610b7f2a..32b0f998 100644 --- a/security-threat-analysis/source/conf.py +++ b/security-threat-analysis/source/conf.py @@ -138,13 +138,6 @@ html_theme = 'openstackdocs' # directly to the root of the documentation. # html_extra_path = [] -# If not '', a 'Last updated on:' timestamp is inserted at every page bottom, -# using the given strftime format. -# So that we can enable "log-a-bug" links from each output HTML page, this -# variable must be set to a format that includes year, month, day, hours and -# minutes. -html_last_updated_fmt = '%Y-%m-%d %H:%M' - # If true, SmartyPants will be used to convert quotes and dashes to # typographically correct entities. # html_use_smartypants = True diff --git a/test-requirements.txt b/test-requirements.txt index 5386ce83..a121083c 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -4,9 +4,8 @@ doc8 # Apache-2.0 openstack-doc-tools>=2.0.0 # Apache-2.0 -sphinx!=1.6.6,!=1.6.7,>=1.6.2,<2.0.0;python_version=='2.7' # BSD -sphinx!=1.6.6,!=1.6.7,>=1.6.2;python_version>='3.4' # BSD -openstackdocstheme>=1.18.1 # Apache-2.0 +sphinx!=1.6.6,!=1.6.7,>=1.6.2' # BSD +openstackdocstheme>=1.31.2 # Apache-2.0 # For translations Babel>=2.3.4,!=2.4.0 # BSD