14 Commits

Author SHA1 Message Date
Dmitriy Rabotyagov
cf66cd365c 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: I6f3bdb6e63986bb25371f09c6c468dc055fd3050
2022-05-30 16:01:40 +02:00
Jonathan Rosser
ac2fbfb52a Fix linter errors
Change-Id: I140b92dc6ccee3023d2a8965af768bd1c6488c5d
2020-10-02 07:51:23 +01:00
Andreas Jaeger
dd2f2406d9 Use newer openstackdocstheme and reno versions
The sync from https://review.opendev.org/733244 updated to
openstackdocstheme 2.2.1 and reno 3.1.0 versions.

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: I0cc73a4e714f8b533b5c1381124141c3d07d47d1
2020-06-03 20:02:19 +02:00
Andreas Jaeger
292beedfce 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: Ie089410c6ef26c6beb38179730afe641503c0eb9
2020-05-20 18:50:25 +02:00
melissaml
300d0d1d69 Cleanup py27 support
This repo is now testing only with Python 3, so let's make
a few cleanups:
- Remove python 2.7 stanza from setup.py
- Remove obsolete sections from setup.cfg
- Cleanup doc/source/conf.py to remove now obsolete content.

Change-Id: I467df391b180a2988cf4f7b82a6ea1a4cd4fd4dd
2020-04-14 16:42:34 +08:00
Dmitriy Rabotyagov
283a6c0181 PDF Documentation Build tox target
This patch adds a `pdf-docs` tox target that will build
PDF versions of our docs. As per the Train community goal:

  https://governance.openstack.org/tc/goals/selected/train/pdf-doc-generation.html

Add sphinxcontrib-svg2pdfconverter to doc/requirements.txt
to convert our SVGs.

Change-Id: I6f3b5967ad906632d325b002b510e3fa96aac227
Story: 2006105
2019-10-18 17:18:44 +03:00
Mohammed Naser
597127e60c 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: Icff6572a313994a0ded6260563ef3a09631c3af3
2019-04-04 04:52:26 +00:00
Jean-Philippe Evrard
c60ebb7f5c Update upgrade role for Queens from P
This changes the a-r-r with the proper version, and fixes
the repo path for role upgrades:

The role will, during test-upgrade-pre, have its current branch
checked out, and will deploy the current branch infrastructure,
including the generation of the constraints.

Then, the installation of previous branch of the role will use
the constraints for its previous version, but will have no
constraints for it, and fail.

We need to generate the constraints for the previous version too.
This should do it.

This patch also implements an initial set of jobs intended to
match the current job execution method. It does not intend to
improve how the jobs are executed - only to replicate what is
currently in openstack-infra/openstack-zuul-jobs and provide
the platform to iterate on.

Co-Authored-By: Jean-Philippe Evrard <jean-philippe.evrard@rackspace.co.uk>
Depends-On: I0391ec310c4eede436011a48490e3c524c8ddf4d
Change-Id: Ib35253ed9020ed27280329891509292b5b463d6c
2017-10-19 14:45:31 +00:00
ZhongShengping
fe528783f9 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: Iea2bbb38ca17318c9325433522f5e8b9985d76f6
2017-07-03 16:20:59 +08:00
Cao Xuan Hoang
5b624d6cea Use https instead of http for git.openstack.org
Trivialfix

Change-Id: Ic1f293e0c3bcbce3fd5c7179b1564079fe42f05d
2017-02-06 16:28:44 +07:00
Jean-Philippe Evrard
dd0cbb483e 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: I72aa08325d56cf2849e98f22250d0c6e4ace3ac8
2016-12-01 14:43:59 +00:00
Nish Patwa
cd3958714c [DOCS] Added release-name as a watermark to Docs.
Added a water mark to the role documentation
to make clear to deployers which release they're
working with.

Modified conf.py that adds watermark to the documentation according
to particular branch. If the current branch is master than
watermark is 'Pre-release' and if the current branch is
stable/<release-name> than watermark is <release-name>.

This is a combined implementation based on the following
patches:
- https://review.openstack.org/372565
- https://review.openstack.org/382637
- https://review.openstack.org/384140

Change-Id: I64a622a64485814799e7633e00575153f3f527a7
2016-10-18 17:05:03 +00:00
Jesse Pretorius
601c49bdeb Update sphinx configuration
This patch updates the sphinx configuration for docs and releasenotes
to make it easier to replicate across repositories and to comply with
pep8 testing without exceptions.

Change-Id: Ida2a6c468bbf379f937296aa73c95e25be0b4da6
2016-07-12 16:53:47 +01:00
Kevin Carter
f379c6abd4 Implement base configuration for independent repository
Change-Id: I91826d92a1c4bf30a9be77d538ffaa45b3bf7c8e
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2016-03-02 00:07:37 +00:00