Centralize sphinx extensions

We had sphinx extensions in multiple locations. This centralized them
under the doc/source tree.

Change-Id: Ieda73fb4b51ed78409423c41eaddacda199abddc
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
This commit is contained in:
Sean McGinnis 2018-11-01 15:10:57 -05:00
parent cd020d7076
commit 87f495c7d7
No known key found for this signature in database
GPG Key ID: CE7EE4BFAF8D70C8
2 changed files with 3 additions and 3 deletions

View File

@ -160,7 +160,7 @@ class DeliverableDirectiveBase(rst.Directive):
]
for category in self._CATEGORY_ORDER:
if category not in by_category:
LOG.info('[sphinxext] No %r for %s', category,
LOG.info('[deliverables] No %r for %s', category,
(self.team_name, series))
continue
self._add_deliverables(
@ -432,7 +432,7 @@ class HighlightsDirective(rst.Directive):
if not series:
raise self.error('series value must be set to a valid cycle name.')
LOG.info('[series-highlights] gathering highlights for {}'.format(
LOG.info('[highlights] gathering highlights for {}'.format(
series))
result = ViewList()

View File

@ -18,7 +18,7 @@ sys.path.insert(0, os.path.join(os.path.abspath('.'), '_exts'))
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
extensions = [
'openstack_releases.sphinxext',
'deliverables',
'sphinxcontrib.datatemplates',
'ics',
]