You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+17-2Lines changed: 17 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -88,18 +88,33 @@ extra_javascript:
88
88
89
89
:warning: The urls need to contain one of these keywords to be considered as deviation from default:
90
90
91
-
* `d3`
91
+
* `markmap-d3`
92
92
* `markmap-lib`
93
93
* `markmap-view`
94
94
95
-
96
95
## Troubleshooting
97
96
98
97
### Nav tree lists markmaps
99
98
100
99
1. Move your markmap files to a separate folder next to `docs`, e.g. `mindmaps`
101
100
2. Configure `base_path` accordingly (see [Advanced Settings](#advanced-settings))
102
101
102
+
### Static javascript files not working
103
+
104
+
1. Ensure naming of javascript files matches the scheme (see [Advanced Settings](#advanced-settings))
105
+
2. Copy all javascript files to `doc/js/`, otherwise `mkdocs` will not copy static files to `site/`
106
+
3. Define all files in `extra_javascript`, e.g.
107
+
108
+
```yaml
109
+
extra_javascript:
110
+
- js/markmap-d3.js
111
+
- js/markmap-lib.js
112
+
- js/markmap-view.js
113
+
```
114
+
115
+
### Usage of proxy is prevent download of javascript files
116
+
117
+
Usually proxies should be supported by `requests`, which is used for downloading all required javascript files. If the issue remains, try downloading the files yourself and store them accordingly (see [Static javascript files not working](#static-javascript-files-not-working))
0 commit comments