mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
add the pelican path to the sys.path, to be able to use autodoc
This commit is contained in:
parent
7f8f6e8a7e
commit
020c1400e2
1 changed files with 2 additions and 0 deletions
|
|
@ -1,6 +1,8 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
import sys, os
|
||||
|
||||
sys.path.append(os.path.abspath('..'))
|
||||
|
||||
# -- General configuration -----------------------------------------------------
|
||||
templates_path = ['_templates']
|
||||
extensions = ['sphinx.ext.autodoc',]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue