Commit Graph

19 Commits

Author SHA1 Message Date
Dmitriy Rabotyagov 87a65ffaf9 Switch sphinx language to en
With sphinx release of 5.0.0, they changed default for language variable
to 'en' from None. With that current None valuable is not valid and should
not be used.


Change-Id: I3fc1dd06c176c7004974b9cd989208f4ba7a37f2
2022-05-30 16:01:49 +02:00
Andreas Jaeger d89297c2d6 Switch to newer openstackdocstheme and reno versions
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.

Set openstackdocs_pdf_link to link to PDF file. Note that
the link to the published document only works on docs.openstack.org
where the PDF file is placed in the top-level html directory. The
site-preview places the PDF in a pdf directory.

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: Iaf0ccf47069546ecd3c6931b6fa5dd9fd830ef3a
2020-06-03 17:56:19 +02:00
Andreas Jaeger d5828455ad Update docstheme for style
New version of openstackdocstheme (Victoria+) respects pygments_style.
Since this repo is using now Victoria (master) requirements but has
not branched for Ussuri yet, it uses the new version.

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.

Change-Id: Id592108e606eb1c5771836fd93237050e4759c87
2020-05-20 18:53:37 +02:00
Jonathan Rosser 2c53811d09 Update openstackdocstheme to 2.0.0
This has been committed to some OSA repos without using the proposal
bot so will be reverted on future runs of the bot. Update the
synchronised file to ensure that there is consistency across all roles.

Change-Id: I70f8218c8add371d35d97f3337765cf170461128
2020-05-11 11:54:43 +01:00
Andreas Jaeger 3bca43ceae Cleanup py27 support
Make a few cleanups:
- Remove python 2.7 stanza from setup.py
- Remove obsolete sections from setup.cfg
- Update requirements, no need for python_version anymore
- Cleanup doc/source/conf.py to remove now obsolete content.
- Use newer openstackdocstheme version
- Cleanup tox.ini for Python 3 only

Change-Id: I9d63e63cf142fded002f7212588266d88f41dd06
2020-04-10 12:34:59 +02:00
Jonathan Rosser e190a56a58 [ussuri][goal] Updates for python 2.7 drop
OpenStack is dropping the py2.7 support in ussuri cycle.

openstack-ansible repos need few updates on requirements
and tox file.

Complete discussion & schedule can be found in
- http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html
- https://etherpad.openstack.org/p/drop-python2-support

Ussuri Communtiy-wide goal:
https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html

Change-Id: I189f3b9fda7f7c612cad8b1eb429d6e64bc32f38
2020-03-01 13:43:37 +00:00
sonpn13 c96edc7975 PDF Documentation Build tox target
Change-Id: I6f24c663ae188f36f7ac33ea57d175af501bbfd6
Signed-off-by: sonpn13 <sonpn13@viettel.com.vn>
Story: 2006105
Task: 35339
2019-11-01 15:11:41 +02:00
pengyuesheng 07b736f407 Bump the openstackdocstheme extension to 1.20
Some options are now automatically configured by the version 1.20:
- project
- html_last_updated_fmt
- latex_engine
- latex_elements
- version
- release

Change-Id: Iac130cf465b44a730193547bab4da626cce59e5c
2019-07-29 11:17:02 +08:00
Mohammed Naser 4302911523 sync: fix documentation config
doc8 seems to be complaining with the length of the string in the
requirements file.  This patch fixes that and it also updates the
in-repo file so that it gets tested by doc8 as well.

Change-Id: I42613d58ae23db99e3ae7c7d89a9dd865baaba5b
2019-07-19 14:44:14 -04:00
zhangboye f1bb5726b2 Cap sphinx for py2 to match global requirements
Change-Id: Ie187a3e22a38a3b54b88cc8ae71bd5f7f25a08f7
2019-06-06 18:12:01 +08:00
Dmitriy Rabotjagov 3bf45d57cb Replace git.openstack.org with opendev.org
This patch replaces git.openstack.org with opendev.org as redirection
from old path was enabled.

Change-Id: I8a070e0aded59dd7a4751218bd95bc23d153c6d3
2019-05-08 19:49:28 +03:00
Mohammed Naser bc5fd28340 docs: drop sphinxmark
sphinxmark is no longer compatible with the latest release of Sphinx
which is causing all of our documentation jobs to fail.  This patch
removes it as our current usage of openstacktheme for documentation
already provides watermarks for current branch and notices for which
branch the documentation covers.

Change-Id: I1037ed595a88503b231f0d9b98c143c1814403ab
2019-04-04 08:55:12 +00:00
OpenStack Proposal Bot 9a4aad0544 Updated from global requirements
Change-Id: I9036ebdd94803118c1257e2a5ee0b6383f137cc7
2018-03-15 07:42:10 +00:00
ZhongShengping 2816f8db75 Follow the new PTI for document build
For compliance with the Project Testing Interface as described in:
https://governance.openstack.org/tc/reference/project-testing-interface.html

For more detials information, please refer to:
http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html

Change-Id: I15d31277284596eec7f3066d2be477a6e27c54e9
2018-03-11 07:09:23 +00:00
luke.li 3c525f3f90 Update docs config for linters
Change-Id: I7326fe596a12bf2f24d4e03c7398437bc0bdfbbb
2017-11-02 17:06:46 +08:00
ZhongShengping 6c9d03571a Fix openstackdocstheme settings
To use openstackdocstheme 1.11.0 properly, this patch fixes
some settings according to follow[0].

[0]https://docs.openstack.org/openstackdocstheme/latest/

Change-Id: Ib0c2c90dfd245f5cc99b09cc7bc3cdff1b491106
2017-07-03 16:28:21 +08:00
ji-xuepeng a1ecf66286 Use https instead of http for git.openstack.org
Trivialfix

Change-Id: I06d3ca867d6a7ab9276f3e4362f5fa63aa6e4155
2017-02-06 23:21:46 +08:00
Jean-Philippe Evrard 19c4aea3e8 Point roles docs bugs to openstack-ansible LP
Currently when clicking on the small bug in the roles'
docs, we land on openstack-manuals launchpad.

This should solve it.

Change-Id: I82671efeb4cb01b18c98e7d3543fa016acfad765
2016-12-01 13:59:15 +00:00
Jean-Philippe Evrard 64e65750cd Introduced all the scaffolding for test repo
- gitignore to avoid bad files
- git review to enable git review/gerrit integration
- Vagrantfile like the other repos, but not useful (yet!)
- dummy inventory file
- setup.* files because docs use pbr
- requirements files
- tox.ini for test launcher to match openstack standards
- scaffolded docs and release notes for gates to pass

Change-Id: Iaf78c8fd3c2138e1d7d4384fb83c90cb7ddd6d10
2016-08-12 14:50:07 +00:00