9 Commits

Author SHA1 Message Date
shanyunfan33
0e6257606a remove unicode from code
remove unicode from code

Change-Id: Ide37b3c1f8a2e2dcdcac0a2b0631cb197eca5baf
2021-12-24 10:02:03 +08:00
Andreas Jaeger
d46228b0b3 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.

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.

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.

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

Change-Id: I780eea00c9c47f52dcc7928546fd22dec5d145b4
2020-05-20 22:06:45 +02:00
deepakmourya
9958853678 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: I63745a207ba9123b34d2323d00b22e8cbdd253dd
2017-11-17 07:19:31 +00:00
Akihiro Motoki
05b776f4ce releasenote: Specify openstackdocs as html_theme
https://review.openstack.org/#/c/480767/ forgot to specify
the correct html_theme.

Change-Id: I02e7ab3aed032260009f2c1e870cd0e9696c0e79
2017-07-06 22:33:15 +00:00
Akihiro Motoki
76f9dfe237 Switch from oslosphinx to openstackdocstheme
* Switch the release note theme to openstackdocstheme.
* Use the new style of setting of openstackdocstheme
  of the in-tree documentation.

Change-Id: I0424f097c0f5d78a539bc997e2cd61119d606524
2017-07-06 06:56:06 +09:00
yuhui_inspur
c38b206f73 [TrivialFix]Remove the file encoding which is unnecessary
Basically, the commit removes the file encoding - since jenkins is fine
with it, means it was really unnecessary and the change makes sense.

Change-Id: Id0821c9b11b9efad1836596c407566c9eb4dc11a
2017-02-11 01:07:17 +00:00
Andreas Jaeger
497e6bda90 Cleanup Newton Release Notes
Do not show versions 8.1.0 and 8.0.0 in the Newton release notes - see
http://docs.openstack.org/releasenotes/neutron/newton.html

This adds the earliest-version directive to only show the Newton release
which was 9.0.0.

Also, do not generate an index file, it is empty, see:
http://docs.openstack.org/releasenotes/neutron/genindex.html

Change-Id: I7246505a1763ac16efc6a92f6acf80a2e4a35c0e
2016-10-10 08:58:24 +02:00
Andreas Jaeger
cf7bb2fe31 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: Ic0d37f26c59aeed3a55a5b229404c1d18bf248f0
2016-10-06 20:32:37 +02:00
Kyle Mestery
271d3c1fae Add reno for release notes management
Change-Id: I0c9b6d9a0e77b57e3637260b6e73edfe78afe5ae
Signed-off-by: Kyle Mestery <mestery@mestery.com>
2015-11-04 22:27:56 +00:00