2010-06-23 41 views
4

當我doc/目錄中運行與獅身人面像的'意想不到的部分標題' - 這個問題是否是numpy?

sphinx-build . html/ 

,我得到下面的輸出:

$ sphinx-build . html/ 
Running Sphinx v0.6.4 
No builder selected, using default: html 
loading pickled environment... done 
building [html]: targets for 0 source files that are out of date 
updating environment: 0 added, 1 changed, 0 removed 
reading sources... [100%] index     
reST markup error: 
HIDDEN/PATH/matplotlib_visualization.py:docstring of simulator.extensions.matplotlib_visualization.beta:20: (SEVERE/4) Unexpected section title. 

此文件numpy進口,一個小小的研究後,它似乎像RST標記那個獅身人面像的用途有記錄的方式numpy有問題。當我取出numpy導入時,html版本沒有問題。

什麼是解決此問題的最佳方法?

回答