From a7d0f6f331d5b21ff36c15933604e3e8d91dc274 Mon Sep 17 00:00:00 2001
From: Kostas Vilkelis <kostasvilkelis@gmail.com>
Date: Fri, 3 May 2024 15:55:26 +0200
Subject: [PATCH] add documentation from docstrings

---
 docs/source/documentation/pymf.md | 7 +++++++
 docs/source/index.md              | 8 ++++++++
 2 files changed, 15 insertions(+)
 create mode 100644 docs/source/documentation/pymf.md

diff --git a/docs/source/documentation/pymf.md b/docs/source/documentation/pymf.md
new file mode 100644
index 0000000..d9d0456
--- /dev/null
+++ b/docs/source/documentation/pymf.md
@@ -0,0 +1,7 @@
+# Package reference
+
+```{eval-rst}
+.. automodule:: pymf
+   :members:
+   :show-inheritance:
+```
diff --git a/docs/source/index.md b/docs/source/index.md
index 3df6663..86851ab 100644
--- a/docs/source/index.md
+++ b/docs/source/index.md
@@ -21,6 +21,14 @@ kernelspec:
 mf_notes.md
 ```
 
+```{toctree}
+:hidden:
+:maxdepth: 1
+:caption: Documentation
+
+documentation/pymf.md
+```
+
 ## What is pymf?
 
 ## Why pymf?
-- 
GitLab