aboutsummaryrefslogtreecommitdiffhomepage
path: root/site/_layouts
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/_layouts
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/_layouts')
-rw-r--r--site/_layouts/blog.html30
-rw-r--r--site/_layouts/contribute.html55
-rw-r--r--site/_layouts/home.html11
-rw-r--r--site/_layouts/posts.html54
4 files changed, 0 insertions, 150 deletions
diff --git a/site/_layouts/blog.html b/site/_layouts/blog.html
deleted file mode 100644
index 685c8a51c2..0000000000
--- a/site/_layouts/blog.html
+++ /dev/null
@@ -1,30 +0,0 @@
----
-nav: blog
----
-
-<!DOCTYPE html>
-<html lang="en" itemscope itemtype="https://schema.org/WebPage">
- {% include head.html %}
- <body>
- {% include header.html %}
-
- <div class="page-title-bar">
- <div class="container">
- <h1>Bazel Blog</h1>
- </div>
- </div>
-
- <div class="container vpad">
- <div class="row">
- <div class="col-lg-9">
- {{ content }}
- </div>
- {% include blog-sidebar.html %}
- </div>
- </div>
-
- {% include footer.html %}
- {% include blog-twitter-js.html %}
- </body>
-</html>
-
diff --git a/site/_layouts/contribute.html b/site/_layouts/contribute.html
deleted file mode 100644
index c9657cfa06..0000000000
--- a/site/_layouts/contribute.html
+++ /dev/null
@@ -1,55 +0,0 @@
----
-nav: contribute
----
-
-<!DOCTYPE html>
-<html lang="en" itemscope itemtype="https://schema.org/WebPage">
- {% include head.html %}
- <body>
- {% include header.html %}
-
- <div class="page-title-bar">
- <div class="container">
- <h1>Contribute!</h1>
- </div>
- </div>
-
- <div class="container vpad">
- <div class="row">
- <div class="col-lg-3">
- <a class="btn btn-default btn-lg btn-block sidebar-toggle"
- data-toggle="collapse" href="#sidebar-nav" aria-expanded="false"
- aria-controls="sidebar-nav">
- <i class="glyphicon glyphicon-menu-hamburger"></i> Navigation
- </a>
- <nav class="sidebar collapse" id="sidebar-nav">
- <ul class="sidebar-nav">
- <li><a href="/contributing.html">Contributing to Bazel</a></li>
- <li><a href="https://github.com/bazelbuild/bazel/wiki/Bazel-Users">Who's Using Bazel</a></li>
- <li><a href="/roadmap.html">Roadmap</a></li>
- <li><a href="/governance.html">Governance</a></li>
- </ul>
- <h3>Technical Docs</h3>
- <ul class="sidebar-nav">
- <li><a href="/designs/skyframe.html">Skyframe</a></li>
- <li><a href="/designs/index.html">Design Documents</a></li>
- <li><a href="/windows-chocolatey-maintenance.html">Maintaining Bazel Chocolatey package on Windows</a></li>
- </ul>
- <h3>External Resources</h3>
- <ul class="sidebar-nav">
- <li><a href="https://github.com/bazelbuild/bazel">GitHub</a></li>
- <li><a href="https://groups.google.com/forum/#!forum/bazel-dev">Developer mailing list</a></li>
- <li><a href="https://bazel-review.googlesource.com">Gerrit</a></li>
- <li><a href="irc://irc.freenode.net/bazel">IRC</a><li>
- </ul>
- </nav>
- </div>
- <div class="col-lg-9">
- {{ content }}
- </div>
- </div>
- </div>
-
- {% include footer.html %}
- </body>
-</html>
diff --git a/site/_layouts/home.html b/site/_layouts/home.html
deleted file mode 100644
index a68db67005..0000000000
--- a/site/_layouts/home.html
+++ /dev/null
@@ -1,11 +0,0 @@
-<!DOCTYPE html>
-<html lang="en" itemscope itemtype="https://schema.org/WebPage">
- {% include head.html %}
- <body class="body-home">
- {% include header.html %}
-
- {{ content }}
-
- {% include footer.html %}
- </body>
-</html>
diff --git a/site/_layouts/posts.html b/site/_layouts/posts.html
deleted file mode 100644
index b02dedee41..0000000000
--- a/site/_layouts/posts.html
+++ /dev/null
@@ -1,54 +0,0 @@
----
-nav: blog
-enable_comments: true
----
-
-
-<!DOCTYPE html>
-<html lang="en" itemscope itemtype="https://schema.org/WebPage">
- {% include head.html %}
- <body>
- {% include header.html %}
-
- <div class="page-title-bar">
- <div class="container">
- <h1>Bazel Blog</h1>
- </div>
- </div>
-
- <div class="container vpad">
- <div class="row">
- <div class="col-lg-9">
- <div class="blog-post">
- <h1 class="blog-post-title">{{ page.title }}</h1>
- <div class="blog-post-meta">
- <span class="text-muted">{{ page.date | date_to_long_string }}</a>
- </div>
- <div class="blog-post-content">
- {{ content }}
- </div>
- {% if page.enable_comments %}
- <div class="blog-post-comments">
- <div id="disqus_thread"></div>
- <script type="text/javascript">
- var disqus_shortname = 'googlebazel';
-
- (function() {
- var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
- dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
- (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
- })();
- </script>
- <noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript>
- </div>
- {% endif %}
- </div>
- </div>
- {% include blog-sidebar.html %}
- </div>
- </div>
-
- {% include footer.html %}
- {% include blog-twitter-js.html %}
- </body>
-</html>