Commit Graph

23 Commits

Author SHA1 Message Date
Stephen Finucane fcf44fcfb5 Remove six
There were only two small users. No need to keep the library around for
those.

Change-Id: Iad5d845b46852ce74962a134c8d250142f29c8e3
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2021-10-21 10:14:26 +01:00
Stephen Finucane 42053b1f92 Drop support for Sphinx < 4.x
Our tests are broken due to changes introduced by Sphinx 4.0 and thus
require some adaptation. Rather than introduce more logic into tests to
handle older versions, simply drop support for older versions of Sphinx.

Change-Id: I2e8ff5cc2e6b4703d7f767fc95b6766d727d8577
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2021-10-21 10:14:22 +01:00
Andreas Jaeger ca0db9d33e 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: Ifbefda50c728a1abf7599489677bfd9efc26e045
2020-06-02 13:35:48 +02:00
OpenStack Proposal Bot 6483fe226a Updated from global requirements
Change-Id: Iba54d76dc737f0d0935ec20f07bbdc11f99e5920
2018-03-15 07:43:12 +00:00
OpenStack Proposal Bot 40ec412800 Updated from global requirements
Change-Id: I9fe39d8e2896a57e5b55dda02d396d0b32ae55ad
2018-03-04 10:20:53 +00:00
OpenStack Proposal Bot 4698943363 Updated from global requirements
Change-Id: Ic35681282b4611428b927394d02d24ced0ee0c28
2018-01-24 01:22:46 +00:00
OpenStack Proposal Bot cb41558e53 Updated from global requirements
Change-Id: I2f379094f66d85a7394ae7e1f30f82d444e5ec98
2018-01-18 03:20:44 +00:00
OpenStack Proposal Bot 165608b546 Updated from global requirements
Change-Id: Ic30151bd6b817adc01ca9ed1492f7060ec4daae8
2017-11-16 11:19:44 +00:00
OpenStack Proposal Bot 604294427e Updated from global requirements
Change-Id: I07ada0916c6b4b1d4eb705e41e19f2369febcd84
2017-09-13 12:59:56 +00:00
OpenStack Proposal Bot 199b7b38ee Updated from global requirements
Change-Id: Ia72b20f09855fceb00842de50d907bf8e0f2a421
2017-05-17 03:55:58 +00:00
OpenStack Proposal Bot 01c4c9719b
Updated from global requirements
Change-Id: I265dc12ea83f23620bedba986fa13685b2ee9203
2017-05-16 17:32:32 +01:00
OpenStack Proposal Bot d66cb0fe62 Updated from global requirements
Change-Id: Ibbee70196b276c77a65239b5306b9959428450cd
2017-03-03 00:02:21 +00:00
OpenStack Proposal Bot 55a4ed4a70 Updated from global requirements
Change-Id: Ia2f7e97914659c43f7718c74aa19dbee293d12cb
2017-02-10 05:57:02 +00:00
Jenkins a01f103f24 Merge "Import httplib from six to support Python 3" 2017-01-31 16:49:14 +00:00
OpenStack Proposal Bot 88243c1a6d Updated from global requirements
Change-Id: I09f50b8f02944c3b584eb6d50b6b777a65a71105
2017-01-13 18:50:03 +00:00
Yuval Brik 8aaa668262 Import httplib from six to support Python 3
In Python 3, httplib moved to http.client.
Use six in order to import the correct library on both Python 2 and
Python 3.

Change-Id: I6f43faf453809eed3f2e88fd587e941c80204793
Closes-Bug: #1623447
2016-11-06 16:12:55 +02:00
OpenStack Proposal Bot f694119d39 Updated from global requirements
Change-Id: I40c90da5ecc00fc01cf7c18848d03ffef49244ab
2016-11-01 13:33:36 +00:00
Dirk Mueller 533589ccd0 Sync with global-requirements
We currently have a pending conflict over the Sphinx version in g-r,
so sync with g-r manually. Overall I would suggest that this project
should follow g-r

Change-Id: I0bf1af38945ba3e52098a925ea31f6f1dc3f3fbd
2016-09-29 17:06:28 +02:00
Graham Hayes 916db5d19b openstackdocstheme integration
changes the output to be compatible with the new
openstackdocs theme

Change-Id: I10d90ac2f702153508bc6e607ed451c089276a4d
2016-08-19 16:22:15 +01:00
Ondřej Nový 8520a4ddac Added docutils to requirements
It's used in os_api_ref/__init__.py

Change-Id: If341c703293931d07749669374e4de7de510f2eb
2016-07-16 13:46:30 +02:00
Ondřej Nový f9c23367fe Moved sphinx from test requirements to requirements
It's used in os_api_ref/__init__.py, so it's runtime dependency

Change-Id: I07212af95d04353966db5ddd73be652ec4b75d1e
2016-07-16 13:44:48 +02:00
Sean Dague 8fab9214df add first basic unit test
This creates an simple stab at a pattern for building testing for
os-api-ref. The basic theory is that we'll create a set of example
directories that are full doc trees with markup. We can then build
them and test the HTML output.

HTML output testing is done using BeautifulSoup so we can get
normalized HTML snippets regardless of whitespace and wrapping.

Change-Id: Idf582d62a4353db74b31183869f80bbf01b5d0f0
2016-05-26 06:31:51 -04:00
Sean Dague 6e03e0b62d Initial Cookiecutter Commit.
Change-Id: I28402285aaeecd4eb85415a39763b2798fcfa33c
2016-05-13 19:54:08 -04:00