From 38b0de021ce7355f3db540ae1979d880df71e18c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ciar=C3=A1n=20Ainsworth?= Date: Tue, 26 Apr 2022 13:19:40 +0200 Subject: [PATCH] add example import --- .../administrator_documentation/manage_script/reference.md | 7 +++++++ docs/conf.py | 1 + 2 files changed, 8 insertions(+) create mode 100644 docs/administrator_documentation/manage_script/reference.md diff --git a/docs/administrator_documentation/manage_script/reference.md b/docs/administrator_documentation/manage_script/reference.md new file mode 100644 index 000000000..c420031b1 --- /dev/null +++ b/docs/administrator_documentation/manage_script/reference.md @@ -0,0 +1,7 @@ +# Management script reference + +```{eval-rst} + +.. automethod:: cli.users.create + +``` diff --git a/docs/conf.py b/docs/conf.py index 96b9d0347..16deb5dcb 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -24,6 +24,7 @@ import subprocess sys.path.insert(0, os.path.abspath("../api")) sys.path.insert(0, os.path.abspath("../api/config")) +sys.path.append(os.path.abspath("../api/funkwhale_api/cli")) import funkwhale_api # NOQA