Browse Source

Build HTML versions of the README and CHANGELOG files.

master
Reece H. Dunn 9 years ago
parent
commit
b0fc50b954
3 changed files with 67 additions and 0 deletions
  1. 3
    0
      .gitignore
  2. 10
    0
      Makefile.am
  3. 54
    0
      _layouts/webpage.html

+ 3
- 0
.gitignore View File



docs/html/ docs/html/


CHANGELOG.html
README.html

# autotools output: # autotools output:


INSTALL INSTALL

+ 10
- 0
Makefile.am View File



############################# documentation ################################### ############################# documentation ###################################


SUFFIXES=.html .md

.md.html: _layouts/webpage.html
cat $< | sed -e 's/\.md)/.html)/g' | \
kramdown --template _layouts/webpage.html > $@

html: html:
doxygen docs/ucd-tools.conf doxygen docs/ucd-tools.conf


docs: html \
CHANGELOG.html \
README.html

############################# libucd ########################################## ############################# libucd ##########################################


tools/ucd.py: data/ucd/PropertyValueAliases.txt tools/ucd.py: data/ucd/PropertyValueAliases.txt

+ 54
- 0
_layouts/webpage.html View File

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width; initial-scale=1"/>
<meta name="robots" content="all"/>
<style type="text/css">
body
{
font-family: sans-serif;
font-size: 14px;
margin: 1em;
}

*:first-child
{
margin-top: 0;
}

code, pre
{
font-family: monospace;
background: #F7F7F7;
color: navy;
}

code
{
font-size: 85%;
padding: 0.2em;
}

pre
{
margin-left: 3em;
padding: 1em;
}

th
{
text-align: left;
}

hr
{
border: 0;
border-bottom: 1px solid #BBB;
}
</style>
</head>
<body>
<%= @body %>
</body>
</html>

Loading…
Cancel
Save