generate man page from docs

generate man page from docs
This commit is contained in:
Thomas Fussell 2017-09-08 16:58:55 -04:00
parent 50280ba2ab
commit 20d3a1dc98
3 changed files with 1872 additions and 0 deletions

10
book.json Normal file
View File

@ -0,0 +1,10 @@
{
"plugins": ["build"],
"pluginsConfig": {
"build": {
"template": "docs/template.ejs",
"format": "man",
"output": "docs/xlnt.3"
}
}
}

3
docs/template.ejs Normal file
View File

@ -0,0 +1,3 @@
<% for(var i = 0; i < summary.length; i++) {%>
<%- summary[i].content %>
<% } %>

1859
docs/xlnt.3 Normal file

File diff suppressed because it is too large Load Diff