os-api-ref/os_api_ref
Stephen Finucane 1e639fd5a2 Replace 'add_stylesheet', 'add_javascript'
We currently see the following warnings when building a doc project
involving os-api-ref:

  RemovedInSphinx40Warning: The app.add_stylesheet() is deprecated.
  Please use app.add_css_file() instead.
  RemovedInSphinx40Warning: The app.add_javascript() is deprecated.
  Please use app.add_js_file() instead.

As the message would suggest, these methods were replaced by
'add_css_file' and 'add_js_file' in commits 3afc72fb [1] and f3168d98
[2], respectively. Both changes were first included in Sphinx 1.8, which
is lower than our current minimum, so there's no need to bump
requirements.

[1] https://github.com/sphinx-doc/sphinx/commit/3afc72fb
[2] https://github.com/sphinx-doc/sphinx/commit/f3168d98

Change-Id: I7f4d772adbcb9d592935b14c430ae3a62a60b6d1
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2020-12-07 11:21:31 +00:00
..
assets detail/close button, bug #1618955 2017-01-18 08:59:06 -05:00
tests Add support for Sphinx v2.1 2019-06-24 16:08:55 +01:00
__init__.py Replace 'add_stylesheet', 'add_javascript' 2020-12-07 11:21:31 +00:00
http_codes.py Update sphinx extension logging 2018-10-16 15:14:45 -05:00