pyside / PySide

ATTENTION: This project is deprecated, please refer to PySide2
https://wiki.qt.io/PySide2
GNU Lesser General Public License v2.1
291 stars 66 forks source link

[Building Docs] How Can I use Sphinx to build local docs? #146

Open cundi opened 8 years ago

cundi commented 8 years ago

As the title says I just want a local doc to read.

I got an error, when I using the following command to build my docs.

ml@mldeMacBook-Air ~/D/g/P/doc> sphinx-build -b epub  ./ ./
Error: Config directory doesn't contain a conf.py file.

Here I want to know is how can I get this go through.

techtonik commented 8 years ago
  1. try html
  2. try different output directory (sphinx may clean it)
  3. looks at your sphinx version
cundi commented 8 years ago

@techtonik I tried the approach of all, but it give me same error still on there.

cundi commented 8 years ago

@techtonik My Sphinx version info as below:

In [1]: import sphinx

In [2]: sphinx.version_info
Out[2]: (1, 4, 1, 'final', 0)
techtonik commented 8 years ago

Okay. You need to use cmake for building Sphinx docs. =/