Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plantuml support #271

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
language: node_js
node_js:
- "node"
- "8"
- "7"
- "6"
- "5"
- "4"
- "12"
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
FROM alpine:3.5

RUN apk add --update nodejs
FROM node:alpine

WORKDIR /var/openKB

Expand Down
1 change: 1 addition & 0 deletions bin/uglify.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ uglifyFile(path.join('public', 'javascripts', 'openKB.js'), 'js');
uglifyFile('node_modules/lunr/lunr.js', 'js');
uglifyFile('public/javascripts/jpushmenu.js', 'js');
uglifyFile('public/javascripts/markdown-it-classy.js', 'js');
uglifyFile('public/javascripts/markdown-it-plantuml.js', 'js');
uglifyFile('public/javascripts/inline-attachment.js', 'js');
uglifyFile('public/javascripts/bootstrap-validator.js', 'js');
uglifyFile('public/javascripts/codemirror.inline-attachment.js', 'js');
Expand Down
3 changes: 3 additions & 0 deletions config/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@
"cssLinkColor": "",
"cssTextColor": "",
"cssFontFamily": ""
},
"plantuml_server": {
"base_url": "http://www.plantuml.com/plantuml"
}
}
}
6 changes: 5 additions & 1 deletion locales/en.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,5 +174,9 @@
"Previous versions": "Previous versions",
"Topic": "Topic",
"Suggestion successfully processed": "Suggestion successfully processed",
"Style": "Style"
"Style": "Style",
"Visible state": "Visible state",
"Public": "Public",
"Private": "Private",
"Cannot read property 'base_url' of undefined": "Cannot read property 'base_url' of undefined"
}
Loading