From b891d913f39d445881c799773263ba8aece0475a Mon Sep 17 00:00:00 2001 From: Lorenz Diener Date: Thu, 24 Nov 2016 01:17:36 +0100 Subject: [PATCH] Further attempts at making sphinx do what I want --- docs/conf.py | 1 + docs/index.rst | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index 9e39c90..86f9db8 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -3,3 +3,4 @@ import os extensions = ['sphinx.ext.autodoc'] sys.path.insert(0, os.path.abspath('../')) +sys.path.insert(0, os.path.abspath('../../')) diff --git a/docs/index.rst b/docs/index.rst index e2afb2f..30d8f1e 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -3,4 +3,5 @@ Mastodon.py Python wrapper for the Mastodon ( https://github.com/Gargron/mastodon/ ) API. -.. autoclass:: Mastodon \ No newline at end of file +.. autoclass:: Mastodon + :members: \ No newline at end of file