Skip to content

Commit 7b4677e

Browse files
authored
Merge pull request #94 from MunchLab/DocumentationCleanup
2 parents 88178b9 + cd5598b commit 7b4677e

153 files changed

Lines changed: 490 additions & 25749 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ benchmarks/results/*
88
src/ect/embed_graph.py
99
src/ect/embed_cw.py
1010

11+
.vscode
12+
docs_local
13+
1114
# Byte-compiled / optimized / DLL files
1215
__pycache__/
1316
*.py[cod]

Extra_Notebooks/CodingFiguresFern.ipynb

Lines changed: 0 additions & 1924 deletions
This file was deleted.

Extra_Notebooks/Matisse_ECT.ipynb

Lines changed: 0 additions & 386 deletions
This file was deleted.

Extra_Notebooks/Mesh.ipynb

Lines changed: 0 additions & 79 deletions
This file was deleted.

Extra_Notebooks/Playing_with_Spirals.ipynb

Lines changed: 0 additions & 1891 deletions
This file was deleted.

Extra_Notebooks/tutorial_cw.ipynb

Lines changed: 0 additions & 361 deletions
This file was deleted.

Extra_Notebooks/tutorial_graph.ipynb

Lines changed: 0 additions & 560 deletions
This file was deleted.

Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,12 @@ html:
2828
mkdir docs
2929
sphinx-build -b html doc_source docs
3030

31+
html-local:
32+
# Running sphinx-build to build html files in a local docs folder
33+
rm -rf docs_local
34+
mkdir docs_local
35+
sphinx-build -b html doc_source docs_local
36+
3137
benchmark:
3238
python benchmarks/run_benchmarks.py
3339

doc_source/conf.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,10 @@
1010
# add these directories to sys.path here. If the directory is relative to the
1111
# documentation root, use os.path.abspath to make it absolute, like shown here.
1212
#
13+
# Add the src directory to sys.path so Sphinx can find ect.embed_complex
1314
import os
1415
import sys
16+
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..', 'src')))
1517
sys.path.insert(0, os.path.abspath('.'))
1618
sys.path.insert(0, os.path.join(os.path.dirname(__file__),'..'))
1719
sys.path.insert(0, os.path.join(os.path.dirname(__file__),'..', 'ect' ))
@@ -76,7 +78,7 @@
7678
'canonical_url': '',
7779
'analytics_id': 'UA-XXXXXXX-1', # Provided by Google in your dashboard
7880
'logo_only': False,
79-
'display_version': True,
81+
# 'display_version': True, # Removed because it is unsupported
8082
'prev_next_buttons_location': 'bottom',
8183
'style_external_links': True,
8284
'style_nav_header_background': '#cececf',
@@ -100,4 +102,4 @@
100102
# Add any paths that contain custom static files (such as style sheets) here,
101103
# relative to this directory. They are copied after the builtin static files,
102104
# so a file named "default.css" will overwrite the builtin "default.css".
103-
html_static_path = ['_static']
105+
# html_static_path = ['_static']

doc_source/contributing.rst

Lines changed: 4 additions & 4 deletions

0 commit comments

Comments
 (0)