From eaf8cc1be09a2c855f566fc1e56f760d327cef47 Mon Sep 17 00:00:00 2001
From: Mike McQuaid
Date: Sun, 5 Mar 2017 15:25:51 +0000
Subject: docs.brew.sh: use brew.sh theming.
Unfortunately there's no easy way to share this code with the brew.sh
site but it's at least able to have the `css/`, `img/` (root) and
`_layouts` directories in sync between the two repositories.
Some small CSS tweaks were needed to make these pages render more
attractively.
---
docs/Analytics.md | 2 +-
docs/Brew-Test-Bot.md | 12 +-
docs/_config.yml | 5 +-
docs/_layouts/base.html | 102 ++++++
docs/_layouts/home.html | 6 +
docs/_layouts/index.html | 147 +++++++++
docs/_layouts/page.html | 6 +
docs/_layouts/post.html | 11 +
docs/css/pygments.css | 59 ++++
docs/css/reset.css | 53 ++++
docs/css/screen.css | 358 ++++++++++++++++++++++
docs/favicon.ico | 1 +
docs/images/analytics.png | Bin 47698 -> 0 bytes
docs/images/brew-test-bot-failed-jenkins.png | Bin 54685 -> 0 bytes
docs/images/brew-test-bot-failed-pr.png | Bin 20086 -> 0 bytes
docs/images/brew-test-bot-failed-test.png | Bin 61395 -> 0 bytes
docs/images/brew-test-bot-passed-jenkins.png | Bin 48217 -> 0 bytes
docs/images/brew-test-bot-passed-pr.png | Bin 22722 -> 0 bytes
docs/images/brew-test-bot-triggered-pr.png | Bin 19931 -> 0 bytes
docs/img/apple-touch-icon-114x114-precomposed.png | Bin 0 -> 9328 bytes
docs/img/apple-touch-icon-120x120-precomposed.png | Bin 0 -> 10045 bytes
docs/img/apple-touch-icon-144x144-precomposed.png | Bin 0 -> 12248 bytes
docs/img/apple-touch-icon-152x152-precomposed.png | Bin 0 -> 12942 bytes
docs/img/apple-touch-icon-180x180-precomposed.png | Bin 0 -> 15557 bytes
docs/img/apple-touch-icon-57x57-precomposed.png | Bin 0 -> 4647 bytes
docs/img/apple-touch-icon-72x72-precomposed.png | Bin 0 -> 5914 bytes
docs/img/apple-touch-icon-76x76-precomposed.png | Bin 0 -> 6246 bytes
docs/img/docs/analytics.png | Bin 0 -> 47698 bytes
docs/img/docs/brew-test-bot-failed-jenkins.png | Bin 0 -> 54685 bytes
docs/img/docs/brew-test-bot-failed-pr.png | Bin 0 -> 20086 bytes
docs/img/docs/brew-test-bot-failed-test.png | Bin 0 -> 61395 bytes
docs/img/docs/brew-test-bot-passed-jenkins.png | Bin 0 -> 48217 bytes
docs/img/docs/brew-test-bot-passed-pr.png | Bin 0 -> 22722 bytes
docs/img/docs/brew-test-bot-triggered-pr.png | Bin 0 -> 19931 bytes
docs/img/favicon-16x16.png | Bin 0 -> 44048 bytes
docs/img/favicon-192x192.png | Bin 0 -> 16712 bytes
docs/img/favicon-32x32.png | Bin 0 -> 44048 bytes
docs/img/favicon-96x96.png | Bin 0 -> 44048 bytes
docs/img/favicon.ico | Bin 0 -> 5430 bytes
docs/img/homebrew-256x256.png | Bin 0 -> 23281 bytes
40 files changed, 754 insertions(+), 8 deletions(-)
create mode 100644 docs/_layouts/base.html
create mode 100644 docs/_layouts/home.html
create mode 100644 docs/_layouts/index.html
create mode 100644 docs/_layouts/page.html
create mode 100644 docs/_layouts/post.html
create mode 100644 docs/css/pygments.css
create mode 100644 docs/css/reset.css
create mode 100644 docs/css/screen.css
create mode 120000 docs/favicon.ico
delete mode 100644 docs/images/analytics.png
delete mode 100644 docs/images/brew-test-bot-failed-jenkins.png
delete mode 100644 docs/images/brew-test-bot-failed-pr.png
delete mode 100644 docs/images/brew-test-bot-failed-test.png
delete mode 100644 docs/images/brew-test-bot-passed-jenkins.png
delete mode 100644 docs/images/brew-test-bot-passed-pr.png
delete mode 100644 docs/images/brew-test-bot-triggered-pr.png
create mode 100644 docs/img/apple-touch-icon-114x114-precomposed.png
create mode 100644 docs/img/apple-touch-icon-120x120-precomposed.png
create mode 100644 docs/img/apple-touch-icon-144x144-precomposed.png
create mode 100644 docs/img/apple-touch-icon-152x152-precomposed.png
create mode 100644 docs/img/apple-touch-icon-180x180-precomposed.png
create mode 100644 docs/img/apple-touch-icon-57x57-precomposed.png
create mode 100644 docs/img/apple-touch-icon-72x72-precomposed.png
create mode 100644 docs/img/apple-touch-icon-76x76-precomposed.png
create mode 100644 docs/img/docs/analytics.png
create mode 100644 docs/img/docs/brew-test-bot-failed-jenkins.png
create mode 100644 docs/img/docs/brew-test-bot-failed-pr.png
create mode 100644 docs/img/docs/brew-test-bot-failed-test.png
create mode 100644 docs/img/docs/brew-test-bot-passed-jenkins.png
create mode 100644 docs/img/docs/brew-test-bot-passed-pr.png
create mode 100644 docs/img/docs/brew-test-bot-triggered-pr.png
create mode 100644 docs/img/favicon-16x16.png
create mode 100644 docs/img/favicon-192x192.png
create mode 100644 docs/img/favicon-32x32.png
create mode 100644 docs/img/favicon-96x96.png
create mode 100644 docs/img/favicon.ico
create mode 100644 docs/img/homebrew-256x256.png
(limited to 'docs')
diff --git a/docs/Analytics.md b/docs/Analytics.md
index b4e73f75d..40902403b 100644
--- a/docs/Analytics.md
+++ b/docs/Analytics.md
@@ -31,7 +31,7 @@ You can also view all the information that is sent by Homebrew's analytics by se
It is impossible for the Homebrew developers to match any particular event to any particular user, even if we had access to the Homebrew analytics user ID (which we do not). An example of the most user-specific information we can see from Google Analytics:
-
+
As far as we can tell it would be impossible for Google to match the randomly generated Homebrew-only analytics user ID to any other Google Analytics user ID. If Google turned evil the only thing they could do would be to lie about anonymising IP addresses and attempt to match users based on IP addresses.
diff --git a/docs/Brew-Test-Bot.md b/docs/Brew-Test-Bot.md
index 484fa3275..919204345 100644
--- a/docs/Brew-Test-Bot.md
+++ b/docs/Brew-Test-Bot.md
@@ -18,21 +18,21 @@ For example, a job which has been queued but not yet started will have a
section in the pull request that looks like this:
-
+
---
A failed build looks like this:
-
+
---
A passed build looks like this:
-
+
---
@@ -44,14 +44,14 @@ When you click this you'll see the results.
A passed build looks like this:
-
+
---
A failed build looks like this:
-
+
---
@@ -59,6 +59,6 @@ You can click the test results link
(e.g. `brew-test-bot.el_capitan.install openssl`) to
view the failed test output:
-
+
---
diff --git a/docs/_config.yml b/docs/_config.yml
index 687739b4a..dce1f3bd3 100644
--- a/docs/_config.yml
+++ b/docs/_config.yml
@@ -1,2 +1,5 @@
-theme: jekyll-theme-cayman
exclude: [bin, vendor, CNAME, Gemfile, Gemfile.lock]
+
+gems:
+ - jekyll-feed
+ - jekyll-seo-tag
diff --git a/docs/_layouts/base.html b/docs/_layouts/base.html
new file mode 100644
index 000000000..71ca22ce4
--- /dev/null
+++ b/docs/_layouts/base.html
@@ -0,0 +1,102 @@
+
+
+