mkdocs-nodegraph 0.2.0__tar.gz → 0.3.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (20) hide show
  1. {mkdocs-nodegraph-0.2.0 → mkdocs_nodegraph-0.3.0}/PKG-INFO +173 -160
  2. {mkdocs-nodegraph-0.2.0 → mkdocs_nodegraph-0.3.0}/README.md +152 -145
  3. {mkdocs-nodegraph-0.2.0 → mkdocs_nodegraph-0.3.0}/mkdocs_nodegraph/__init__.py +3 -3
  4. {mkdocs-nodegraph-0.2.0 → mkdocs_nodegraph-0.3.0}/mkdocs_nodegraph/nodegraph/generate_graph.py +344 -341
  5. {mkdocs-nodegraph-0.2.0 → mkdocs_nodegraph-0.3.0}/mkdocs_nodegraph/nodegraph/graph_opts.json +6 -6
  6. {mkdocs-nodegraph-0.2.0 → mkdocs_nodegraph-0.3.0}/mkdocs_nodegraph/nodegraph/mdfile.py +14 -14
  7. {mkdocs-nodegraph-0.2.0 → mkdocs_nodegraph-0.3.0}/mkdocs_nodegraph/nodegraph/mdparser.py +95 -95
  8. {mkdocs-nodegraph-0.2.0 → mkdocs_nodegraph-0.3.0}/mkdocs_nodegraph/nodegraph/pyvis_opts.js +36 -36
  9. {mkdocs-nodegraph-0.2.0 → mkdocs_nodegraph-0.3.0}/mkdocs_nodegraph/nodegraph/templates/template.html +1160 -1158
  10. {mkdocs-nodegraph-0.2.0 → mkdocs_nodegraph-0.3.0}/mkdocs_nodegraph/plugin.py +88 -88
  11. {mkdocs-nodegraph-0.2.0 → mkdocs_nodegraph-0.3.0}/mkdocs_nodegraph.egg-info/PKG-INFO +173 -160
  12. {mkdocs-nodegraph-0.2.0 → mkdocs_nodegraph-0.3.0}/setup.cfg +4 -4
  13. {mkdocs-nodegraph-0.2.0 → mkdocs_nodegraph-0.3.0}/setup.py +46 -46
  14. {mkdocs-nodegraph-0.2.0 → mkdocs_nodegraph-0.3.0}/mkdocs_nodegraph/nodegraph/__init__.py +0 -0
  15. {mkdocs-nodegraph-0.2.0 → mkdocs_nodegraph-0.3.0}/mkdocs_nodegraph/nodegraph/templates/__init__.py +0 -0
  16. {mkdocs-nodegraph-0.2.0 → mkdocs_nodegraph-0.3.0}/mkdocs_nodegraph.egg-info/SOURCES.txt +0 -0
  17. {mkdocs-nodegraph-0.2.0 → mkdocs_nodegraph-0.3.0}/mkdocs_nodegraph.egg-info/dependency_links.txt +0 -0
  18. {mkdocs-nodegraph-0.2.0 → mkdocs_nodegraph-0.3.0}/mkdocs_nodegraph.egg-info/entry_points.txt +0 -0
  19. {mkdocs-nodegraph-0.2.0 → mkdocs_nodegraph-0.3.0}/mkdocs_nodegraph.egg-info/requires.txt +0 -0
  20. {mkdocs-nodegraph-0.2.0 → mkdocs_nodegraph-0.3.0}/mkdocs_nodegraph.egg-info/top_level.txt +0 -0
@@ -1,160 +1,173 @@
1
- Metadata-Version: 2.1
2
- Name: mkdocs-nodegraph
3
- Version: 0.2.0
4
- Summary: Node Graph plugin for Mkdocs Material
5
- Home-page: https://yonge123.github.io/mkdocs-nodegraph/nodegraph.html
6
- Author: JeongYong Hwang
7
- Author-email: yonge123@gmail.com
8
- License: MIT
9
- Project-URL: Source, https://github.com/yonge123/mkdocs-nodegraph/tree/master
10
- Project-URL: Bug Tracker, https://github.com/yonge123/mkdocs-nodegraph/issues
11
- Project-URL: Documentation, https://github.com/yonge123/mkdocs-nodegraph/tree/master
12
- Keywords: mkdocs,plugin,nodegraph
13
- Requires-Python: >=3.9
14
- Description-Content-Type: text/markdown
15
-
16
- # mkdocs-nodegraph
17
-
18
- mkdocs-nodegraph - A Plugin for Visualizing Network Graphs in MkDocs
19
-
20
- ## Summary
21
-
22
- mkdocs-nodegraph is a documents network graph visualization plugin for the mkdocs-material.
23
-
24
- It allows you to create interactive visualizations of your documentation structure, helping users navigate through topics more easily.
25
-
26
-
27
- ## Example
28
-
29
-
30
- <p align="center">
31
- <a>
32
- <img alt="example_image_001.png" src="https://github.com/yonge123/mkdocs-nodegraph/blob/master/sources/example_image_001.png?raw=true" data-hpc="true" class="Box-sc-g0xbh4-0 fzFXnm">
33
- </a>
34
-
35
-
36
- <!-- ![Example Network Graph Visualization](./sources/example_image_001.png) -->
37
-
38
-
39
- <br>
40
-
41
- YouTube Link
42
-
43
- - https://www.youtube.com/watch?v=KD1AsW304kc
44
-
45
-
46
- <br>
47
-
48
- ## Install
49
-
50
- Install with setup.py
51
-
52
- ```shell
53
-
54
- python.exe setup.py install
55
-
56
- ```
57
-
58
- <br>
59
-
60
-
61
- Install with pip
62
-
63
- ```sh
64
- pip install mkdocs-nodegraph
65
- ```
66
-
67
- <br>
68
-
69
- Uninstall with pip
70
-
71
- ```
72
- pip uninstall mkdocs-nodegraph
73
-
74
- ```
75
-
76
-
77
- <br>
78
-
79
- ## Setup Tags, Node Icon and Color on Markdown File
80
-
81
- ```md
82
-
83
- ---
84
- tags:
85
- - CG
86
- - 3D software
87
- mdfile_icon: "_sources/svgs/blender.svg"
88
- mdfile_color: "#ea7600"
89
- ---
90
-
91
- ```
92
-
93
-
94
- <br>
95
-
96
- ## mkdocs.yml Configuration
97
-
98
-
99
- ```yml
100
-
101
- theme:
102
- # pip install mkdocs-material
103
- name: material
104
- # name: readthedocs
105
- features:
106
- # - navigation.tabs
107
- - content.code.copy
108
- palette:
109
- # Palette toggle for dark mode
110
- - media: "(prefers-color-scheme: dark)"
111
- scheme: slate
112
- primary: blue
113
- accent: blue
114
- toggle:
115
- icon: material/brightness-7
116
- name: Switch to light mode
117
- # Palette toggle for light mode
118
- - media: "(prefers-color-scheme: light)"
119
- scheme: default
120
- primary: blue
121
- accent: blue
122
- toggle:
123
- icon: material/brightness-4
124
- name: Switch to dark mode
125
-
126
- plugins:
127
- - search
128
- - offline
129
- - glightbox:
130
- skip_classes:
131
- - collapse-btn
132
- - nodegraph:
133
- graphfile: "nodegraph.html"
134
-
135
- ```
136
-
137
- <br>
138
-
139
- After setting up the nodegraph plugin with its graphfile path, you can build your site
140
-
141
- ```shell
142
- mkdocs build
143
- ```
144
-
145
- <br>
146
-
147
- <!-- After building the site, you can click the button ![](./sources/graph_icon.svg) to open the graph file. -->
148
-
149
- After building the site, you can click the button <img src="https://github.com/yonge123/mkdocs-nodegraph/raw/master/sources/graph_icon.svg" alt="" style="max-width: 100%;"> to open the graph file.
150
-
151
-
152
- <br>
153
-
154
-
155
- ## References
156
-
157
- - https://github.com/barrettotte/md-graph?tab=readme-ov-file
158
- - https://pyvis.readthedocs.io/en/latest/
159
-
160
- <br>
1
+ Metadata-Version: 2.1
2
+ Name: mkdocs-nodegraph
3
+ Version: 0.3.0
4
+ Summary: Node Graph plugin for Mkdocs Material
5
+ Home-page: https://yonge123.github.io/mkdocs-nodegraph/nodegraph.html
6
+ Author: JeongYong Hwang
7
+ Author-email: yonge123@gmail.com
8
+ License: MIT
9
+ Project-URL: Source, https://github.com/yonge123/mkdocs-nodegraph/tree/master
10
+ Project-URL: Bug Tracker, https://github.com/yonge123/mkdocs-nodegraph/issues
11
+ Project-URL: Documentation, https://github.com/yonge123/mkdocs-nodegraph/tree/master
12
+ Keywords: mkdocs,plugin,nodegraph
13
+ Requires-Python: >=3.9
14
+ Description-Content-Type: text/markdown
15
+ Requires-Dist: mkdocs>=1.4.0
16
+ Requires-Dist: mkdocs-material>=9.5.31
17
+ Requires-Dist: pyembed-markdown>=1.1.0
18
+ Requires-Dist: mkdocs-glightbox>=0.4.0
19
+ Requires-Dist: pyvis>=0.3.0
20
+ Requires-Dist: PyYAML>=6.0.2
21
+
22
+ # mkdocs-nodegraph
23
+
24
+ mkdocs-nodegraph - A Plugin for Visualizing Network Graphs in MkDocs
25
+
26
+ ## Summary
27
+
28
+ mkdocs-nodegraph is a documents network graph visualization plugin for the mkdocs-material.
29
+
30
+ It allows you to create interactive visualizations of your documentation structure, helping users navigate through topics more easily.
31
+
32
+
33
+ ## Example
34
+
35
+
36
+ <p align="center">
37
+ <a>
38
+ <img alt="example_image_001.png" src="https://github.com/yonge123/mkdocs-nodegraph/blob/master/sources/example_image_001.png?raw=true" data-hpc="true" class="Box-sc-g0xbh4-0 fzFXnm">
39
+ </a>
40
+
41
+
42
+ <!-- ![Example Network Graph Visualization](./sources/example_image_001.png) -->
43
+
44
+
45
+ <br>
46
+
47
+ YouTube Link
48
+
49
+ - https://www.youtube.com/watch?v=KD1AsW304kc
50
+
51
+
52
+ <br>
53
+
54
+ ## Install
55
+
56
+ Install with setup.py
57
+
58
+ ```shell
59
+
60
+ python.exe setup.py install
61
+
62
+ ```
63
+
64
+ <br>
65
+
66
+
67
+ Install with pip
68
+
69
+ ```sh
70
+ pip install mkdocs-nodegraph
71
+ ```
72
+
73
+ <br>
74
+
75
+ Uninstall with pip
76
+
77
+ ```
78
+ pip uninstall mkdocs-nodegraph
79
+
80
+ ```
81
+
82
+
83
+ <br>
84
+
85
+ ## Setup Tags, Node Icon and Color on Markdown File
86
+
87
+ ```md
88
+
89
+ ---
90
+ tags:
91
+ - CG
92
+ - 3D software
93
+ mdfile_icon: "_sources/svgs/blender.svg"
94
+ mdfile_color: "#ea7600"
95
+ mdfile_site: "https://www.blender.org/"
96
+ ---
97
+
98
+ ```
99
+
100
+ mdfile_icon -> Node Icon
101
+
102
+ mdfile_color -> Node Color
103
+
104
+ mdfile_site -> A website URL that opens on click while holding the Alt key
105
+
106
+
107
+ <br>
108
+
109
+ ## mkdocs.yml Configuration
110
+
111
+
112
+ ```yml
113
+
114
+ theme:
115
+ # pip install mkdocs-material
116
+ name: material
117
+ # name: readthedocs
118
+ features:
119
+ # - navigation.tabs
120
+ - content.code.copy
121
+ palette:
122
+ # Palette toggle for dark mode
123
+ - media: "(prefers-color-scheme: dark)"
124
+ scheme: slate
125
+ primary: blue
126
+ accent: blue
127
+ toggle:
128
+ icon: material/brightness-7
129
+ name: Switch to light mode
130
+ # Palette toggle for light mode
131
+ - media: "(prefers-color-scheme: light)"
132
+ scheme: default
133
+ primary: blue
134
+ accent: blue
135
+ toggle:
136
+ icon: material/brightness-4
137
+ name: Switch to dark mode
138
+
139
+ plugins:
140
+ - search
141
+ - offline
142
+ - glightbox:
143
+ skip_classes:
144
+ - collapse-btn
145
+ - nodegraph:
146
+ graphfile: "nodegraph.html"
147
+
148
+ ```
149
+
150
+ <br>
151
+
152
+ After setting up the nodegraph plugin with its graphfile path, you can build your site
153
+
154
+ ```shell
155
+ mkdocs build
156
+ ```
157
+
158
+ <br>
159
+
160
+ <!-- After building the site, you can click the button ![](./sources/graph_icon.svg) to open the graph file. -->
161
+
162
+ After building the site, you can click the button <img src="https://github.com/yonge123/mkdocs-nodegraph/raw/master/sources/graph_icon.svg" alt="" style="max-width: 100%;"> to open the graph file.
163
+
164
+
165
+ <br>
166
+
167
+
168
+ ## References
169
+
170
+ - https://github.com/barrettotte/md-graph?tab=readme-ov-file
171
+ - https://pyvis.readthedocs.io/en/latest/
172
+
173
+ <br>
@@ -1,145 +1,152 @@
1
- # mkdocs-nodegraph
2
-
3
- mkdocs-nodegraph - A Plugin for Visualizing Network Graphs in MkDocs
4
-
5
- ## Summary
6
-
7
- mkdocs-nodegraph is a documents network graph visualization plugin for the mkdocs-material.
8
-
9
- It allows you to create interactive visualizations of your documentation structure, helping users navigate through topics more easily.
10
-
11
-
12
- ## Example
13
-
14
-
15
- <p align="center">
16
- <a>
17
- <img alt="example_image_001.png" src="https://github.com/yonge123/mkdocs-nodegraph/blob/master/sources/example_image_001.png?raw=true" data-hpc="true" class="Box-sc-g0xbh4-0 fzFXnm">
18
- </a>
19
-
20
-
21
- <!-- ![Example Network Graph Visualization](./sources/example_image_001.png) -->
22
-
23
-
24
- <br>
25
-
26
- YouTube Link
27
-
28
- - https://www.youtube.com/watch?v=KD1AsW304kc
29
-
30
-
31
- <br>
32
-
33
- ## Install
34
-
35
- Install with setup.py
36
-
37
- ```shell
38
-
39
- python.exe setup.py install
40
-
41
- ```
42
-
43
- <br>
44
-
45
-
46
- Install with pip
47
-
48
- ```sh
49
- pip install mkdocs-nodegraph
50
- ```
51
-
52
- <br>
53
-
54
- Uninstall with pip
55
-
56
- ```
57
- pip uninstall mkdocs-nodegraph
58
-
59
- ```
60
-
61
-
62
- <br>
63
-
64
- ## Setup Tags, Node Icon and Color on Markdown File
65
-
66
- ```md
67
-
68
- ---
69
- tags:
70
- - CG
71
- - 3D software
72
- mdfile_icon: "_sources/svgs/blender.svg"
73
- mdfile_color: "#ea7600"
74
- ---
75
-
76
- ```
77
-
78
-
79
- <br>
80
-
81
- ## mkdocs.yml Configuration
82
-
83
-
84
- ```yml
85
-
86
- theme:
87
- # pip install mkdocs-material
88
- name: material
89
- # name: readthedocs
90
- features:
91
- # - navigation.tabs
92
- - content.code.copy
93
- palette:
94
- # Palette toggle for dark mode
95
- - media: "(prefers-color-scheme: dark)"
96
- scheme: slate
97
- primary: blue
98
- accent: blue
99
- toggle:
100
- icon: material/brightness-7
101
- name: Switch to light mode
102
- # Palette toggle for light mode
103
- - media: "(prefers-color-scheme: light)"
104
- scheme: default
105
- primary: blue
106
- accent: blue
107
- toggle:
108
- icon: material/brightness-4
109
- name: Switch to dark mode
110
-
111
- plugins:
112
- - search
113
- - offline
114
- - glightbox:
115
- skip_classes:
116
- - collapse-btn
117
- - nodegraph:
118
- graphfile: "nodegraph.html"
119
-
120
- ```
121
-
122
- <br>
123
-
124
- After setting up the nodegraph plugin with its graphfile path, you can build your site
125
-
126
- ```shell
127
- mkdocs build
128
- ```
129
-
130
- <br>
131
-
132
- <!-- After building the site, you can click the button ![](./sources/graph_icon.svg) to open the graph file. -->
133
-
134
- After building the site, you can click the button <img src="https://github.com/yonge123/mkdocs-nodegraph/raw/master/sources/graph_icon.svg" alt="" style="max-width: 100%;"> to open the graph file.
135
-
136
-
137
- <br>
138
-
139
-
140
- ## References
141
-
142
- - https://github.com/barrettotte/md-graph?tab=readme-ov-file
143
- - https://pyvis.readthedocs.io/en/latest/
144
-
145
- <br>
1
+ # mkdocs-nodegraph
2
+
3
+ mkdocs-nodegraph - A Plugin for Visualizing Network Graphs in MkDocs
4
+
5
+ ## Summary
6
+
7
+ mkdocs-nodegraph is a documents network graph visualization plugin for the mkdocs-material.
8
+
9
+ It allows you to create interactive visualizations of your documentation structure, helping users navigate through topics more easily.
10
+
11
+
12
+ ## Example
13
+
14
+
15
+ <p align="center">
16
+ <a>
17
+ <img alt="example_image_001.png" src="https://github.com/yonge123/mkdocs-nodegraph/blob/master/sources/example_image_001.png?raw=true" data-hpc="true" class="Box-sc-g0xbh4-0 fzFXnm">
18
+ </a>
19
+
20
+
21
+ <!-- ![Example Network Graph Visualization](./sources/example_image_001.png) -->
22
+
23
+
24
+ <br>
25
+
26
+ YouTube Link
27
+
28
+ - https://www.youtube.com/watch?v=KD1AsW304kc
29
+
30
+
31
+ <br>
32
+
33
+ ## Install
34
+
35
+ Install with setup.py
36
+
37
+ ```shell
38
+
39
+ python.exe setup.py install
40
+
41
+ ```
42
+
43
+ <br>
44
+
45
+
46
+ Install with pip
47
+
48
+ ```sh
49
+ pip install mkdocs-nodegraph
50
+ ```
51
+
52
+ <br>
53
+
54
+ Uninstall with pip
55
+
56
+ ```
57
+ pip uninstall mkdocs-nodegraph
58
+
59
+ ```
60
+
61
+
62
+ <br>
63
+
64
+ ## Setup Tags, Node Icon and Color on Markdown File
65
+
66
+ ```md
67
+
68
+ ---
69
+ tags:
70
+ - CG
71
+ - 3D software
72
+ mdfile_icon: "_sources/svgs/blender.svg"
73
+ mdfile_color: "#ea7600"
74
+ mdfile_site: "https://www.blender.org/"
75
+ ---
76
+
77
+ ```
78
+
79
+ mdfile_icon -> Node Icon
80
+
81
+ mdfile_color -> Node Color
82
+
83
+ mdfile_site -> A website URL that opens on click while holding the Alt key
84
+
85
+
86
+ <br>
87
+
88
+ ## mkdocs.yml Configuration
89
+
90
+
91
+ ```yml
92
+
93
+ theme:
94
+ # pip install mkdocs-material
95
+ name: material
96
+ # name: readthedocs
97
+ features:
98
+ # - navigation.tabs
99
+ - content.code.copy
100
+ palette:
101
+ # Palette toggle for dark mode
102
+ - media: "(prefers-color-scheme: dark)"
103
+ scheme: slate
104
+ primary: blue
105
+ accent: blue
106
+ toggle:
107
+ icon: material/brightness-7
108
+ name: Switch to light mode
109
+ # Palette toggle for light mode
110
+ - media: "(prefers-color-scheme: light)"
111
+ scheme: default
112
+ primary: blue
113
+ accent: blue
114
+ toggle:
115
+ icon: material/brightness-4
116
+ name: Switch to dark mode
117
+
118
+ plugins:
119
+ - search
120
+ - offline
121
+ - glightbox:
122
+ skip_classes:
123
+ - collapse-btn
124
+ - nodegraph:
125
+ graphfile: "nodegraph.html"
126
+
127
+ ```
128
+
129
+ <br>
130
+
131
+ After setting up the nodegraph plugin with its graphfile path, you can build your site
132
+
133
+ ```shell
134
+ mkdocs build
135
+ ```
136
+
137
+ <br>
138
+
139
+ <!-- After building the site, you can click the button ![](./sources/graph_icon.svg) to open the graph file. -->
140
+
141
+ After building the site, you can click the button <img src="https://github.com/yonge123/mkdocs-nodegraph/raw/master/sources/graph_icon.svg" alt="" style="max-width: 100%;"> to open the graph file.
142
+
143
+
144
+ <br>
145
+
146
+
147
+ ## References
148
+
149
+ - https://github.com/barrettotte/md-graph?tab=readme-ov-file
150
+ - https://pyvis.readthedocs.io/en/latest/
151
+
152
+ <br>
@@ -1,3 +1,3 @@
1
- from mkdocs_nodegraph.plugin import GraphViewPlugin
2
-
3
- __version__ = "0.1.0"
1
+ from mkdocs_nodegraph.plugin import GraphViewPlugin
2
+
3
+ __version__ = "0.1.0"