The mock third party library was needed for mock support in py2
runtimes. Since we now only support py36 and later, we can use the
standard lib unittest.mock module instead.
Change-Id: Ia50cc4538bf4e148f3870dafb414109d4ca9ccc1
Switch to openstackdocstheme 2.2.1 and reno 3.1.0 versions. Using
these versions will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems
Update Sphinx version as well.
Disable openstackdocs_auto_name to use 'project' variable as name.
Change pygments_style to 'native' since old theme version always used
'native' and the theme now respects the setting and using 'sphinx' can
lead to some strange rendering.
Remove docs requirements from lower-constraints, they are not needed
during install or test but only for docs building.
openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.
See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html
Change-Id: I064ba67b95e217426e687b5e3055cc4e5288fb5d
1. Sync sphinx dependency with global requirements. It caps python 2 since
sphinx 2.0 no longer supports Python 2.7.
2. Remove unncessary "=="
Change-Id: I84ac4c0d6ae587ab10dade675a943a3670e078e8
Dependency for mox3 is fully removed. So this patch removes mox3
dependency from doc/requirements.txt
This should be cherry-picked into stable/rocky branch.
Change-Id: I7643c2a4647aa76f4feba9fbe762a019d002aac0
Horizon test setting no longer depends on nose and related stuffs.
This commit cleans up nose related dependencies.
The change was made in horizon Rocky-3,
so horizon 14.0.0.0b3 is required at least.
Also drops unnecessary Django dependencies. There is no need to
install Django explicitly as it is a horizon dependency.
Change-Id: I4c27c5a330976637b43831b6748465c518926bb5
doc/source/conf.py has a custom logic which prepare index files
for autodoc, but now pbr and sphinx autodoc have a feature to do it
and it is not a good idea to keep the custom logic.
Change-Id: I99fceb0af1de0bd0f2c8aa25da232a4d63154cda
As part of the docs migration work[0] for Pike we need to switch to use
the openstackdocstheme.
[0]https://review.openstack.org/#/c/472275/
Change-Id: I3b45cd7c2136a9ca9015bd533c0f04bcb9633807
Starting in Django 1.7, standalone scripts, such as a sphinx build
require that django.setup() be called first. See:
https://docs.djangoproject.com/en/1.8/releases/1.7/#standalone-scripts
It does not always necessary, but it is needed to avoid warnings
when creating autoindex.
Note that horizon no longer generates the autoindex to avoid warnings.
Add warning-is-error sphinx setting to avoid doc build warnings.
Change-Id: I1a2e2cfd6f2d976aa5aeaeb999a2f40804488c48
There were two Release notes information: doc/source/releases and
releasenotes (by reno). There is no need to have two different way.
It is not a good idea to have too much contents in the top page
document. Installation stuff is split into a separate page.
Title level of index.rst was inconsistent.
_static and _templates directories in releasenotes/source
are unnecessary. Also version info is set in release notes.
Change-Id: I717964f0dc219d50037f2616e500053f769dc1d0
os.popen() is deprecated since python 2.6.
Resolved with use of subprocess module.
Change-Id: I1f06fb713b25c42f975e525711afaf2cf4a58a5a
Closes-Bug: #1529836
There's no RST file that uses ".. math" and thus
the pngmath Sphinx extension is not used and can
get removed.
Change-Id: I3ea4b529025c8ac3c4092f3720124647861e6668
We should be using the openstack test settings instead of the zaqar test
settings, which does not exist at the moment and is causing the gate checks
to fail.
Change-Id: I5c82a52d24fb579957aa6b020c2a4915024e3519
1. Re-enabled the check-only flag for make messages. This previously did
not work because we did not have a locale file in master to revert back to.
2. Removed reduntant settings in the enabled file. The auto discovery will
take care of importing the JS files correctly.
3. Added to the documentation to include latest enabled file.
Change-Id: I8e878b60bd5951b4741171136a5e082c4007e0de
This commit adds the zaqar base and an empty queues panel.
Subsequent patches will add api and content to the queues panel.
Co-Authored-By: Fei Long Wang <flwang@catalyst.net.nz>
Co-Authored-By: Rob Cresswell <rcresswe@cisco.com>
Co-Authored-By: Thai Tran <tqtran@us.ibm.com>
Change-Id: I1f4873d1e36c677956534266de41d80a01c8cd9d