openalea / StructureAnalysis

Plant structure analysis
6 stars 6 forks source link

Build sphinx documentation #23

Open jbdurand opened 7 years ago

jbdurand commented 7 years ago

Since I update sphinx to version 1.5.2, I have the following problem at doc compilation (make html):

WARNING: sphinx.ext.pngmath has been deprecated. Please use sphinx.ext.imgmath instead.

Extension error: sphinx.ext.mathjax: other math package is already loaded make: *** [html] Erreur 1

I modified the conf.py as

import os,sys

# read sphinx conf.py file
from openalea.misc.sphinx_configuration import *
from openalea.misc.sphinx_tools import sphinx_check_version
from openalea.deploy.metainfo import read_metainfo, compulsary_words

sys.path.append(os.path.abspath('sphinxext'))
extensions = ['sphinx.ext.imgmath']

... etc.

and the compilation is OK but in html doc the link do not work anymore, and the autodoc does not go through the module. Does anyone know how to fix this? Cheers, JB