Skip to content
Browse files

Fixes: #220 Add index page for docs

  • Loading branch information...
1 parent 339d84a commit d15b598aa324b91c2d2cabc9ee7346b46e4e2f4a @siovene siovene committed Nov 18, 2011
Showing with 48 additions and 1 deletion.
  1. +7 −1 Makefile
  2. +24 −0 docs/index.css
  3. +3 −0 docs/index.footer
  4. +14 −0 docs/index.header
View
8 Makefile
@@ -97,7 +97,12 @@ docs: init
docco $$f > /dev/null; \
done; \
done; \
- cp docs/docco.custom.css docs/docco.css
+ cp docs/docco.custom.css docs/docco.css; \
+ cat docs/index.header > docs/index.html; \
+ for f in `find docs -name '*.html' | sort`; do \
+ echo "<li><a href=\"$$(basename $$f)\">$$(basename $$f .html)</a></li>" >> docs/index.html; \
+ done; \
+ cat docs/index.footer >> docs/index.html
themes: widget_styling
@@ -151,6 +156,7 @@ clean:
# Remove generated files...
@@rm -f `find . -iname *.less.css`
@@rm -f `find . -iname *.js.compiled`
+ @@rm -f docs/*.html
init:
# Checking for JQM
View
24 docs/index.css
@@ -0,0 +1,24 @@
+body {
+ font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, FreeSerif, serif;
+ font-size: 15px;
+ line-height: 22px;
+ color: #252519;
+ background: #f5f5ff;
+ margin: 0; padding: 40px;
+}
+
+a {
+ color: #261a3b;
+}
+
+a:visited {
+ color: #261a3b;
+}
+
+p {
+ padding: 3px 0;
+}
+
+h1 {
+}
+
View
3 docs/index.footer
@@ -0,0 +1,3 @@
+ </ul>
+ </body>
+</html>
View
14 docs/index.header
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>Web UI FW documentation</title>
+ <meta http-equiv="content-type" content="text/html; charset=UTF-8">
+ <link rel="stylesheet" media="all" href="index.css" />
+ </head>
+ <body>
+ <h1>Web UI FW documentation</h1>
+ <p>
+ Click on the name of a widget to read its documentation.
+ <p>
+
+ <ul>

0 comments on commit d15b598

Please sign in to comment.
Something went wrong with that request. Please try again.