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
Building the documentation now does compile time translation from
markdown to HTML, rather than dynamic translation of hidden content via
script after loading the page.
That takes a dependency on npm, and it uses the latest marked instead of
one contained in this repo. I'd rather not have either of those
dependencies, but I can accept them in order to improve the outputed
documentation.
Copy file name to clipboardExpand all lines: README.md
+6-1Lines changed: 6 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,13 +42,18 @@ Clink can be extended through its Lua API which allows easy creation context sen
42
42
43
43
### Building Clink
44
44
45
-
Clink's uses [Premake](http://premake.github.io) to generate Visual Studio solutions or makefiles for MinGW. Note that Premake >= 5.0-alpha12 is required.
45
+
Clink uses [Premake](http://premake.github.io) to generate Visual Studio solutions or makefiles for MinGW. Note that Premake >= 5.0-alpha12 is required.
46
46
47
47
1. Cd to your clone of Clink.
48
48
2. Run `premake5.exe <toolchain>` (where `<toolchain>` is one of Premake's actions - see `premake5.exe --help`)
49
49
3. Build scripts will be generated in `.build\<toolchain>`. For example `.build\vs2013\clink.sln`.
50
50
4. Call your toolchain of choice (VS, mingw32-make.exe, msbuild.exe, etc). GNU makefiles (Premake's *gmake* target) have a **help** target for more info.
51
51
52
+
### Building Documentation
53
+
54
+
1. Run `npm install marked` to install the [marked](https://marked.js.org) markdown library.
55
+
2. Run `premake5.exe docs`.
56
+
52
57
### License
53
58
54
59
Clink is distributed under the terms of the GNU General Public License v3.0.
Copy file name to clipboardExpand all lines: TODO.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,6 +46,7 @@ Lua support changed significantly. Explore how to support backward compatibilit
46
46
- What to do about completion colors in popup list?
47
47
- Make it owner draw and add text like "dir", "doskey", etc?
48
48
- Add stat chars when so configured?
49
+
- Use `npm` to run `marked.min.js` at compile time to produce static documentation rather than dynamic scripted documentation with embedded copies of marked.min.js and highlight.js.
0 commit comments