Skip to content

Commit a7a314e

Browse files
committed
basic docs
1 parent b04c96b commit a7a314e

File tree

3 files changed

+17
-1
lines changed

3 files changed

+17
-1
lines changed

docs/api.rst

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
API Reference
2+
=============
3+
4+
.. automodule:: pandalchemy.methods
5+
:members:
6+
:undoc-members:
7+
:show-inheritance:

docs/conf.py

+8-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66
# -- Project information -----------------------------------------------------
77
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
88

9+
import os
10+
import sys
11+
sys.path.insert(0, os.path.abspath('..'))
12+
913
project = 'pandalchemy'
1014
copyright = '2024, Essi Parent'
1115
author = 'Essi Parent'
@@ -14,7 +18,10 @@
1418
# -- General configuration ---------------------------------------------------
1519
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
1620

17-
extensions = []
21+
extensions = [
22+
'sphinx.ext.autodoc',
23+
'nbsphinx'
24+
]
1825

1926
templates_path = ['_templates']
2027
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']

docs/index.rst

+2
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,5 @@ documentation for details.
1515
:maxdepth: 2
1616
:caption: Contents:
1717

18+
api
19+
examples/basic-usage

0 commit comments

Comments
 (0)