Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build sphinx documentation #23

Open
jbdurand opened this issue Jan 27, 2017 · 0 comments
Open

Build sphinx documentation #23

jbdurand opened this issue Jan 27, 2017 · 0 comments
Assignees

Comments

@jbdurand
Copy link
Collaborator

jbdurand commented Jan 27, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants