diff --git a/docs/_ext/djangodocs.py b/docs/_ext/djangodocs.py
index aaad219..2a3d6d9 100644
a
|
b
|
def parse_version_directive(name, arguments, options, content, lineno,
|
83 | 83 | if content: |
84 | 84 | state.nested_parse(content, content_offset, node) |
85 | 85 | ret = ret + messages |
86 | | env.note_versionchange(node['type'], node['version'], node, lineno) |
| 86 | env.versionchanges.setdefault(node['version'], []).append( |
| 87 | (node['type'], env.temp_data['docname'], lineno, |
| 88 | env.temp_data.get('py_module'), |
| 89 | env.temp_data.get('object'), |
| 90 | node.astext())) |
87 | 91 | return ret |
88 | 92 | |
89 | 93 | |
… |
… |
def parse_django_admin_node(env, sig, signode):
|
195 | 199 | def parse_django_adminopt_node(env, sig, signode): |
196 | 200 | """A copy of sphinx.directives.CmdoptionDesc.parse_signature()""" |
197 | 201 | from sphinx import addnodes |
198 | | from sphinx.directives.desc import option_desc_re |
| 202 | from sphinx.domains.std import option_desc_re |
199 | 203 | count = 0 |
200 | 204 | firstname = '' |
201 | 205 | for m in option_desc_re.finditer(sig): |