Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecated app.info warning emitted, breaks in Sphinx 2.x #26

Closed
doctorlard opened this issue Apr 9, 2019 · 2 comments
Closed

Deprecated app.info warning emitted, breaks in Sphinx 2.x #26

doctorlard opened this issue Apr 9, 2019 · 2 comments

Comments

@doctorlard
Copy link
Contributor

doctorlard commented Apr 9, 2019

Using this theme in versions of Sphinx since about 1.5 emits the following warning:

Running Sphinx v1.8.5
sphinxjp/themes/basicstrap/directives.py:36: RemovedInSphinx20Warning:
   app.info() is now deprecated. Use sphinx.util.logging instead.

In version 2.0 and above of Sphinx, this theme does not build at all:

Running Sphinx v2.0.1
Exception occurred:
  File "sphinxjp/themes/basicstrap/directives.py", line 36, in setup
    app.info('Initializing Basicstrap theme directives')
AttributeError: 'Sphinx' object has no attribute 'info'
@doctorlard
Copy link
Contributor Author

@tell-k - any chance you can review and merge this?

@tell-k
Copy link
Owner

tell-k commented May 6, 2019

@doctorlard I've just release v0.5.0. thank you for you help!

@tell-k tell-k closed this as completed May 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants