13 Commits

Author SHA1 Message Date
songwenping
c7845314f5 Remove unicode from code
In python 3, all strings are considered as unicode string.

This patch drops the explicit unicode literal (u'...')
or (u"..") appearances from the unicode strings.

Change-Id: I64af1c7c7415cd4ab99b6a913fb84fecbc0a3bf1
2021-04-02 08:49:22 +00:00
melissaml
217eebd0bf Fix pygments style
New theme of docs respects pygments_style.

more info: http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html

Change-Id: I4fbc5fc613e6eb64997935422697477db3ebcc91
2020-06-24 10:13:45 +08:00
Andreas Jaeger
0fbce17220 Switch to newer openstackdocstheme and reno versions
Switch to openstackdocstheme 2.2.0 and reno 3.1.0 versions. Using
these versions will allow especially:
* Linking from HTML to PDF document
* parallelizing building of documents

Update Sphinx version as well.

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.

Depends-On: https://review.opendev.org/728938
Change-Id: Ia31f69f00eb24771bf700b4e25ae73a09c1c8aed
2020-05-18 19:34:29 +02:00
pengyuesheng
e740d39d04 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: Ia656e992e86293339521627acc892f81f7bd6a0b
2019-09-16 02:08:48 +00:00
Andreas Jaeger
a12e8daff8 Remove setting of version/release from releasenotes
Release notes are version independent, so remove version/release
values. We've found that projects now require the service package
to be installed in order to build release notes, and this is entirely
due to the current convention of pulling in the version information.

Release notes should not need installation in order to build, so this
unnecessary version setting needs to be removed.

This is needed for new release notes publishing, see
I56909152975f731a9d2c21b2825b972195e48ee8 and the discussion starting
at
http://lists.openstack.org/pipermail/openstack-dev/2017-November/124480.html
.

Change-Id: I87a073ba9d61a4817aff0c57cd31c143a2c16259
2017-11-16 22:30:56 +01:00
Jenkins
5415c8ee83 Merge "[Doc] Remove html_use_smartypants config in doc" 2017-09-03 12:26:56 +00:00
bhavani.cr
29b2230828 Switch from oslosphinx to openstackdocstheme
To use openstackdocstheme 1.11.0 properly, this patch fixes
some settings according to follow.
https://docs.openstack.org/openstackdocstheme/latest/

Change-Id: I07652e3a086a650ab9f08f6da7ddf0e8145b2969
2017-07-04 11:01:33 +00:00
Masayuki Igawa
5febd73a50
[Doc] Remove html_use_smartypants config in doc
This commit removes 'html_use_smartypants' config in the doc conf.py.
The config option is already deprecated. And we don't need it in the
quoted double-dashes.

Change-Id: I1884abdb6bcab606879f4d90d604fdf2dee78c7d
2017-06-29 12:43:04 +09:00
Masayuki Igawa
d2a657de0e
Update document theme and section headers
This commit updates the document theme. It is clear, simple, up-to-date
and beautiful. And this commit also updates section headers to fix the
document index.

Change-Id: Ia1e8e16e5f5ddb06e4c4ccb4979b0750b88a4db4
2017-05-09 15:34:45 -04:00
yuhui_inspur
cd420fb059 Add Apache License content in .py files
Change-Id: Iebd5844dc2b999f19264daf61d4b73dc85f42111
2017-04-11 01:47:43 -07:00
Cao Xuan Hoang
3f0530b0ca Removes unnecessary utf-8 encoding
This patches removes unnecessary utf-8 encoding in
tempest/api/orchestration/stacks/test_swift_resources.py
tempest/tests/lib/test_tempest_lib.py
doc/source/conf.py
releasenotes/source/conf.py

For tempest/api/baremetal/admin/test_chassis.py
==> Still need the encoding for Non-ASCII characters in the file

Change-Id: I2e1bff1f64dfe08f40562fa51e08a8ba25c9c3ae
2017-01-04 09:12:29 +07:00
Andreas Jaeger
5043f86287 Enable release notes translation
Releasenote translation publishing is being prepared. 'locale_dirs'
needs to be defined in conf.py to generate translated version of the
release notes.

Note that this repository might not get translated release notes - or
no translations at all - but we add the entry here nevertheless to
prepare for it.

Change-Id: I428d583eb3f3bbced321348e2a71035fbb282806
2016-10-06 20:54:54 +02:00
Andrea Frittoli (andreaf)
897ecfb602 Add reno to tempest
Tempest is going to be on pypi and expose a stable interface in
the tempest.lib namespace, so adding reno to it.

Partially-implements: bp tempest-lib-reintegration
Change-Id: Ice4c27f7bc6d0154cfced9789f3c82236106a9e3
2016-02-24 11:31:32 -05:00