I
I
Ivan Stroykin2016-09-13 11:25:41
Django
Ivan Stroykin, 2016-09-13 11:25:41

Why is it impossible to specify the path to the desired directory?

Good day,
I put python sphinx documentation for documentation, but in conf.py it does not eat the path to the project. What am I missing?

import os
import sys
sys.path.insert(0, os.path.abspath('путь'))

instead of "path" already tried to substitute different options, all to no purpose. The make html command generates only the skeleton.
Sphinx doc is in a separate directory from the project

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andy_U, 2016-09-13
@StivinKing

Run sphinx-build from the project directory, specifying the paths to the src and output parameters.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question