Commit 593a3970 authored by Ubbo Veentjer's avatar Ubbo Veentjer
Browse files

move docs to /docs. create voyant doc files.

related to #18 and #19
parent 31ff63e5
Pipeline #128992 passed with stages
in 7 minutes and 25 seconds
......@@ -49,6 +49,12 @@ node {
download = true
}
processResources {
from ('docs/') {
into 'docs'
}
}
// execute task: gradle -q copyJS
task copyJS(type: Copy, dependsOn: npmInstall) {
from 'node_modules/jquery/dist/jquery.min.js',
......
......@@ -28,7 +28,7 @@ public class DocController {
return renderMarkdown(model, "index", locale);
}
@GetMapping("/doc/{doc}")
@GetMapping("/docs/{doc}")
public String renderMarkdown(
Model model,
@PathVariable("doc") String doc,
......
......@@ -57,7 +57,10 @@
</a>
<ul class="tg dropdown_menu -nav" role="menu">
<li class="" id="layout_18" role="presentation">
<a aria-labelledby="layout_18" href="/doc/syntax" role="menuitem" tabindex="">${i18n['search']}</a>
<a aria-labelledby="layout_18" href="/docs/syntax" role="menuitem" tabindex="">${i18n['search']}</a>
</li>
<li class="" id="layout_18" role="presentation">
<a aria-labelledby="layout_18" href="/docs/voyant" role="menuitem" tabindex="">Voyant</a>
</li>
</ul>
</li>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment