Skip to content

Commit f9337c5

Browse files
committed
Autogenerated docs stub for the future
1 parent cb022d1 commit f9337c5

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

docs/conf.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
11
import datetime
2+
from pathlib import Path
3+
from sphinx.ext import apidoc
24

35
copyright = f"{datetime.datetime.now().year}, Evrone"
6+
7+
# Auto generate documentation
8+
if False:
9+
apidoc.main([
10+
'-f', # force overwrite
11+
'-T', # no modules.rst toc
12+
'-e', # Each module on it's own page
13+
'-o', str(Path(__file__).parent), # Output dir relative to "Sphinx root"
14+
str(Path(__file__).parent.parent / 'toggl_python') # Source code root
15+
])

0 commit comments

Comments
 (0)