Include header and footer when generating documentation.

pull/7/head
Ferry Boender 9 years ago
parent fef4ee1f62
commit bacc0821ff
  1. 2
      .gitignore
  2. 9
      Makefile
  3. 2
      doc/footer.html
  4. 11
      doc/header.html

2
.gitignore vendored

@ -4,7 +4,7 @@
*.deb
*.tar.gz
*.zip
doc/*.html
doc/MANUAL.html
README.html
examples/native/htaccess
examples/simple/htaccess

@ -13,8 +13,13 @@ uninstall:
release: release_src release_deb release_rpm
doc:
markdown_py doc/MANUAL.md > doc/MANUAL.html
markdown_py README.md > README.html
cat doc/header.html > doc/MANUAL.html
markdown_py doc/MANUAL.md >> doc/MANUAL.html
cat doc/footer.html >> doc/MANUAL.html
cat doc/header.html > README.html
markdown_py README.md >> README.html
cat doc/footer.html >> README.html
release_src: doc
@echo "Making release for version $(REL_VERSION)"

@ -0,0 +1,2 @@
</body>
</html>

@ -0,0 +1,11 @@
<html>
<head>
<style>
body { font-family: sans-serif; width: 70%; margin: 32px auto 32px auto; text-align: justify; }
pre { font-family: monospace; background-color: #F4F4F4; overflow-x: auto; }
@media screen and (max-width: 800px) {
body { width: 95%; }
}
</style>
</head>
<body>
Loading…
Cancel
Save