Skip to content

Commit a2b6801

Browse files
committed
fix sphinx
1 parent 46f4220 commit a2b6801

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

docs/conf.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,12 @@
1313

1414
import sys
1515
import os
16+
import sphinx
1617

1718
sys.path.insert(0, os.path.abspath('./../'))
1819
autodoc_mock_imports = ["alpha","beta"]
1920

20-
import sphinx.apidoc
21+
#import sphinx.apidoc
2122
def setup(app):
2223
sphinx.ext.apidoc.main(['-f', '-T', '-e', '-M', '-o', './code/', '../src', '../src/localconfig.py', '../src/pyff/test'])
2324

@@ -33,7 +34,7 @@ def setup(app):
3334

3435
# Add any Sphinx extension module names here, as strings. They can be extensions
3536
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
36-
extensions = ['sphinx.ext.autodoc', 'sphinx.ext.autosummary', 'recommonmark']
37+
extensions = ['sphinx.ext.autodoc', 'sphinx.ext.apidoc', 'sphinx.ext.autosummary']
3738

3839
# Add any paths that contain templates here, relative to this directory.
3940
templates_path = ['_templates']

docs/requirements.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ requests_file
2020
simplejson >=2.6.2
2121
six>=1.11.0
2222
sphinx
23+
sphinx-rtd-theme
2324
whoosh
2425
wsgi-intercept
2526
xmldiff

0 commit comments

Comments
 (0)