From 3e76d6565603fafa2c85ad81d7b6345c4e279c72 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sun, 28 May 2017 22:50:57 -0700 Subject: Rearrange all the docs to allow for a docs/major.minor/ setup --- _layouts/docs.html | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 _layouts/docs.html (limited to '_layouts/docs.html') diff --git a/_layouts/docs.html b/_layouts/docs.html new file mode 100644 index 000000000..7bbb06b87 --- /dev/null +++ b/_layouts/docs.html @@ -0,0 +1,35 @@ + + + + {% include header.html %} + + + +
+ Skip to main content +
+
+ + {% include nav-home.html %} + +
+
+
+ {% include nav-docs.html %} +
+
+

{{ page.title }}

+

{{ page.description }}

+ {% include ads.html %} + {{ content }} +
+ + {% if page.toc %} +
+ {{ content | toc_only }} +
+ {% endif %} +
+
+ + -- cgit v1.2.3 From 6ee35ced8650d65fbdbb5bbbe4575f53ae8fc801 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Mon, 29 May 2017 10:52:13 -0700 Subject: move scripts to separate include so we can include them across layouts even if the footer isn't there --- _layouts/docs.html | 2 ++ 1 file changed, 2 insertions(+) (limited to '_layouts/docs.html') diff --git a/_layouts/docs.html b/_layouts/docs.html index 7bbb06b87..26ba91aae 100644 --- a/_layouts/docs.html +++ b/_layouts/docs.html @@ -31,5 +31,7 @@ {% endif %} + + {% include scripts.html %} -- cgit v1.2.3 From 92cfca79b1189b4cd89a8b71ba517466e0826bf3 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Tue, 30 May 2017 13:25:26 -0700 Subject: rename files --- _layouts/docs.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '_layouts/docs.html') diff --git a/_layouts/docs.html b/_layouts/docs.html index 26ba91aae..feecf3875 100644 --- a/_layouts/docs.html +++ b/_layouts/docs.html @@ -10,12 +10,12 @@ - {% include nav-home.html %} + {% include docs-navbar.html %}
- {% include nav-docs.html %} + {% include docs-sidebar.html %}

{{ page.title }}

-- cgit v1.2.3