提交 159a988b authored 作者: hantek's avatar hantek

remove commented lines in docgen.py; uncomment theano tests

上级 09a5fdec
......@@ -33,10 +33,8 @@ install:
# command to run tests
env:
# uncomment it after doc test is done!
# - PART="sandbox sparse scalar tensor/nnet scan_module"
# - PART="tensor/tests/test_basic.py tensor/signal compile gof misc tests compat"
- PART="sandbox sparse scalar tensor/nnet scan_module"
- PART="tensor/tests/test_basic.py tensor/signal compile gof misc tests compat"
- PART="-e test_basic.py theano/tensor/tests"
matrix:
......@@ -63,7 +61,6 @@ script:
- echo "$PART"
- cd -; cd Theano
- if [[ $DOC == "1" ]]; then python doc/scripts/docgen.py --nopdf; else theano-nose -v $PART; fi
- if [[ $DOC == "1" ]]; then python doc/scripts/docgen.py --test; else theano-nose -v $PART; fi
# - theano-cache list
#after_script:
......
......@@ -53,22 +53,6 @@ if __name__ == '__main__':
pythonpath = os.pathsep.join([throot, pythonpath])
sys.path[0:0] = [throot] # We must not use os.environ.
# if options['--all']:
# mkdir("api")
#Generate HTML doc
## This causes problems with the subsequent generation of sphinx doc
#from epydoc.cli import cli
#sys.argv[:] = ['', '--config', '%s/doc/api/epydoc.conf' % throot,
# '-o', 'api']
#cli()
## So we use this instead
#os.system("epydoc --config %s/doc/api/epydoc.conf -o api" % throot)
# Generate PDF doc
# TODO
def call_sphinx(builder, workdir, extraopts=None):
import sphinx
if extraopts is None:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论