-
-
Notifications
You must be signed in to change notification settings - Fork 32
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
pytkdocs/django compatibility issues #149
Comments
I am just a beginnerI am running the same version of pytkdocs and am not having an issue. I am no expert but I do want to try to help. I had received a similar error or maybe even the same, I am not near my work station right now, but my issue was a bad plugins:
- search
- mkdocstrings:
handlers:
python:
setup_commands:
- import os
- import sys
- import django
- sys.path.insert(0, os.path.abspath('../src/'))
- os.environ.setdefault("DJANGO_SETTINGS_MODULE", "graphql_api.settings")
- django.setup() @jmcgill298 I hope that can be of some help. |
I have the same AttributeError problem, but it's on my form. |
A new Python handler is available and fixes all these |
Hi @BrayanMota, |
If someone is willing to fix this, PRs are welcome in pytkdocs! I'm reopening this and moving the issue to pytkdocs' repo. |
Please open an issue on pytkdocs instead
if this is related to Python docstrings parsing or the collection of Python objects!
Describe the bug
Having pytkdocs >= 0.12.0 causes mkdocstrings build to crash with Django projects. Installation of pytkdocs with pip installs a version of pytkdocs >= 0.12.0.
To Reproduce
Steps to reproduce the behavior:
mkdocs build
cli commandExpected behavior
I expected the docs to be built
Screenshots
Information (please complete the following information):
mkdocstrings
version: 0.16.2 (tried all since June)pytkdocs
version: 0.[12, 13, 14].0 (worked once I got to 0.11.1)Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: