Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit d3c9f74

Browse files
slivercn2ygk
authored andcommitted
Adjust sphinx apidoc import as for version 2.0 requires (#606)
Fix to make #605 work
1 parent 27a368e commit d3c9f74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎docs/conf.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
django.setup()
2828

2929
# Auto-generate API documentation.
30-
from sphinx.apidoc import main
30+
from sphinx.ext.apidoc import main
3131
main(['sphinx-apidoc', '-e', '-T', '-M', '-f', '-o', 'apidoc', '../rest_framework_json_api'])
3232

3333
# -- General configuration ------------------------------------------------

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /