Update python files for OpenDev

Update Python files for move to OpenDev.

Update openstackdocstheme also to newer version and remove
now obsolete comments.

Remove unused sections from setup.cfg.

Change-Id: I2184e381f587c2630e514e44fa9a9f3bbc4d65e2
changes/23/711323/2
Andreas Jaeger 3 years ago
parent a711d9ebb3
commit 6f67d6b0f0
  1. 21
      doc/source/conf.py
  2. 2
      requirements.txt
  3. 15
      setup.cfg
  4. 10
      setup.py

@ -24,11 +24,11 @@ todo_include_todos = True
master_doc = 'index'
# General information about the project.
project = u'OpenStack Project Infrastructure Manual'
copyright = ('%d, OpenStack Contributors.' % datetime.date.today().year)
project = u'OpenDev Manual'
copyright = ('%d, OpenDev Contributors.' % datetime.date.today().year)
# openstackdocstheme options
repository_name = 'openstack-infra/infra-manual'
repository_name = 'openstack/infra-manual'
bug_project = '721'
bug_tag = ''
@ -64,9 +64,6 @@ man_pages = []
# a list of builtin themes.
html_theme = 'openstackdocs'
# Must set this variable to include year, month, day, hours, and minutes.
html_last_updated_fmt = '%Y-%m-%d %H:%M'
# If false, no module index is generated.
html_domain_indices = False
@ -80,7 +77,7 @@ html_use_index = False
# (source start file, target name, title, author, documentclass [howto/manual]).
latex_documents = [
('index', 'Infra-manual.tex', u'Infra Manual',
u'OpenStack Contributors', 'manual'),
u'OpenDev Contributors', 'manual'),
]
@ -91,7 +88,7 @@ latex_documents = [
# dir menu entry, description, category)
texinfo_documents = [
('index', 'Infra-manual', u'Infra Manual',
u'OpenStack Contributors', 'infra-manual', 'OpenStack Project Infrastructure Manual.',
u'OpenDev Contributors', 'infra-manual', 'OpenDev Manual.',
'Miscellaneous'),
]
@ -99,7 +96,7 @@ texinfo_documents = [
# -- Options for Epub output ---------------------------------------------------
# Bibliographic Dublin Core info.
epub_title = u'OpenStack Project Infrastructure Manual'
epub_author = u'OpenStack Contributors'
epub_publisher = u'OpenStack Contributors'
epub_copyright = u'%s, OpenStack Contributors' % datetime.date.today().year
epub_title = u'OpenDev Manual'
epub_author = u'OpenDev Contributors'
epub_publisher = u'OpenDev Contributors'
epub_copyright = u'%s, OpenDev Contributors' % datetime.date.today().year

@ -2,5 +2,5 @@
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
pbr>=2.0.0,!=2.1.0 # Apache-2.0
openstackdocstheme>=1.17.0 # Apache-2.0
openstackdocstheme>=1.32.1 # Apache-2.0
sphinx>=1.6.2 # BSD

@ -1,21 +1,12 @@
[metadata]
name = infra-manual
summary = OpenStack Project Infrastructure Manual
summary = OpenDev Manual
description-file =
README.rst
author = OpenStack
author = OpenDev
author-email = openstack-infra@lists.openstack.org
home-page = http://www.openstack.org/
home-page = http://www.opendev.org/
classifier =
Intended Audience :: Developers
License :: OSI Approved :: Apache Software License
Operating System :: POSIX :: Linux
[build_sphinx]
all_files = 1
build-dir = doc/build
source-dir = doc/source
warning-is-error = 1
[wheel]
universal = 1

@ -16,14 +16,6 @@
import setuptools
# In python < 2.7.4, a lazy loading of package `pbr` will break
# setuptools if some other modules registered functions in `atexit`.
# solution from: http://bugs.python.org/issue15881#msg170215
try:
import multiprocessing # noqa
except ImportError:
pass
setuptools.setup(
setup_requires=['pbr>=1.8'],
setup_requires=['pbr>=2.0.0'],
pbr=True)

Loading…
Cancel
Save