12 Commits

Author SHA1 Message Date
Tin Lam
14cfdaf074 fix: update date
It is now 2022 and the copyright date should reflect that.

Signed-off-by: Tin Lam <tin@irrational.io>
Change-Id: Id4871590680a95527c58b8e90d5cab7479a43257
2022-04-20 00:07:31 -05:00
songwenping
dab321fced Remove unnecessary unicode prefixes
All strings are unicode by default in Python 3. No need to mark them as
such.

Change-Id: I976f4b94e8dadcb2a3a34310571c075f7da84edb
2022-04-19 15:18:10 +08:00
Tin Lam
56ed10e637 chore(doc): updates copyright years
Now that it is 2021, this patch updates the copyright date to reflect
the correct years.

Change-Id: I7ce07588d18a463dc256cb6ed87424fc55d4e2c7
Signed-off-by: Tin Lam <tin@irrational.io>
2021-02-12 05:00:12 +00:00
Andreas Jaeger
c0ce62f181 Switch to newer openstackdocstheme version
Switch to openstackdocstheme 2.2.1 version. Using
this version 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: I46021aa93e28242d0f7dc9d80f598538247a6df5
2020-05-31 20:25:52 +02:00
Andreas Jaeger
34a7533b64 Cleanup py27 support and docs
This repo is now testing only with Python 3, so let's make
a few cleanups:
- Remove obsolete sections from setup.cfg
- Update requirements, no need for python_version anymore
- Cleanup doc/source/conf.py to remove now obsolete content.
- Use newer openstackdocstheme version
- Remove install_command from tox.ini, the default is fine

Change-Id: I785318b3090d7117d74d165ba3236dc239cf9ea1
2020-04-11 15:35:01 +02:00
Andreas Jaeger
1d5dfa2468 Update docs building
The repo used both openstackdocstheme and oslosphinx in requirements but
then configured openstackdocstheme, remove oslosphinx everywhere.

Instead of using sphinx-build, use  docstheme-build-translated.sh to
build English and translated documents.

Update doc/source/conf.py for newer openstackdocstheme and require
a new enough version.

Remove module index - it does not exist, this is not a python repo where
autodoc works.

Remove sphinx-quickstart generated output from index.rst, it's not
needed anymore.

Change-Id: Ib3f09128226f0bcc78384b1ee2da811d62a5b59d
2019-01-05 09:22:36 +00:00
chenxing
976167a7bd Add docs bug link to storyboard
Change-Id: If6f204e5fbe5581afb54d585127145d8c2ef992d
2018-06-08 16:45:21 +08:00
Jaesuk Ahn
df2e334c9e Add sphinxcontrib-blockdig for graph drawing
Images are often powerful tool to communicate when making a doc.
This PS hopely adds sphinxcontrib-blockdig to documentation tool.
Please give me feedback if this is right way to add it.

Some examples are:
https://docs.openstack.org/infra/zuul/user/gating.html

Change-Id: I7e8d8322df4bcc651e43e28d68ea5128660c592c
2017-11-14 22:28:44 +09:00
Tin Lam
470a90f24a Update documentation
Since OSH is an official project and the documentation is published
to docs.o.o, this patch set updates the conf.py to update the theme
to be inline with other openstack projects.

Change-Id: I8e4a8d9e1d2098ef074c3d9503c5c81297f513a7
2017-11-05 17:21:53 -06:00
Arundhati Surpur
ae69ce862d Removes unnecessary utf-8 encoding
This patches removes unnecessary utf-8
encoding in doc/source/conf.py

Change-Id: I511ac4d37501d8d70369811a065dc85c61a9566b
2017-07-05 10:24:55 +05:30
Tin Lam
6b4d84b216 Fix rtd formatting
This patch set addresses readthedocs.org loading oslosphinx, which results
in some inconsistencies. It should simply use the rtd theme on the rtd
environment.

Change-Id: I35f599416d3764a2ed0961653b3ce45717335e72
2017-05-14 17:54:31 -05:00
Michał Dulko
e795466247 Beggining of docs conversion to OpenStack format
This commit introduces initial infrastructure for building documentation
using the OpenStack's sphinx extension and tox. To demonstrate that
README.md is rewritten into README.rst and should appear in
documentation built by `tox -e docs`.

Partial-Implements: blueprint docs-to-rst

Change-Id: I08ebad1c572e248a8f474e785d3bf7a19dbc4340
2017-04-27 17:04:17 +02:00