now sphinxdoc works
This commit is contained in:
@ -12,9 +12,12 @@
|
||||
# serve to show the default.
|
||||
|
||||
import sys, os
|
||||
import os.path
|
||||
print "working path is %s" % os.getcwd()
|
||||
sys.path.append("..")
|
||||
import cadquery
|
||||
|
||||
settings._target = None
|
||||
#settings._target = None
|
||||
|
||||
|
||||
# If extensions (or modules to document with autodoc) are in another directory,
|
||||
@ -29,7 +32,7 @@ settings._target = None
|
||||
|
||||
# Add any Sphinx extension module names here, as strings. They can be extensions
|
||||
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
|
||||
extensions = ['sphinx.ext.autodoc', 'sphinx.ext.viewcode', 'sphinx.ext.autosummary','cadfile.cadutils.cq_directive']
|
||||
extensions = ['sphinx.ext.autodoc', 'sphinx.ext.viewcode', 'sphinx.ext.autosummary','cadquery.cq_directive']
|
||||
|
||||
# Add any paths that contain templates here, relative to this directory.
|
||||
templates_path = ['_templates']
|
||||
|
||||
Reference in New Issue
Block a user