Commit Graph

29 Commits

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

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: Idae29b3be9edde2038711d537668514bb2c34946
2020-05-21 20:24:51 +02:00
Ghanshyam Mann fd80c72e93 Fix hacking min version to 3.0.1
flake8 new release 3.8.0 added new checks and gate pep8
job start failing. hacking 3.0.1 fix the pinning of flake8 to
avoid bringing in a new version with new checks.

Though it is fixed in latest hacking but 2.0 and 3.0 has cap for
flake8 as <4.0.0 which mean flake8 new version 3.9.0 can also
break the pep8 job if new check are added.

To avoid similar gate break in future, we need to bump the hacking min
version.

- http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014828.html

Change-Id: Ibab4c82d93dbebd20449e4ed7da82f42c3374438
2020-05-12 19:31:14 -05:00
Andreas Jaeger 9ce57f3f39 Cleanup py27 support
This repo is now testing only with Python 3, so let's make
a few cleanups:
- Remove obsolete sections from setup.cfg
- Remove babel.cfg, this is not needed here at all
- Update requirements, no need for python_version anymore
- Switch to using sphinx-build
- Use newer openstackdocstheme and Sphinx versions
- Cleanup */source/conf.py to remove now obsolete content.
- Remove install_command from tox.ini, the default is fine
- Use TOX_CONSTRAINTS_FILE, UPPER_CONSTRAINTS_FILE is obsolete

Change-Id: If3228ad42346d6f405e0c6b6580ecd48a7511525
2020-05-09 16:45:25 +02:00
Andreas Jaeger 32a0068bda Update to hacking 3.0
Hacking 3.0 was just released with minor changes, update to the new
version.

Change-Id: I7ba72db93abb7bdef0a2c696959b734135b2da80
2020-03-30 17:43:43 +02:00
Andreas Jaeger 6fc8c9f785 Update hacking for Python3
The repo is Python 3 now, so update hacking to version 2.0 which
supports Python 3.

Fix problems found.

Change-Id: I4cebf81b32bdf285f0d412255984c176140329be
2020-03-28 12:30:53 +01:00
Ghanshyam Mann 75fb547bdb [ussuri][goal] Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

murano-pkg-check is ready with python 3 and ok to drop the
python 2.7 support.

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: I7b85365d357e37a10b501a8687fe86ded4b98095
2019-11-16 15:50:32 +00:00
zhurong d5110a306b Fix sphinx requirements
Change-Id: Ibd2a7d730c5ef3ab95829a56c6166f4830842c61
2019-05-28 19:51:02 +08:00
Zuul 9d07f5b20a Merge "Switch to using stestr" 2018-07-26 09:35:59 +00:00
zhurong 6e13d60c57 Switch to using stestr
Depends-On: https://review.openstack.org/#/c/585960/
Change-Id: I290e3eb9c6f7eebf785e58a5b00f09198f7783a7
2018-07-26 06:13:45 +00:00
zhurong 738fd4de43 Fix requirements-check job sphinx version
Change-Id: I69c43720c355716e7c060e36feffbd5f4fa72248
2018-07-26 13:50:51 +08:00
OpenStack Proposal Bot 44261c7df9 Updated from global requirements
Change-Id: Id70c8c3b6ad610c904ed739567c56ce5230c38a8
2018-03-15 07:15:10 +00:00
OpenStack Proposal Bot cb3d11dd94 Updated from global requirements
Change-Id: I861e0ae96e4e97f4de3c5fd39a14437f9ed9358b
2018-03-13 07:02:48 +00:00
OpenStack Proposal Bot 3320fb8c09 Updated from global requirements
Change-Id: Ie6893093095c511689800cfcae587008c1c1d368
2018-03-10 13:23:37 +00:00
OpenStack Proposal Bot db2a234a30 Updated from global requirements
Change-Id: I52c4348b5d41e4624ac367dcf1165f78640bc7c6
2018-01-24 01:04:21 +00:00
OpenStack Proposal Bot f1538bd774 Updated from global requirements
Change-Id: I6fff01c9275827e63bee969b08975ccd9e39a315
2018-01-18 03:05:15 +00:00
OpenStack Proposal Bot 3fad9b0117 Updated from global requirements
Change-Id: I49318edb8209a9b52a982bb3ba2a76677daca897
2018-01-16 04:14:19 +00:00
OpenStack Proposal Bot 3b88b630a2 Updated from global requirements
Change-Id: I8d162b10e7ac37db2af2b8fe31dd179d0b750bfc
2017-11-16 11:11:47 +00:00
OpenStack Proposal Bot d9307a1a72 Updated from global requirements
Change-Id: I5022f41006328fa08aa157e0345ad33e7a6e8911
2017-09-21 03:42:41 +00:00
OpenStack Proposal Bot 8d655cb0d4 Updated from global requirements
Change-Id: Ic3a144052092d73a8172e7852f096555aa332a8c
2017-08-18 11:33:15 +00:00
OpenStack Proposal Bot 7e37805f6e Updated from global requirements
Change-Id: I2219a424f089bd0c3e9d73cd230f52bc8a9feb34
2017-07-27 19:12:50 +00:00
zhurong 9d558be065 switch to openstackdocstheme
Also fix warnings

Change-Id: I0ffd8140ec98233b54dacb045989c976e03db355
2017-07-07 15:54:45 +03:00
OpenStack Proposal Bot 818420c091 Updated from global requirements
Change-Id: I8bf772130599405267827d3f08425357a7c3e986
2017-06-27 12:13:29 +00:00
OpenStack Proposal Bot fdee3c0cf6 Updated from global requirements
Change-Id: I09d34b5406989aca7285a0b80afd58b1a9d42b0c
2017-06-02 21:58:38 +00:00
OpenStack Proposal Bot 938c4dcea8 Updated from global requirements
Change-Id: Ie30b22bb6e07c3207e2d7a2cf291786998ee1270
2017-05-17 03:50:45 +00:00
OpenStack Proposal Bot 312aa5da89 Updated from global requirements
Change-Id: I9b44a4a68817a3a928b6acddf571fcf45d330ab9
2017-05-15 00:47:16 +00:00
OpenStack Proposal Bot 2a63cbd632 Updated from global requirements
Change-Id: I48d80c492dc2a5cc88ccdf60c9078a7649bb572b
2017-02-10 05:51:44 +00:00
OpenStack Proposal Bot db0b27be07 Updated from global requirements
Change-Id: I3143ce3bcfdc3412be97ec0773be0d0941193814
2016-11-02 15:33:52 +00:00
OpenStack Proposal Bot 554a9edced Updated from global requirements
Change-Id: Id97f25b86a69afd02860888c690be6c4dcddb0aa
2016-09-29 13:29:11 +00:00
sslypushenko 0a97def364 Commit project structure
Based on cookiecutter project template

Change-Id: Iabedcc77d1d915fcee4769e1bb67db69d375b6cb
2016-08-22 16:46:38 +03:00