mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-07-25 10:24:32 +02:00
Custom Read The Docs config, to get autodoc working
This commit is contained in:
parent
b58352f730
commit
50dcfc01dc
2 changed files with 15 additions and 4 deletions
12
.readthedocs.yaml
Normal file
12
.readthedocs.yaml
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
version: 2
|
||||
|
||||
sphinx:
|
||||
configuration: docs/conf.py
|
||||
|
||||
python:
|
||||
version: "3.9"
|
||||
install:
|
||||
- method: pip
|
||||
path: .
|
||||
extra_requirements:
|
||||
- docs
|
||||
|
|
@ -16,10 +16,9 @@ from subprocess import Popen, PIPE
|
|||
# add these directories to sys.path here. If the directory is relative to the
|
||||
# documentation root, use os.path.abspath to make it absolute, like shown here.
|
||||
#
|
||||
import os
|
||||
import sys
|
||||
|
||||
sys.path.insert(0, os.path.abspath("../../"))
|
||||
# import os
|
||||
# import sys
|
||||
# sys.path.insert(0, os.path.abspath("../"))
|
||||
|
||||
|
||||
# -- General configuration ------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue