aboutsummaryrefslogtreecommitdiffhomepage
path: root/site/_includes
diff options
context:
space:
mode:
authorGravatar dzc <dzc@google.com>2017-05-31 20:37:50 +0200
committerGravatar László Csomor <laszlocsomor@google.com>2017-06-01 14:07:52 +0200
commit22b85a2a3c79c6f3aef1e0a61e485bb135be4551 (patch)
tree8235e8237b171ced2fa9f39f054f9a7d808c0771 /site/_includes
parent40d64293b57f0d62bb15599c730f38484b91d3f0 (diff)
Restructure site/ directory into docs/ which only contains Bazel documentation.
The new docs/ directory in the bazel source tree will only contain the Bazel docs site, which is hosted at docs.bazel.build. This change deletes the marketing site and blog, which have been migrated to the bazel-website and bazel-blog GitHub repositories respectively. This change also updates the serve-docs.sh and ci/build.sh under scripts/ in preparation for publishing the docs site. Note that to help make reviews more manageable, this change is limited to moving files to their new locations. Here are the follow-up changes: * Update all links in docs to remove versions/master in paths and to add correct bazel.build subdomain when linking to pages on the marketing site or the blog. * Set up versioned directories on GCS bucket and add tooling for versioning docs This change is also coordinated with https://bazel-review.googlesource.com/c/11568/ to have the PublishSite job publish to docs.bazel.build rather than www.bazel.build. Issue #2397 RELNOTES: None PiperOrigin-RevId: 157612651
Diffstat (limited to 'site/_includes')
-rw-r--r--site/_includes/blog-sidebar.html20
-rw-r--r--site/_includes/blog-twitter-js.html6
2 files changed, 0 insertions, 26 deletions
diff --git a/site/_includes/blog-sidebar.html b/site/_includes/blog-sidebar.html
deleted file mode 100644
index f56362318a..0000000000
--- a/site/_includes/blog-sidebar.html
+++ /dev/null
@@ -1,20 +0,0 @@
- <div class="col-lg-3">
- <h2>Twitter</h2>
- <p>For more frequent updates, follow us on Twitter.</p>
- <p><a class="twitter-follow-button" href="https://twitter.com/bazelbuild" data-show-count="false" data-size="large">Follow @bazelbuild</a></p>
- <h2>Discuss</h2>
- <p>Join the discussion at our <a href="https://groups.google.com/forum/#!forum/bazel-discuss">mailing list</a>.</p>
- <h2>Subscribe</h2>
- <p>Subscribe to our blog via the <a href="/blog/feed.xml">RSS Feed</a> or via email:</p>
- <div class="well">
- <form action="https://feedburner.google.com/fb/a/mailverify" method="post" target="popupwindow" onsubmit="window.open('https://feedburner.google.com/fb/a/mailverify?uri=BazelBlog', 'popupwindow', 'scrollbars=yes,width=550,height=520');return true">
- <div class="form-group">
- <input type="text" class="form-control" name="email" placeholder="name@email.com">
- </div>
- <input type="hidden" value="BazelBlog" name="uri">
- <input type="hidden" name="loc" value="en_US">
- <button type="submit" class="btn btn-primary btn-block">Subscribe</button>
- </form>
- <p>Delivered by <a href="https://feedburner.google.com" target="_blank">FeedBurner</a></p>
- </div>
- </div>
diff --git a/site/_includes/blog-twitter-js.html b/site/_includes/blog-twitter-js.html
deleted file mode 100644
index c6dfa460da..0000000000
--- a/site/_includes/blog-twitter-js.html
+++ /dev/null
@@ -1,6 +0,0 @@
-<!--
-JavaScript used by the Follow @bazelbuild on Twitter button on the blog sidebar.
-Code from: https://dev.twitter.com/web/follow-button
--->
-
-<script>window.twttr=(function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],t=window.twttr||{};if(d.getElementById(id))return;js=d.createElement(s);js.id=id;js.src="https://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);t._e=[];t.ready=function(f){t._e.push(f);};return t;}(document,"script","twitter-wjs"));</script>