Mercurial > hgrepos > Python > libs > ConfigMix
comparison doc/conf.py @ 54:aa8345dae995
Generate readable HTML documentation and an API documentation
| author | Franz Glasner <hg@dom66.de> |
|---|---|
| date | Tue, 27 Feb 2018 23:42:11 +0100 |
| parents | 6c7f90dbce98 |
| children | 51a8fa011659 |
comparison
equal
deleted
inserted
replaced
| 53:1d43f0b9fa20 | 54:aa8345dae995 |
|---|---|
| 10 | 10 |
| 11 # If extensions (or modules to document with autodoc) are in another directory, | 11 # If extensions (or modules to document with autodoc) are in another directory, |
| 12 # add these directories to sys.path here. If the directory is relative to the | 12 # add these directories to sys.path here. If the directory is relative to the |
| 13 # documentation root, use os.path.abspath to make it absolute, like shown here. | 13 # documentation root, use os.path.abspath to make it absolute, like shown here. |
| 14 # | 14 # |
| 15 # import os | 15 import os |
| 16 # import sys | 16 import sys |
| 17 # sys.path.insert(0, os.path.abspath('.')) | 17 sys.path.insert(0, os.path.dirname(os.path.abspath('.'))) |
| 18 | 18 |
| 19 | 19 |
| 20 # -- Project information ----------------------------------------------------- | 20 # -- Project information ----------------------------------------------------- |
| 21 | 21 |
| 22 project = 'ConfigMix' | 22 project = 'ConfigMix' |
