From e261832b1ab17a98cd2b5b706d7bf657589abfe0 Mon Sep 17 00:00:00 2001 From: Noam Postavsky Date: Sat, 17 Feb 2018 19:55:36 -0500 Subject: [PATCH] Add some styling to doc, improve top menu * doc/snippet-expansion.org: * doc/snippet-organization.org: Fix typos. * doc/stylesheets/manual.css: Add some simple styling. Mainly, this sets 'max-width' for the main text, and centers it. Adjust the background color. * doc/nav-menu.html.inc: Adjust 'class' of top menu. * doc/yas-doc-helper.el (yas--make-preamble): New function, used for :html-preamble. It sets the element for the current page in the top menu as bolded text to aid navigation. * doc/stylesheets/styles.css: Remove, it was unused since the old rst manual was removed. --- doc/nav-menu.html.inc | 4 +- doc/snippet-expansion.org | 2 +- doc/snippet-organization.org | 5 +- doc/stylesheets/manual.css | 33 ++++++++----- doc/stylesheets/styles.css | 93 ------------------------------------ doc/yas-doc-helper.el | 22 +++++++-- 6 files changed, 46 insertions(+), 113 deletions(-) delete mode 100644 doc/stylesheets/styles.css diff --git a/doc/nav-menu.html.inc b/doc/nav-menu.html.inc index 2a3f0a1..3e74cf8 100644 --- a/doc/nav-menu.html.inc +++ b/doc/nav-menu.html.inc @@ -3,8 +3,8 @@
  • Overview
  • Intro and Tutorial -
  • Snippet -