Skip to content

Commit 2a39523

Browse files
committed
remove django dependency during docs build
1 parent db24e7e commit 2a39523

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

conf.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -9,26 +9,12 @@
99
# If extensions (or modules to document with autodoc) are in another directory,
1010
# add these directories to sys.path here. If the directory is relative to the
1111
# documentation root, use os.path.abspath to make it absolute, like shown here.
12-
#
1312

14-
import os
1513
import sys
16-
import django
1714
from pathlib import Path
1815

19-
# import recommonmark # noqa: F401
20-
# from recommonmark.transform import AutoStructify
21-
2216
sys.path.append(str(Path(__file__).parent.parent))
2317
sys.path.append(str(Path(__file__).parent.parent / 'archivebox'))
24-
# os.environ['DJANGO_SETTINGS_MODULE'] = 'core.settings'
25-
# import archivebox
26-
# os.chdir(archivebox.PACKAGE_DIR)
27-
28-
# django.setup()
29-
# from archivebox.config.legacy import setup_django
30-
31-
# setup_django()
3218

3319
# -- Project information -----------------------------------------------------
3420

0 commit comments

Comments
 (0)