File tree Expand file tree Collapse file tree 5 files changed +20
-2
lines changed
Expand file tree Collapse file tree 5 files changed +20
-2
lines changed Original file line number Diff line number Diff line change 1515! mkdocs.yml
1616! generate_graph_examples.py
1717! .python-version
18+ ! requirements.txt
19+ ! netlify.toml
1820
1921# recursively re-ignore
2022__pycache__
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ Let's create a 5-node cycle graph and add some basic styling through node attrib
88
99<div class =" interactive-graph-wrapper " style =" margin-bottom : 1.5em ; padding : 1em ; border : 1px solid #e0e0e0 ; border-radius : 4px ; background-color : #f9f9f9 ;" >
1010 <h4 style="margin-top: 0; margin-bottom: 0.5em; font-size: 1.1em;">Interactive 5-Cycle Graph</h4>
11- <iframe src="/nx-vis-visualizer/ assets/generated_graphs/cycle_graph_example.html"
11+ <iframe src="/assets/generated_graphs/cycle_graph_example.html"
1212 width="100%"
1313 height="450px"
1414 style="border: 1px solid #ccc; max-width: 100%; display: block;"
Original file line number Diff line number Diff line change 11# mkdocs.yml
22site_name : NX-VIS Visualizer
3- site_url : https://particularlypythonicsbs.github.io/ nx-vis-visualizer/
3+ site_url : https://nx-vis-visualizer.netlify.app /
44site_author : Anil Radhakrishnan
55repo_url : https://github.com/ParticularlyPythonicBS/nx-vis-visualizer
66repo_name : ParticularlyPythonicBS/nx-vis-visualizer
Original file line number Diff line number Diff line change 1+ # netlify.toml
2+
3+ [build ]
4+ publish = " site"
5+ # The command Netlify will run.
6+ # Netlify's build image should handle activating the specified PYTHON_VERSION
7+ # and making 'python' and 'pip' available on the PATH from that version.
8+ command = " pip install -r requirements.txt && pip install . && python generate_graph_examples.py && mkdocs build"
9+
10+ [build .environment ]
11+ PYTHON_VERSION = " 3.12" # Be explicit. You can try "3.12.10" if "3.12" is ambiguous
12+ # or another version like "3.11" if 3.12 is problematic on Netlify.
Original file line number Diff line number Diff line change 1+ # requirements.txt
2+ mkdocs >= 1.5
3+ mkdocs-material >= 9.0
4+ networkx >= 3.0
You can’t perform that action at this time.
0 commit comments