Skip to content
Snippets Groups Projects
Commit abbcc1f7 authored by angupt's avatar angupt
Browse files

now generated md files names will be in lower case and RDFS_LABEL will be in H1 tag

parent 4776ff08
No related branches found
No related tags found
No related merge requests found
...@@ -95,7 +95,7 @@ function generateMarkdown(schema, cb) { ...@@ -95,7 +95,7 @@ function generateMarkdown(schema, cb) {
if (err) { if (err) {
done(err); done(err);
} else { } else {
writeFile(path.join(outDir, 'md'), cls[consts.RDFS_LABEL] + '.md', str, done); writeFile(path.join(outDir, 'md'), cls[consts.RDFS_LABEL].toLowerCase() + '.md', str, done);
} }
}); });
}, },
......
...@@ -22,7 +22,7 @@ function escape(s) { ...@@ -22,7 +22,7 @@ function escape(s) {
return s.replace(/\r\n/g, '<br>'); return s.replace(/\r\n/g, '<br>');
} }
%> %>
*<%- clazz[consts.RDFS_LABEL] %>* # <%- clazz[consts.RDFS_LABEL] %>
<%- clazz[consts.RDFS_COMMENT] %> <%- clazz[consts.RDFS_COMMENT] %>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment