Commit 1b4cd407 authored by Tiago Peixoto's avatar Tiago Peixoto
Browse files

Workaround for sphinx bug

For some reason sphinx looks for a graph_tool module inside graph_tool.
This commit defines such a thing.
parent 6be54cc4
...@@ -113,6 +113,8 @@ __all__ = ["Graph", "GraphView", "Vertex", "Edge", "Vector_bool", ...@@ -113,6 +113,8 @@ __all__ = ["Graph", "GraphView", "Vertex", "Edge", "Vector_bool",
"show_config", "PropertyArray", "__author__", "__copyright__", "show_config", "PropertyArray", "__author__", "__copyright__",
"__URL__", "__version__"] "__URL__", "__version__"]
# this is rather pointless, but it works around a sphinx bug
graph_tool = sys.modules[__name__]
################################################################################ ################################################################################
# Utility functions # Utility functions
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment