Skip to content

Commit 00c79ac

Browse files
Add pandas to docs (#58)
* Add pandas to doc build * Add classes to init
1 parent 71c37b9 commit 00c79ac

4 files changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/sphinx-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- name: Create the new documentation
1515
uses: ammaraskar/sphinx-action@master
1616
with:
17-
pre-build-command: "python -m pip install pip sphinx_rtd_theme networkx numpy scipy future matplotlib -U"
17+
pre-build-command: "python -m pip install pip sphinx_rtd_theme networkx numpy scipy future matplotlib pandas -U"
1818
docs-folder: "docs/"
1919

2020
- name: Deploy

docs/source/conf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@
5555
'numpy': ('http://docs.scipy.org/doc/numpy/', None),
5656
'networkx': ('https://networkx.github.io/documentation/stable/', None),
5757
'scipy': ('http://docs.scipy.org/doc/scipy/reference/', None),
58-
'matplotlib': ('http://matplotlib.sourceforge.net/', None)}
58+
'matplotlib': ('http://matplotlib.sourceforge.net/', None),
59+
'pandas': ('https://pandas.pydata.org/docs/', None)}
5960

6061
autosummary_generate = True
6162

grape/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,5 @@ def get_current_year():
2323
__status__ = "Alpha"
2424

2525
from .general_graph import GeneralGraph
26+
from .parallel_general_graph import ParallelGeneralGraph
27+
from .fault_diagnosis import FaultDiagnosis

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
KEYWORDS = 'risk-analysis graph-theory parallel-programming shortest-path system-analysis fault-diagnostics'
1212

1313
REQUIRED = [
14-
'networkx', 'numpy', 'scipy', 'matplotlib',
14+
'networkx', 'numpy', 'scipy', 'matplotlib', 'pandas',
1515
]
1616

1717
EXTRAS = {

0 commit comments

Comments
 (0)