Commit Graph

27 Commits

Author SHA1 Message Date
sunxifa f469a226d6 Remove unicode to adapt to python3
Change-Id: I324d36a1e92c66556f73a839acbde425f669d2a3
2021-01-05 10:03:11 +08:00
Andreas Jaeger 27aa53d832 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.

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.

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: I7382e562d05010938377815e3dfa37c84d1d485d
2020-05-23 18:06:05 +02:00
Ajay Kumar 2fd7d6ede2 OpenStack is dropping the py2.7 support in ussuri cycle.
octavia-dashboard is ready with python 3 and ok to drop the
python 2.7 support.

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://review.opendev.org/#/c/691178/

Change-Id: I1a7a75ddb132c8e2f41f1e47d3ebca15cb86f461
2019-12-28 13:21:55 +00:00
manchandavishal b642742af0 Generate PDF documentation
Story: 2006101
Task: 35147
Change-Id: Idc1f1f76d2decf28924f6cdb3c5f0a3491bb8e59
2019-09-21 02:00:11 +00:00
pengyuesheng 28cdf7f676 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: I7c1f7a9298e6e75389aca6b485bec7b878ba1a20
2019-07-22 13:05:43 -07:00
jacky06 93cff37f20 Sync Sphinx requirement
1. Sync sphinx dependency with global requirements. It caps python 2 since
sphinx 2.0 no longer supports Python 2.7.

Change-Id: I12d4df4d87aa5b73ac78d7252b49d7db1ef20035
2019-07-22 19:58:00 +00:00
Michael Johnson 63841ad797 Update octavia-dashboard tox for stestr
This patch updates the octavia-dashboard tox environment to use stestr.

Depends-On: https://review.openstack.org/570260
Change-Id: I122cd42fea3972d2e9488a1c4239e061edb8a54b
2018-06-15 14:44:37 +08:00
Michael Johnson c1888b9faa Fix sphinx-docs job for sphinx >1.7
Upper requirements recently bumped sphinx from 1.6.5 to 1.7.4 which
breaks our docs job. This switches the apidocs build to use
sphinxcontrib.apidoc.

Change-Id: I22bfaf4debdf96d902f2158e541cd5036ec1b1dd
2018-05-15 15:03:24 -07:00
Zuul dac1952bf6 Merge "Add rbac support for octavia service apis" 2018-04-06 18:30:41 +00:00
Jacky Hu d90c3bf03a Add rbac support for octavia service apis
Co-Authored-By: Michael Johnson <johnsomor@gmail.com>
Change-Id: I6e27a5e81d9075c2ab8622c617409f0f2747f11e
2018-03-29 11:29:36 +00:00
OpenStack Proposal Bot a005e64ef0 Updated from global requirements
Change-Id: I954df3c759f7968b71eda3045ed9518608f1ad8c
2018-03-15 07:27:55 +00:00
Zuul 6c056e2228 Merge "Update docs config for storyboard bugs" 2018-02-03 21:40:48 +00:00
Zuul e3d51a6d1b Merge "Update the release notes for Queens" 2018-02-03 21:15:00 +00:00
Michael Johnson e938e10c6a Update docs config for storyboard bugs
This patch updates the docs configuration to have bugs links that take the
reporter to storyboad instead of launchpad.
It also sets the docs up for multiple versions of the documentation.

Change-Id: I1e22125708193c3d8ef43a6dd830b2d5b7a7ea42
2018-02-02 18:03:49 +00:00
Michael Johnson 199de4dc94 Update the release notes for Queens
This patch adds release notes for the work done in Queens and updates the
release notes tox environment for the new docs requirements.txt.

Change-Id: Idd6c5738d0a353244a672ff711151eb16f24d174
2018-01-29 23:28:29 -08:00
Jacky Hu 3e87f963fa Show last updated timestamp for docs
Previously it is showing as "NONE":
http://logs.openstack.org/65/537765/4/check/build-openstack-sphinx-docs \
/583bdd2/html/

Change-Id: I9cb54df207e7db772478a7f407d51be0de6b8890
2018-01-30 10:02:10 +08:00
OpenStack Proposal Bot a1f11aa497 Updated from global requirements
Change-Id: I2077cacb8503047cb19bfd6d56f66dd30d97a85d
2018-01-24 01:14:50 +00:00
Zuul 93c41cd63e Merge "Updated from global requirements" 2018-01-22 18:26:44 +00:00
Zuul 39d4f059f6 Merge "Update the installation and contributors documents" 2018-01-18 08:32:18 +00:00
OpenStack Proposal Bot 9336191f42 Updated from global requirements
Change-Id: I4e321880b4ff74518d3d69cf6a27520e08664fdd
2018-01-18 03:12:48 +00:00
Michael Johnson b5a5929838 Update the installation and contributors documents
Updates the installation documentation page to include all of the steps
required and updated the contributor.rst to have the correct bugs link to
storyboard.

Change-Id: Ie2dbb61487c1090e153dde3eccc1e27b2de5323c
2018-01-17 03:55:19 +00:00
Carlos Goncalves 9894e2ae42 Remove oslosphinx from docs
oslosphinx is obsolete and maintained up to Pike release.
openstackdocstheme is its replacement, and octavia-dashboard has
already switched to it (doc/source/conf.py:html_theme).

Change-Id: I283c24c16a40b706db3485054b7d41a158a14df3
2018-01-17 09:30:58 +08:00
OpenStack Proposal Bot d496249728 Updated from global requirements
Change-Id: Iabf3cbe8d02745e8dc9e363dd89e48a56bb3f429
2018-01-16 04:21:01 +00:00
Jacky Hu f6a5e91cb1 Updating for new sphinx docs jobs
There have been recent changes to how docs jobs are run under zuul [1].
This patch updates octavia-dashboard to be able to run under the new
zuul docs jobs.

[1] https://review.openstack.org/#/c/508694/

Change-Id: I44f7ce2538de0ce76860a3a2b477751de322ab02
2018-01-11 22:28:05 +08:00
Michael Johnson 1f0c90f3a8 Updating for octavia-dashboard
This patch updates the imported code to reflect octavia-dashboard.

More work is required to make this work with the Octavia v2 API.
This will be done in followup patches.

Change-Id: I7363105a53642d0003036cada21c5b0cc25efc1a
2017-06-22 16:20:27 +08:00
Rajiv Kumar f7eb0937c9 Added link to modindex
The documentation build does not generate any module index, thus
the link to the page has been added. The page
http://docs.openstack.org/developer/neutron-lbaas-dashboard/py-modindex.html
contains module indexes.

Change-Id: I527e7e56c2997f49fd54f337407d089b6bbf0f57
2017-01-27 09:22:25 +05:30
Doug Wiegley 648464eb8b Initial cookiecutter commit
Change-Id: I0e667a8fafc19ec15de2174b0c6f94d531d2a615
2015-08-07 15:41:49 -06:00