-
Notifications
You must be signed in to change notification settings - Fork 10
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
sphinx.util.compat.Directive
class is deprecated
#2
Comments
Same issue! |
I got around the issue by updating the import: index 5fbf9e3..62afb5c 100644
--- a/foundation_sphinx_theme/__init__.py
+++ b/foundation_sphinx_theme/__init__.py
@@ -1,7 +1,7 @@
import os
import re
-from sphinx.util.compat import Directive
+from docutils.parsers.rst import Directive
HTML_THEME_PATH = [os.path.abspath(os.path.join(os.path.dirname(__file__), Also, I got it running with:
Then go see the working documentation page in your browser: file:///C:/Users/danie/Documents/GitHub/foundation-sphinx-theme/sample-project/build/html/index.html |
Same issue! |
this needs to be fixed. @peterhudec |
Please refer to #3 for the fix. @peterhudec |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi! First of all, thanks a lot for your awesome theme!
Unfortunately, as said in the title: now you get an error when building the documentation in readthedocs.org:
since
sphinx.util.compat.Directive
is now deprecated: it has becomedocutils.parsers.rst.Directive
(http://www.sphinx-doc.org/en/master/extdev/index.html#deprecated-apis). Would it be possible to fix this?Thanks in advance!
The text was updated successfully, but these errors were encountered: