Add script to generate user guide HTML
This commit is contained in:
1 parent
dbc5560aec
commit
f5756e9523
8 files changed
+335
-2
No files matched your search
@@ -0,0 +1,68 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>Propane User Guide<%= subpage_title %> - Version <%= Propane::VERSION %></title>
|
||||
<style>
|
||||
body {
|
||||
background-color: #CCC;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
}
|
||||
#body-content {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
margin-top: 1em;
|
||||
margin-bottom: 1em;
|
||||
border: 1px solid black;
|
||||
background-color: #FFF;
|
||||
width: 120ex;
|
||||
padding: 2ex;
|
||||
}
|
||||
a {
|
||||
text-decoration: none;
|
||||
}
|
||||
.separator {
|
||||
height: 2em;
|
||||
}
|
||||
.img_block_center {
|
||||
display: block;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
.page_nav {
|
||||
width: 100%;
|
||||
table-layout: fixed;
|
||||
}
|
||||
.page_nav_toc {
|
||||
text-align: center;
|
||||
}
|
||||
.page_nav_next {
|
||||
text-align: right;
|
||||
}
|
||||
.code {
|
||||
padding-left: 2ex;
|
||||
width: 116ex;
|
||||
overflow-x: auto;
|
||||
}
|
||||
.ruby_code .normal {}
|
||||
.ruby_code .comment { color: #005; font-style: italic; }
|
||||
.ruby_code .keyword { color: #A00; font-weight: bold; }
|
||||
.ruby_code .method { color: #077; }
|
||||
.ruby_code .class { color: #074; }
|
||||
.ruby_code .module { color: #050; }
|
||||
.ruby_code .punct { color: #447; font-weight: bold; }
|
||||
.ruby_code .symbol { color: #099; }
|
||||
.ruby_code .string { color: #090; }
|
||||
.ruby_code .char { color: #F07; }
|
||||
.ruby_code .ident { color: #004; }
|
||||
.ruby_code .constant { color: #07F; }
|
||||
.ruby_code .regex { color: #B66; }
|
||||
.ruby_code .number { color: #D55; }
|
||||
.ruby_code .attribute { color: #377; }
|
||||
.ruby_code .global { color: #3B7; }
|
||||
.ruby_code .expr { color: #227; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="body-content"><%= content %></div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in new issue
Block a user