Skip to content

Commit

Permalink
simplify documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
cdanielmachado committed May 29, 2018
1 parent 6b0c279 commit e57110f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 20 deletions.
19 changes: 5 additions & 14 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,6 @@
import sys
import os

import mock

MOCK_MODULES = ['cplex', 'gurobipy', 'future', 'builtins', 'configparser', 'framed']

for mod_name in MOCK_MODULES:
sys.modules[mod_name] = mock.Mock()

import matplotlib
matplotlib.use('Agg')


# If extensions (or modules to document with autodoc) are in another
# directory, add these directories to sys.path here. If the directory is
Expand All @@ -42,7 +32,7 @@
# version is used.
sys.path.insert(0, project_root)

import carveme
from carveme import __version__

# -- General configuration ---------------------------------------------

Expand All @@ -51,7 +41,8 @@

# 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.napoleon']
#extensions = ['sphinx.ext.autodoc', 'sphinx.ext.viewcode', 'sphinx.ext.napoleon']
extensions = []

# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
Expand All @@ -74,9 +65,9 @@
# the built documents.
#
# The short X.Y version.
version = carveme.__version__
version = __version__
# The full version, including alpha/beta/rc tags.
release = carveme.__version__
release = __version__

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
6 changes: 0 additions & 6 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,3 @@ Contents:
usage
advanced

Indices and tables
==================

* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`

0 comments on commit e57110f

Please sign in to comment.