18 Commits

Author SHA1 Message Date
zhangboye
6b1a2f3ad4 remove unicode from code
Change-Id: If077ddfeb6bd782bb3c87264e86c998466941590
2021-01-03 16:02:15 +08:00
Maari Tamm
8b74211d76 Add initial documentation for OSC
This patch creates initial documentation for OSC, with
general plugin information and a few examples.
New commands, that are implemented, should be then
referenced in doc/source/cli/osc/v2/index.rst

Change-Id: I6fa9fcb3cf41a2992a4b5c7b38c54825106e9ce5
Partially-implements: bp openstack-client-support
2020-07-03 20:27:53 +00:00
Andreas Jaeger
1721e2871d 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.

Remove docs requirements from lower-constraints, they are not needed
during install or test but only for docs building.

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.

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.

Set openstackdocs_auto_name to use 'project' 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.

See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html

Change-Id: I1d02403727831c29f3a38cfc11949325614ac7d0
2020-05-22 17:23:00 +00:00
Andreas Jaeger
9004a32d33 Cleanup py27 support
Make a few cleanups:
- Remove python 2.7 stanza from setup.py
- Add requires on python >= 3.6 to setup.cfg so that pypi and pip
  know about the requirement
- Remove obsolete sections from setup.cfg: Wheel is not needed for python
  3 only repo
- Update requirements, no need for python_version anymore
- Remove old variables from conf.py, update openstackdocstheme
  requirement.
- Remove hacking and friends from lower-constraints, they are
  not needed in installed system.

Change-Id: I179d61545169f3d329c746c88dd4d38035d4075d
2020-04-04 11:30:07 +02:00
Tom Barron
6c6b0bd5b2 Add PDF documentation build
Add a new tox target to build PDF documentation in accord
with the community goal [0] to have PDF docs available.

Also, only show genindex and search for HTML.  These elements
do not make sense within PDF documents.

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

Change-Id: Ibbd50276c3879958b0ceb82afcc882716c01b384
2019-09-13 14:00:46 -04:00
Goutham Pacha Ravi
d146a345c7 Drop 'clidoc' from sphinx extensions
Replace it with program-output from
sphinxcontrib-programoutput

Depends-On: https://review.openstack.org/595480
Change-Id: I9b14af568996cc1aaefaeb4d94fe36163c6cbbf2
2018-08-23 19:21:34 -07:00
Jenkins
5ec71a315e Merge "doc migration: openstackdocstheme completion" 2017-08-26 04:28:06 +00:00
junboli
767cfa6723 Add license to doc/source/conf.py
TrivialFix

Change-Id: I80f4c5373997077e4524c4efbbe6c10c5540b7a1
2017-08-22 08:36:53 +00:00
Tom Barron
f98e4f6723 doc migration: openstackdocstheme completion
This patch completes the transition from oslosphinx
to openstackdocs theme in accord with the OpenStack
manuals project migration spec [1].

[1] https://specs.openstack.org/openstack/docs-specs/specs/pike/os-manuals-migration.html

Change-Id: I72be6303f9be77c0461eaacbc61bad8372546fb5
Partial-Bug: #1706181
Needed-By: I8964d066bb838fabbe94239ac108bff884c6ff76
Depends-On: Ia750cb049c0f53a234ea70ce1f2bbbb7a2aa9454
2017-08-21 10:32:53 -04:00
luke.li
7378896225 Switch from oslosphinx to openstackdocstheme
Use the new style of setting of openstackdocstheme according to follow.
https://docs.openstack.org/openstackdocstheme/latest/

Change-Id: I67b7082d9a21f39cb5b62b753f39dd56f81860cb
2017-07-06 16:27:45 +08:00
Stephen Finucane
2b97ead879 doc: Remove cruft from conf.py
Change-Id: Idfd0b9fe9def7792f9fda9d035fd4ce5ed2a67b9
2017-04-19 10:41:50 +01:00
melissaml
31cd7b16b1 Removes unnecessary utf-8 encoding
The following file(s) added utf-8 encoding but never used. So we can
remove them at all.

doc/source/conf.py
releasenotes/source/conf.py

Change-Id: I8ffd8ad1a9638a80696c3d0775372de5be642fbc
2017-01-05 15:07:57 +08:00
Joe Gordon
281795ef75 Drop incubating theme from docs
OpenStack has dropped the incubation notion, so labeling this as an
incubated project in the docs is confusing.

Change-Id: I9f9c70f9d6fd9156da66280183fa933f72b59d7a
2015-05-27 15:25:02 -07:00
Thomas Bechtold
4faae5a7b8 Add manila cli help output to doc
Dynamically generate the cli help output and include
it into the documentation.

Change-Id: Ib56c8b28272f955924c80f0a893de71a62fc5b49
2014-12-11 23:58:54 +01:00
Andreas Jaeger
af8a53d087 Use oslosphinx
Since manila is now an incubated project, use oslosphinx together with
the incubated theme.
Unset html_static_path since there's currently no static file and sphinx
warns otherwise.

Change-Id: Icfbf2c0ee214da870c3c711a34b6a649e9878659
2014-09-22 21:51:29 +02:00
Andreas Jaeger
9b99c92c6d Stop using intersphinx
Remove intersphinx from the docs build as it triggers network calls that
occasionally fail, and we don't really use intersphinx (links other
sphinx documents out on the internet)

This also removes the requirement for internet access during docs build.

This can cause docs jobs to fail if the project errors out on
warnings.

Change-Id: I71e941e2a639641a662a163c682eb86d51de42fb
Closes-Bug: #1368910
2014-09-13 13:13:18 +00:00
Yulia Portnova
fa125b7714 setup.py fixed 2013-09-03 14:37:34 +03:00
Ben Swartzlander
5e9ada9fc6 Initial checkin 2013-09-02 23:42:41 -04:00