From 9c6dc20be3c57e73235ff96f6ba1ae78e6266710 Mon Sep 17 00:00:00 2001 From: krzywon Date: Thu, 28 Sep 2023 15:04:24 -0400 Subject: [PATCH] Base changes to auto-generate docs from source code --- docs/source/conf.py | 5 ++++- docs/source/dev/api.rst | 11 +++++++++++ docs/source/dev/dev.rst | 6 +++++- 3 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 docs/source/dev/api.rst diff --git a/docs/source/conf.py b/docs/source/conf.py index 24a6003..a986f67 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -11,7 +11,10 @@ # -- General configuration --------------------------------------------------- -extensions = [] +extensions = [ + 'sphinx.ext.autodoc', + 'sphinx.ext.autosummary', +] templates_path = ['_templates'] exclude_patterns = [] diff --git a/docs/source/dev/api.rst b/docs/source/dev/api.rst new file mode 100644 index 0000000..b6f5066 --- /dev/null +++ b/docs/source/dev/api.rst @@ -0,0 +1,11 @@ +.. api.rst + +.. _api: + +API +=== + +.. autosummary:: + :toctree: generated + + sasdata \ No newline at end of file diff --git a/docs/source/dev/dev.rst b/docs/source/dev/dev.rst index 9aecbce..aeaf07c 100644 --- a/docs/source/dev/dev.rst +++ b/docs/source/dev/dev.rst @@ -3,4 +3,8 @@ .. _dev: Developer Documentation -======================= \ No newline at end of file +======================= + +.. toctree:: + + api \ No newline at end of file