Commit Graph

14 Commits

Author SHA1 Message Date
Andreas Jaeger 854a1c008c 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.

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.

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: Ia039d70c66d05ee0ca64bb8e85920bc36d16831a
2020-05-23 17:50:35 +02:00
manchandavishal e4989797fb [ussuri][goal] Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

neutron-vpnass-dashboard is ready with python 3 and ok to drop the
python 2.7 support.

Also this patch update minimum tox version in tox.ini file.
Complete discussion & schedule can be found in
- http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html
- https://etherpad.openstack.org/p/drop-python2-support

Ussuri Communtiy-wide goal:
https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html

Depends-On: https://review.opendev.org/#/c/693631/

Change-Id: Iabd2e1dfb73ec03bf3ed7f8a2a6c6493f036242f
2019-11-27 08:01:39 +00:00
Andreas Jaeger 89787696b2 Change PDF file name
The previously choosen PDF file name conflicts in some repos with the
project logos (badge). Thus change https://review.opendev.org/679777
renames the desired PDF name to be doc-PROJECT.pdf to allow using the
badge in PDF files.

Follow this rename.

Change-Id: I5e3fd82455b121e99f85d050a31f399b0986a920
2019-09-04 06:56:22 +02:00
Akihiro Motoki 12f7525f89 PDF documentation build
The document is simple enough, so 'howto' is specified as
documentclass instead of 'manual' as most projects do.

Change-Id: Iea024acb205b1045369367bdbf8e800793fedd2f
Story: 2006099
Task: 35136
2019-08-27 17:45:38 +09:00
jacky06 0eabbadd3e Sync Sphinx requirement
1. Sync sphinx dependency with global requirements. It caps python 2 since
sphinx 2.0 no longer supports Python 2.7.
2. Remove unncessary "=="

Change-Id: Iac246b16befbaeabbc6e2f935a4443475d70e8ea
2019-08-11 14:03:31 +00:00
caoyuan 37dcb0f641 Replace git.openstack.org URLs with opendev.org URLs
Change-Id: Ib2a5eb220be5e3004b6aff15e1fad0bc3162ebe6
2019-04-24 13:30:12 +08:00
Akihiro Motoki f9f43f1a8f Follow the new PTI for document build
The detail is described in the following links:
https://governance.openstack.org/tc/reference/project-testing-interface.html
http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html

Our documentation build actually does not depends on Django
as we don't create source code reference.
It is a good chance to drop Django dependencies from the doc build.

Change-Id: I7323187a40dbd41848cee983a90dfcf29d74a77d
2018-05-08 07:19:13 +09:00
Cao Xuan Hoang d364f25765 Fix pep8 errors
Pep8 job is broken due to recent pep8 upgrade and corresponding
pycodestyle update.

This commit fixes the following errors:
 - E402 module level import not at top of file

Change-Id: Ibb444748d8797631394c1f4ee6176363eb69eb05
2018-04-13 14:44:55 +07:00
Akihiro Motoki d89b92a701 doc: remove symlink for releasenotes
Currently we have a symlink to releasenotes directory in doc/source,
but this confuses the infra translation script and as a result
Zanata (translation platform) has two 'releasenotes' resources
for neutron-fwaas-dashboard. We can use a direct URL in toctree,
so this commit changes the URL of releasenotes in the toctree
to avoid confusing the infra translation script.

It also simplifies the document index page. Previously we have
same strings for title and toctree. This is meaningless.
If we have more contents in future, let's revisit the structure
of the top page.

Change-Id: I9340577e9d1dc684fcd845a2fd2720eecac625f6
2018-01-28 05:27:24 +09:00
Akihiro Motoki f3d286152a Move VPN panel in the left menu lower by default
Currently VPN panel is located before "Security Groups" and "Floating
IPs". Considering the relationship between SG/FIP and Networks/Routers,
the current position of "VPN" panel is a bit confusing.

Change-Id: I640accd20933da87ae5764e3c300b5305281dd4c
Closes-Bug: #1711785
2017-08-19 05:57:29 +00:00
Akihiro Motoki dfc2257c55 Update openstackdocstheme configuration
In openstackdocstheme 0.11.0, the way to configure openstackdocstheme
was changed and the new way is really simple. Let's use it.

Change-Id: I3f8775cc54ece19915ab7b06285a0e7d2995eb8b
2017-06-28 15:26:03 +00:00
Akihiro Motoki 6a2c69be9c Prepare initial documentationn
* Adopt openstackdocstheme
* Document structure follows doc-migration spec
  https://review.openstack.org/#/c/472275/
* Release notes is generated as part of doc build to make
  doc publishing easy. neutron-vpnaas is not an official project
  and cannot publish it to docs.o.o.

Change-Id: I4fb1058fc078b32d549db3c66d91c85e0bdbe7a5
2017-06-22 17:03:08 +09:00
Akihiro Motoki ae7aefc3d2 DevStack plugin for neutron-vpnaas-dashboard
Change-Id: If7d3213e06e4a97e880fc460b69bfdc6b216c6a3
2017-06-22 03:44:54 +00:00
Akihiro Motoki 53c163513c Setup documentation build 2017-05-20 23:51:40 +00:00