Commit Graph

31 Commits

Author SHA1 Message Date
Dmitriy Rabotyagov eb329bfbb9 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: Iba54e7d77b51e6c70c0d7a32a3b334807d255f7c
2022-05-30 16:01:18 +02:00
Jonathan Rosser a2b8d6c759 Fix linter errors
Change-Id: Ie1760e1fb18891d59f355fce6154d183c5c621e6
2020-10-02 10:34:37 +00:00
Zuul fc6b619b73 Merge "Use newer openstackdocstheme and reno versions" 2020-06-05 11:36:04 +00:00
OpenStack Proposal Bot 887632d3f7 Updated from OpenStack Ansible Tests
Change-Id: Ie73c54495e58007d0a86d37d569d7f364d64f50b
2020-06-03 19:01:19 +00:00
Andreas Jaeger d8632d0882 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: I4e7cbb2aca8ef44e0c1859b526d2597949685f4d
2020-06-03 19:04:27 +02:00
Andreas Jaeger e530191b4d 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: I83827de22f4bca3ef3fea51f830740fa539a6114
2020-05-20 18:46:10 +02:00
OpenStack Proposal Bot d1386104bb Updated from OpenStack Ansible Tests
Change-Id: I2c889fae50f5bc426de3e3aac69276e5260c581d
2020-05-12 18:03:16 +00:00
OpenStack Proposal Bot c609bfc602 Updated from OpenStack Ansible Tests
Change-Id: I192c5b26ac1bcf8e5fdce6d2f534a4f3bf27490e
2020-05-05 13:30:57 +00:00
melissaml d6b6ec953a 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 noww
 obsolete content.

Change-Id: I7da1084c27ffbd2f085c4a1543527b72cdbf1d6b
2020-04-14 20:36:32 +08:00
OpenStack Proposal Bot a89fab0c3a Updated from OpenStack Ansible Tests
Change-Id: Ieacc1dcec0be07bc3451d904df58d8a40340accb
2020-04-13 17:46:11 +00:00
OpenStack Proposal Bot 120972662b Updated from OpenStack Ansible Tests
Change-Id: I069e0b6508e489b00fe03c83fc15385923cd6469
2019-11-21 16:33:03 +00:00
Dmitriy Rabotyagov d71b439ba2 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: I0ea6477cb62773a1c9c82e77204c9bc72255a892
Story: 2006105
2019-10-17 17:03:49 +03:00
OpenStack Proposal Bot 5ec996021c Updated from OpenStack Ansible Tests
Change-Id: I7af695c45d4a556e7695efaecb3fa1f21db405df
2019-07-30 19:36:15 +00:00
OpenStack Proposal Bot 7e5a3c952f Updated from OpenStack Ansible Tests
Change-Id: Ic3e073c34512e38c6c5c196acab10272c71db177
2019-07-20 09:28:34 +00:00
zhangboye 218fde7ae4 Cap sphinx for py2 to match global requirements
Change-Id: I97ffd949859081f3108621b4fdc59fda8b073180
2019-05-16 16:19:01 +08:00
Mohammed Naser 6e5d8f4ae0 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: I406c99fd0025b3a556db6563cf6eb2184651fb64
2019-04-04 04:51:30 +00:00
OpenStack Proposal Bot 813f36089a Updated from global requirements
Change-Id: I75d6f02050ad003a1989195b33cb931f438bf62b
2018-03-15 07:30:51 +00:00
OpenStack Proposal Bot b8ae6093f9 Updated from global requirements
Change-Id: I707038f303b135ae09d6be1bda58a462e3f3bbd8
2018-03-13 07:12:08 +00:00
OpenStack Proposal Bot 4b6859d408 Updated from global requirements
Change-Id: I8000511e735f4860ca13686b15efb4fea1b4700c
2018-03-11 13:50:21 +00:00
ZhongShengping f9ecf6d01c 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: I8abc0c6a242dd23ce5cebf5bc33dce5e007f8327
2018-03-09 12:01:25 +08:00
Jean-Philippe Evrard ad1d712889 Initial OSA zuul v3 role jobs
This patch 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.

Change-Id: If38825e721ca099fd13b51e87fcb8dbb9714c99e
2017-10-17 18:20:51 +00:00
ZhongShengping 52a9e7d958 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: I19c5a4db5773b80606750df588a09d2f4a082e56
2017-07-03 16:12:38 +08:00
gecong1973 9ff8983d00 Use https instead of http for git.openstack.org
TrivialFix

Change-Id: Ibf6aee790902ed72f039649fd6881dede645cec1
2017-02-06 10:50:45 +08:00
Andy McCrae 171d1ead65 Update repository with reference to role git location
Change-Id: I2a6772ed56948e7528a986ee4f83b76fa4ee3f68
2016-12-22 14:26:20 +00:00
Jean-Philippe Evrard d8f4e88862 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: If9ed66dc7aa780994c901eb246633152bd5b86d4
2016-12-01 14:57:37 +00:00
Nish Patwa bf42947a50 [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: If19b5d66ff0294c8c07c19eb24c3fcb51194239c
2016-10-18 17:29:28 +00:00
Robb Romans c6ddab4f31 [DOCS] Move playbook example to separate file
Change-Id: Ie37cbb4917307743ab97f001c1d1d092b3b0051b
2016-08-11 20:33:39 -05:00
Jesse Pretorius 9fd7640c1d Ensure that doc linting is included in the linters test
The 'docs' tox target executes the doc8 lint test which may result in
failures when testing documentation builds, but OpenStack-CI does not
execute that tox target.

In order to ensure that we catch all standard documentation syntax
errors and prevent them from merging, this patch includes the docs
target in the 'linters' chain of tests.

Fixes for any failures which result from executing this test are also
included in the patch.

Change-Id: Ib5efcbffee7b621c15aa252c05e0714dadc78962
2016-07-26 07:41:39 +01:00
Jesse Pretorius 22bdc2a828 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: Ie558bcb92b51916d4d06fd7345068f02f3840899
2016-07-12 16:51:22 +01:00
Travis Truman b855107bb1 Adopting the common role documentation pattern
As discussed during the Newton design summit, we
agreed to adopt the role documentation pattern laid
out in the os_keystone role

Change-Id: Ie148d8d3f24426e34780a68b2c18d18aa9f3b325
2016-06-03 12:12:23 -04:00
Kevin Carter 335b5be62c
IRR for openstack_hosts
The change moves the role out from the main repo openstack-ansible
repository and into its own standalone repository.

Items within this change:
  * The role has been updated to ensure it runs standalone.
  * Tests added to the role within tox.
  * Functional tests added to the role that can either be run
    via the run_tests.sh script or using tox.
  * dev requirements have been updated for testing usecases.
  * Docs added to both the README.rst file as well as the docs
    folder.

Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2015-11-03 02:57:54 -06:00