Skip to content

Commit eb285f9

Browse files
trying netlify hosted docs
1 parent cbde79f commit eb285f9

File tree

3 files changed

+200
-0
lines changed

3 files changed

+200
-0
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
!mkdocs.yml
1616
!generate_graph_examples.py
1717
!.python-version
18+
!requirements.txt
19+
!netlify.toml
1820

1921
# recursively re-ignore
2022
__pycache__

netlify.toml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# netlify.toml
2+
3+
# Build settings
4+
[build]
5+
# Directory (relative to root of your repo) that contains the deploy-ready
6+
# HTML files and assets after the build command has run.
7+
publish = "site"
8+
9+
# Default build command. This will run in the Netlify build environment.
10+
# It first runs your script to generate graph HTMLs, then builds the MkDocs site.
11+
command = "python generate_graph_examples.py && mkdocs build"
12+
13+
# Environment variables specific to the build context
14+
[build.environment]
15+
# Specify the Python version Netlify should use.
16+
# Common values: "3.12", "3.11", "3.10", etc.
17+
# Check Netlify's build image documentation for currently supported versions.
18+
PYTHON_VERSION = "3.12"
19+
# If you were using uv and wanted to ensure it's used for pip:
20+
# PIP_FLAGS = "--no-cache-dir" # Example, uv might handle this differently
21+
22+
# Optional: Build context for specific deploy contexts (e.g., production, deploy-previews)
23+
# You can override settings for different contexts if needed.
24+
# For example, to use a different Python version for deploy previews:
25+
# [context.deploy-preview.environment]
26+
# PYTHON_VERSION = "3.11"
27+
28+
# Optional: Functions settings if you were using Netlify Functions (not applicable here)
29+
# [functions]
30+
# directory = "netlify/functions"
31+
32+
# Optional: Redirects and rewrites (not immediately needed for basic MkDocs)
33+
# [[redirects]]
34+
# from = "/old-path"
35+
# to = "/new-path"
36+
# status = 301

requirements.txt

Lines changed: 162 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,162 @@
1+
# This file was autogenerated by uv via the following command:
2+
# uv pip compile pyproject.toml --all-extras -o requirements.txt
3+
asttokens==3.0.0
4+
# via stack-data
5+
babel==2.17.0
6+
# via mkdocs-material
7+
backrefs==5.8
8+
# via mkdocs-material
9+
certifi==2025.4.26
10+
# via requests
11+
cfgv==3.4.0
12+
# via pre-commit
13+
charset-normalizer==3.4.2
14+
# via requests
15+
click==8.2.1
16+
# via mkdocs
17+
colorama==0.4.6
18+
# via mkdocs-material
19+
coverage==7.8.2
20+
# via pytest-cov
21+
decorator==5.2.1
22+
# via ipython
23+
distlib==0.3.9
24+
# via virtualenv
25+
executing==2.2.0
26+
# via stack-data
27+
filelock==3.18.0
28+
# via virtualenv
29+
ghp-import==2.1.0
30+
# via mkdocs
31+
identify==2.6.12
32+
# via pre-commit
33+
idna==3.10
34+
# via requests
35+
iniconfig==2.1.0
36+
# via pytest
37+
ipython==9.3.0
38+
# via nx-vis-visualizer (pyproject.toml)
39+
ipython-pygments-lexers==1.1.1
40+
# via ipython
41+
jedi==0.19.2
42+
# via ipython
43+
jinja2==3.1.6
44+
# via
45+
# mkdocs
46+
# mkdocs-material
47+
markdown==3.8
48+
# via
49+
# mkdocs
50+
# mkdocs-material
51+
# pymdown-extensions
52+
markupsafe==3.0.2
53+
# via
54+
# jinja2
55+
# mkdocs
56+
matplotlib-inline==0.1.7
57+
# via ipython
58+
mergedeep==1.3.4
59+
# via
60+
# mkdocs
61+
# mkdocs-get-deps
62+
mkdocs==1.6.1
63+
# via
64+
# nx-vis-visualizer (pyproject.toml)
65+
# mkdocs-material
66+
mkdocs-get-deps==0.2.0
67+
# via mkdocs
68+
mkdocs-material==9.6.14
69+
# via nx-vis-visualizer (pyproject.toml)
70+
mkdocs-material-extensions==1.3.1
71+
# via mkdocs-material
72+
mypy==1.16.0
73+
# via nx-vis-visualizer (pyproject.toml)
74+
mypy-extensions==1.1.0
75+
# via mypy
76+
networkx==3.5
77+
# via
78+
# nx-vis-visualizer (pyproject.toml)
79+
# nx-vis-visualizer
80+
nodeenv==1.9.1
81+
# via pre-commit
82+
numpy==2.2.6
83+
# via types-networkx
84+
nx-vis-visualizer @ file:///media/Secondary/Projects/nx-vis-visualizer
85+
# via nx-vis-visualizer (pyproject.toml)
86+
packaging==25.0
87+
# via
88+
# mkdocs
89+
# pytest
90+
paginate==0.5.7
91+
# via mkdocs-material
92+
parso==0.8.4
93+
# via jedi
94+
pathspec==0.12.1
95+
# via
96+
# mkdocs
97+
# mypy
98+
pexpect==4.9.0
99+
# via ipython
100+
platformdirs==4.3.8
101+
# via
102+
# mkdocs-get-deps
103+
# virtualenv
104+
pluggy==1.6.0
105+
# via pytest
106+
pre-commit==4.2.0
107+
# via nx-vis-visualizer (pyproject.toml)
108+
prompt-toolkit==3.0.51
109+
# via ipython
110+
ptyprocess==0.7.0
111+
# via pexpect
112+
pure-eval==0.2.3
113+
# via stack-data
114+
pygments==2.19.1
115+
# via
116+
# ipython
117+
# ipython-pygments-lexers
118+
# mkdocs-material
119+
# pytest
120+
pymdown-extensions==10.15
121+
# via mkdocs-material
122+
pytest==8.4.0
123+
# via
124+
# nx-vis-visualizer (pyproject.toml)
125+
# pytest-cov
126+
pytest-cov==6.1.1
127+
# via nx-vis-visualizer (pyproject.toml)
128+
python-dateutil==2.9.0.post0
129+
# via ghp-import
130+
pyyaml==6.0.2
131+
# via
132+
# mkdocs
133+
# mkdocs-get-deps
134+
# pre-commit
135+
# pymdown-extensions
136+
# pyyaml-env-tag
137+
pyyaml-env-tag==1.1
138+
# via mkdocs
139+
requests==2.32.3
140+
# via mkdocs-material
141+
ruff==0.11.12
142+
# via nx-vis-visualizer (pyproject.toml)
143+
six==1.17.0
144+
# via python-dateutil
145+
stack-data==0.6.3
146+
# via ipython
147+
traitlets==5.14.3
148+
# via
149+
# ipython
150+
# matplotlib-inline
151+
types-networkx==3.5.0.20250531
152+
# via nx-vis-visualizer (pyproject.toml)
153+
typing-extensions==4.14.0
154+
# via mypy
155+
urllib3==2.4.0
156+
# via requests
157+
virtualenv==20.31.2
158+
# via pre-commit
159+
watchdog==6.0.0
160+
# via mkdocs
161+
wcwidth==0.2.13
162+
# via prompt-toolkit

0 commit comments

Comments
 (0)