kudu-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mi...@apache.org
Subject incubator-kudu git commit: Change the TOC to display only the section titles
Date Fri, 08 Apr 2016 22:59:28 GMT
Repository: incubator-kudu
Updated Branches:
  refs/heads/gh-pages 456ddb44b -> 073938d7a


Change the TOC to display only the section titles

In addition, use a bullet list for the TOC

Change-Id: I7473686b775b48966e5a4bebbb22e4401eeb2f07
Reviewed-on: http://gerrit.cloudera.org:8080/2706
Reviewed-by: Mike Percy <mpercy@apache.org>
Tested-by: Mike Percy <mpercy@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/incubator-kudu/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-kudu/commit/073938d7
Tree: http://git-wip-us.apache.org/repos/asf/incubator-kudu/tree/073938d7
Diff: http://git-wip-us.apache.org/repos/asf/incubator-kudu/diff/073938d7

Branch: refs/heads/gh-pages
Commit: 073938d7a2e7cb5557988c75603cfd6d407d5c6b
Parents: 456ddb4
Author: Misty Stanley-Jones <mstanleyjones@cloudera.com>
Authored: Fri Apr 1 15:33:58 2016 -0700
Committer: Misty Stanley-Jones <misty@apache.org>
Committed: Fri Apr 8 22:43:03 2016 +0000

----------------------------------------------------------------------
 _config.yml  | 3 +++
 css/kudu.css | 8 ++++++++
 faq.md       | 2 +-
 3 files changed, 12 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-kudu/blob/073938d7/_config.yml
----------------------------------------------------------------------
diff --git a/_config.yml b/_config.yml
index 318a8b0..6d86499 100644
--- a/_config.yml
+++ b/_config.yml
@@ -16,6 +16,9 @@ excerpt_separator: "<!--more-->"
 # TOC function we use on the FAQ page.
 markdown: kramdown
 
+kramdown:
+    toc_levels: 1..3
+
 # Pagination settings for the blog.
 paginate: 5
 paginate_path: "/blog/page/:num"

http://git-wip-us.apache.org/repos/asf/incubator-kudu/blob/073938d7/css/kudu.css
----------------------------------------------------------------------
diff --git a/css/kudu.css b/css/kudu.css
index f304dc3..7d5b8b9 100644
--- a/css/kudu.css
+++ b/css/kudu.css
@@ -136,6 +136,14 @@ footer {
     font-size: 18px;
     font-weight: bold;
     padding: 20px 0 0 0;
+    margin: 20px 0 0 0;
+}
+
+.faq h4 {
+    color: #333;
+    font-size: 14px;
+    font-weight: bold;
+    padding: 20px 0 0 0;
     border-top: 1px solid #dddddd;
     margin: 20px 0 0 0;
 }

http://git-wip-us.apache.org/repos/asf/incubator-kudu/blob/073938d7/faq.md
----------------------------------------------------------------------
diff --git a/faq.md b/faq.md
index 9dbf4f2..6dbd124 100644
--- a/faq.md
+++ b/faq.md
@@ -8,7 +8,7 @@ single_col_extra_classes: faq
 ## Frequently Asked Questions
 {:.no_toc}
 
-1. TOC
+- TOC
 {:toc}
 
 ### Project Motivation


Mime
View raw message