Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
DARIAH-DE
TextGridRep Portal
Commits
593a3970
Commit
593a3970
authored
Mar 24, 2020
by
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
Changes
9
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
build.gradle
View file @
593a3970
...
...
@@ -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'
,
...
...
src/main/resources/
docs/index.de.md
→
docs/index.de.md
View file @
593a3970
File moved
src/main/resources/
docs/index.en.md
→
docs/index.en.md
View file @
593a3970
File moved
src/main/resources/
docs/syntax.de.md
→
docs/syntax.de.md
View file @
593a3970
File moved
src/main/resources/
docs/syntax.en.md
→
docs/syntax.en.md
View file @
593a3970
File moved
docs/voyant.de.md
0 → 100644
View file @
593a3970
# ZUTUN
docs/voyant.en.md
0 → 100644
View file @
593a3970
# TODO
src/main/java/info/textgrid/rep/markdown/DocController.java
View file @
593a3970
...
...
@@ -28,7 +28,7 @@ public class DocController {
return
renderMarkdown
(
model
,
"index"
,
locale
);
}
@GetMapping
(
"/doc/{doc}"
)
@GetMapping
(
"/doc
s
/{doc}"
)
public
String
renderMarkdown
(
Model
model
,
@PathVariable
(
"doc"
)
String
doc
,
...
...
src/main/webapp/WEB-INF/jsp/base/navigation.jsp
View file @
593a3970
...
...
@@ -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>
...
...
@@ -107,4 +110,4 @@
#end
-->
</ul>
</nav>
\ No newline at end of file
</nav>
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment