Commit Graph

11 Commits

Author SHA1 Message Date
Al Bailey d4ea342b10 Fix tox-docs failing sphinx
A new version of sphinx was released May 29 2022
which requires a language setting in config otherwise
a warning (treated as error) causes the sphinx operation
to fail.

Updated the sphinx config file to correct the issue.

The sphinx behavioural change is mentioned here:
https://github.com/sphinx-doc/sphinx/issues/10062
https://github.com/sphinx-doc/sphinx/issues/10474

Partial-Bug: #1976377
Signed-off-by: Al Bailey <al.bailey@windriver.com>
Change-Id: I5c5c501e23744aa0dbaf4280ed5abcd27442f20f
2022-05-31 14:18:44 +00:00
Andreas Jaeger 58d1e5b3bf 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.

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: Iab15b05918b73ce9ba2ff0b479fdb8a0631fad42
2020-06-04 14:27:03 +02:00
Kristal Dale 7756b4cfb6 Update landing pages for docs, api-ref, and release notes:
- Use updated project name in titles/text
- Correct text for link to Storyboard (docs)
- Correct capitalization in section headings
- Correct formatting for section headings
- Update project name in link to release notes, api-ref
- Update project name in config for docs/releasenotes/api-ref

Story:2007193
Task:38348

Change-Id: I4840bfb9c17128e1883e36b8292ce325045b618a
Signed-off-by: Kristal Dale <kristal.dale@intel.com>
2020-01-21 16:38:20 -08:00
junboli 0d8610522b Fix the error links for ha docs
The storyboard and gerrit doc link are error, and git library
redirect to the correct one, this change is to correct all them.

Change-Id: Ib8ec375c3b7b144a5d46187bf2f2aa0ab81b5e82
Partial-Bug: #1835207
Signed-off-by: junboli <junbo85.li@gmail.com>
2019-07-03 09:19:24 -04:00
Kristal Dale cf8a2fffc9 Clean up and standardize landing pages
doc index.rst:
1. Update intro sentence to read as a complete sentence
2. Remove unused toctree
3. Correct heading levels (impacting side nav and correct rendering
of content)
4. Remove "Indices and Tables" section: genindex page not used,
search searches only index (not useful here)

api-ref index.rst:
1. Update intro sentence to read as a complete sentence
2. Update text around search link for consistency (move
to follow intro)
3. Add heading before toctree for consistency with other pages

releasenotes index.rst:
1. Standardize page title reST markup
2. Remove search (make consistent with other openstack release note
pages)

Story: 2004737
Task: 28801

Change-Id: I83d023c57881e03639ff6bb85b256e53f4205817
Signed-off-by: Kristal Dale <kristal.dale@intel.com>
2019-01-08 15:20:30 -08:00
Abraham Arce eb86e7e885 [Doc] openstackdocstheme starlingxdocs theme
Enable starlingxdocs theme support for:

- Documentation
- Release Notes
- API Reference

Change-Id: I37051b4bd80d87a2282f5eec65e849d8ac1e77d7
Signed-off-by: Abraham Arce <abraham.arce.moreno@intel.com>
2018-10-22 14:36:04 +00:00
Dean Troyer 3f59251726 Add api-ref and relnotes publish jobs
* Add pointers in the main doc to api-ref and releasenotes pages
* Add publish-stx-api-ref and publish-stx-releasenotes jobs
* Add search at bottom of api-ref and relnotes pages to trigger the jobs

Change-Id: I0791ab622ed187d8bdf93e5b848fa70a0d3e6c2c
Signed-off-by: Abraham Arce <abraham.arce.moreno@intel.com>
2018-10-11 08:16:45 -05:00
Dean Troyer b8a91c5ed6 Add publish job for docs
Also set the theme to alabaster until starlingxdocs is ready

Change-Id: Ie4e031c536836c558c26c8c87b09f3e04b207f83
Signed-off-by: Dean Troyer <dtroyer@gmail.com>
2018-10-06 14:14:27 -05:00
Abraham Arce a59b5954d1 [Doc] OpenStack API Reference Guide
Baseline changes to comply with OpenStack API documentation
from OpenStack Documentation Contributor Guide [0]:

- [1] How to document your OpenStack API service

[0] https://docs.openstack.org/doc-contrib-guide
[1] https://docs.openstack.org/doc-contrib-guide/api-guides.html

Story: 2002712
Task: 25749

Change-Id: I54d5637c1611c824eac3f3cb45a00559f2a28ab7
Signed-off-by: Abraham Arce <abraham.arce.moreno@intel.com>
2018-09-27 10:14:44 -07:00
Abraham Arce 6a4769ec68 [Doc] Release Notes Management
Baseline changes to comply with Release Notes Management
based in Reno [0] a release notes manager.

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

Story: 2003101
Task: 25748

Change-Id: I7d7fdfe38d6a22c0bb8195e9bc82c2df759d06c7
Signed-off-by: Abraham Arce <abraham.arce.moreno@intel.com>
2018-09-26 11:33:30 -05:00
Abraham Arce 208749ee3b [Doc] Building docs following Docs Contrib Guide
Baseline changes to comply with OpenStack Documentation
Contributor Guide [0] starting with the following sections:

- Project guide setup
  - [1] sphinx-quickstart
  - [2] doc/source/ layout
- Building documentation
  - [3] tox -e docs
- Using documentation tools
  - [4] openstackdocstheme
- Use build-openstack-docs-pti job template for docs
- Adding SPDX-License-Identifier: Apache-2.0

[0] https://docs.openstack.org/doc-contrib-guide
[1] http://www.sphinx-doc.org/en/master/usage/quickstart.html
[2] https://docs.openstack.org/doc-contrib-guide/project-guides.html
[3] https://docs.openstack.org/doc-contrib-guide/docs-builds.html
[4] https://docs.openstack.org/openstackdocstheme/

Story: 2002708
Task: 25745

Story: 2002813
Task: 25747

Change-Id: Idb2485cfc2e21e2f76d2fa24faefadbf146c4217
Signed-off-by: Abraham Arce <abraham.arce.moreno@intel.com>
2018-09-25 16:14:51 -07:00