some slight changes to docs
parent
416881ad6f
commit
b82aba8152
|
@ -89,6 +89,7 @@ choice. See [the full error page](errors.md) for details.
|
||||||
<br><br>
|
<br><br>
|
||||||
# Authorization
|
# Authorization
|
||||||
------
|
------
|
||||||
|
See also [the Authorization page](authorization.md).
|
||||||
## check_auth
|
## check_auth
|
||||||
|
|
||||||
**Arguments:**
|
**Arguments:**
|
||||||
|
|
|
@ -192,6 +192,7 @@ choice. See <a href="../errors/">the full error page</a> for details.</p>
|
||||||
<p><br><br></p>
|
<p><br><br></p>
|
||||||
<h1 id="authorization">Authorization</h1>
|
<h1 id="authorization">Authorization</h1>
|
||||||
<hr />
|
<hr />
|
||||||
|
<p>See also <a href="authorization.md">the Authorization page</a>.</p>
|
||||||
<h2 id="check_auth">check_auth</h2>
|
<h2 id="check_auth">check_auth</h2>
|
||||||
<p><strong>Arguments:</strong></p>
|
<p><strong>Arguments:</strong></p>
|
||||||
<ul>
|
<ul>
|
||||||
|
|
|
@ -149,5 +149,5 @@ It is fully documented on this site.</p></div>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
MkDocs version : 0.16.3
|
MkDocs version : 0.16.3
|
||||||
Build Date UTC : 2017-05-04 02:42:48
|
Build Date UTC : 2017-05-04 03:22:04
|
||||||
-->
|
-->
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -102,6 +102,13 @@ choice. See [the full error page](errors.md) for details.
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
extra = {
|
||||||
|
"Authorization": "See also [the Authorization page](authorization.md).",
|
||||||
|
"Users": "",
|
||||||
|
"Threads & Messages": "",
|
||||||
|
"Tools": ""
|
||||||
|
}
|
||||||
|
|
||||||
endpoints = [
|
endpoints = [
|
||||||
ref for name, ref in API.__dict__.items()
|
ref for name, ref in API.__dict__.items()
|
||||||
if hasattr(ref, "exposed")
|
if hasattr(ref, "exposed")
|
||||||
|
@ -116,6 +123,9 @@ for function in endpoints:
|
||||||
|
|
||||||
for doctype in sorted(types.keys()):
|
for doctype in sorted(types.keys()):
|
||||||
body += "<br><br>\n# %s\n------\n" % doctype
|
body += "<br><br>\n# %s\n------\n" % doctype
|
||||||
|
desc = extra[doctype]
|
||||||
|
if desc:
|
||||||
|
body += desc + "\n"
|
||||||
funcs = sorted(types[doctype], key=lambda _: _.__name__)
|
funcs = sorted(types[doctype], key=lambda _: _.__name__)
|
||||||
for f in funcs:
|
for f in funcs:
|
||||||
body += "## %s\n\n" % f.__name__
|
body += "## %s\n\n" % f.__name__
|
||||||
|
|
Loading…
Reference in New Issue