diff --git a/doc/nav-menu.html.inc b/doc/nav-menu.html.inc new file mode 100644 index 0000000..a0d8a3e --- /dev/null +++ b/doc/nav-menu.html.inc @@ -0,0 +1,15 @@ + diff --git a/doc/org-setup.inc b/doc/org-setup.inc index 96b7028..98f7c04 100644 --- a/doc/org-setup.inc +++ b/doc/org-setup.inc @@ -4,6 +4,6 @@ #+LINK: sym file:snippet-reference.org::#%s -#+LINK_HOME: ./index.html #+OPTIONS: author:nil num:nil #+AUTHOR: +#+STYLE: diff --git a/doc/stylesheets/manual.css b/doc/stylesheets/manual.css new file mode 100644 index 0000000..f2677c5 --- /dev/null +++ b/doc/stylesheets/manual.css @@ -0,0 +1,26 @@ +nav > ul > li.center > ul { + padding: 0; +} + +nav li { + vertical-align: top; + + display: inline; + list-style-type: none; + padding: 0.5em; +} + +nav > ul > li { + display: inline-block; +} + +/* match org's css for
*/ +code { + background-color: #F3F5F7; + font-family: courier, monospace; +} + +#content { + margin-left: 5%; + margin-right: 10%; +} diff --git a/doc/yas-doc-helper.el b/doc/yas-doc-helper.el index 495bf9e..a782c1f 100755 --- a/doc/yas-doc-helper.el +++ b/doc/yas-doc-helper.el @@ -124,6 +124,10 @@ (proj-plist (list :base-directory dir :publishing-directory dir + :html-preamble + (with-temp-buffer + (insert-file-contents (expand-file-name "nav-menu.html.inc" dir)) + (buffer-string)) :html-postamble (concat "Generated by %c on %d from " rev "
\n"