mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-11 16:39:15 +00:00
Build HTML versions of the README and CHANGELOG files.
This commit is contained in:
@@ -28,6 +28,9 @@ tests/*.diff
|
||||
|
||||
docs/html/
|
||||
|
||||
CHANGELOG.html
|
||||
README.html
|
||||
|
||||
# autotools output:
|
||||
|
||||
INSTALL
|
||||
|
||||
+10
@@ -76,9 +76,19 @@ data/ucd/UnicodeData.txt:
|
||||
|
||||
############################# documentation ###################################
|
||||
|
||||
SUFFIXES=.html .md
|
||||
|
||||
.md.html: _layouts/webpage.html
|
||||
cat $< | sed -e 's/\.md)/.html)/g' | \
|
||||
kramdown --template _layouts/webpage.html > $@
|
||||
|
||||
html:
|
||||
doxygen docs/ucd-tools.conf
|
||||
|
||||
docs: html \
|
||||
CHANGELOG.html \
|
||||
README.html
|
||||
|
||||
############################# libucd ##########################################
|
||||
|
||||
tools/ucd.py: data/ucd/PropertyValueAliases.txt
|
||||
|
||||
@@ -0,0 +1,54 @@
|
||||
<!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>
|
||||
Reference in New Issue
Block a user