forked from bazelbuild/bazel
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Include Jekyll layout files, style sheets, and Bazel logo images in the
public Bazel tree. -- MOS_MIGRATED_REVID=120787331
- Loading branch information
1 parent
02669d7
commit bd69080
Showing
22 changed files
with
1,200 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
bazel.io |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
destination: production | ||
markdown: redcarpet | ||
paginate: 10 | ||
highlighter: pygments | ||
sass: | ||
sass_dir: _sass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<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="[email protected]"> | ||
</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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<!-- | ||
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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
<footer class="footer"> | ||
<div class="container"> | ||
<div class="row"> | ||
<div class="col-lg-12"> | ||
<p class="text-muted">© 2015 Google</p> | ||
</div> | ||
</div> | ||
</div> | ||
</footer> | ||
|
||
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) --> | ||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script> | ||
<!-- Include all compiled plugins (below), or include individual files as needed --> | ||
<script src="/assets/js/bootstrap.min.js"></script> | ||
|
||
<script> | ||
var shiftWindow = function() { | ||
if (location.hash.length !== 0) { | ||
window.scrollBy(0, -50); | ||
} | ||
}; | ||
window.addEventListener("hashchange", shiftWindow); | ||
|
||
var highlightCurrentSidebarNav = function() { | ||
var href = location.pathname; | ||
var item = $('#sidebar-nav [href$="' + href + '"]'); | ||
if (item) { | ||
var li = item.parent(); | ||
li.addClass("active"); | ||
|
||
if (li.parent() && li.parent().is("ul")) { | ||
do { | ||
var ul = li.parent(); | ||
if (ul.hasClass("collapse")) { | ||
ul.collapse("show"); | ||
} | ||
li = ul.parent(); | ||
} while (li && li.is("li")); | ||
} | ||
} | ||
}; | ||
|
||
$(document).ready(function() { | ||
// Scroll to anchor of location hash, adjusted for fixed navbar. | ||
window.setTimeout(function() { | ||
shiftWindow(); | ||
}, 1); | ||
|
||
// Flip the caret when submenu toggles are clicked. | ||
$(".sidebar-submenu").on("show.bs.collapse", function() { | ||
var toggle = $('[href$="#' + $(this).attr('id') + '"]'); | ||
if (toggle) { | ||
toggle.addClass("dropup"); | ||
} | ||
}); | ||
$(".sidebar-submenu").on("hide.bs.collapse", function() { | ||
var toggle = $('[href$="#' + $(this).attr('id') + '"]'); | ||
if (toggle) { | ||
toggle.removeClass("dropup"); | ||
} | ||
}); | ||
|
||
// Highlight the current page on the sidebar nav. | ||
highlightCurrentSidebarNav(); | ||
}); | ||
</script> | ||
|
||
<!-- Google Analytics tracking code --> | ||
<script> | ||
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ | ||
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), | ||
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) | ||
})(window,document,'script','//www.google-analytics.com/analytics.js','ga'); | ||
|
||
ga('create', 'UA-61082125-1', 'auto'); | ||
ga('send', 'pageview'); | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<title>{{ page.title }} - Bazel</title> | ||
|
||
<script> | ||
var current_url = window.location.href; | ||
var bad_url = new RegExp("^https?://bazelbuild.github.io/bazel/"); | ||
if (bad_url.test(current_url)) { | ||
window.location.replace(current_url.replace(bad_url, "http://bazel.io/")); | ||
} | ||
</script> | ||
|
||
<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site_root }}"> | ||
|
||
<!-- Webfont --> | ||
<link href="http://fonts.googleapis.com/css?family=RobotoDraft:300,400,500|Source+Code+Pro:400,500,700" rel="stylesheet"> | ||
|
||
<link rel="shortcut icon" type="image/png" href="/images/favicon.ico"> | ||
|
||
<!-- Bootstrap --> | ||
<link href="/assets/css/bootstrap.min.css" rel="stylesheet"> | ||
<link href="/assets/css/font-awesome.min.css" rel="stylesheet"> | ||
|
||
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries --> | ||
<!-- WARNING: Respond.js doesn't work if you view the page via file:// --> | ||
<!--[if lt IE 9]> | ||
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script> | ||
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> | ||
<![endif]--> | ||
|
||
<!-- Custom stylesheet --> | ||
<link rel="stylesheet" type="text/css" href="/css/main.css" /> | ||
|
||
<!-- metadata --> | ||
<meta name="og:title" content="Bazel"/> | ||
<meta name="og:image" content="/images/bazel-og-image.png"/> | ||
<meta name="og:description" content="Correct, reproducible, fast builds for everyone"/> | ||
</head> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
<nav id="common-nav" class="navbar navbar-inverse navbar-fixed-top"> | ||
<div class="container"> | ||
<!-- Brand and toggle get grouped for better mobile display --> | ||
<div class="navbar-header"> | ||
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"> | ||
<span class="sr-only">Toggle navigation</span> | ||
<span class="icon-bar"></span> | ||
<span class="icon-bar"></span> | ||
<span class="icon-bar"></span> | ||
</button> | ||
<a class="navbar-brand" href="/"> | ||
<img src="/images/bazel-navbar.png" height="30px"> | ||
</a> | ||
</div> | ||
|
||
<!-- Collect the nav links, forms, and other content for toggling --> | ||
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1"> | ||
<form class="navbar-form navbar-right" action="/search.html" id="cse-search-box"> | ||
<div class="form-group"> | ||
<input type="hidden" name="cx" value="012346921571893344015:xv_nfgpzbu4"> | ||
<input type="hidden" name="cof" value="FORID:10"> | ||
<input type="hidden" name="ie" value="UTF-8"> | ||
<input type="search" name="q" class="form-control input-sm" placeholder="Search"> | ||
</div> | ||
</form> | ||
<ul class="nav navbar-nav navbar-right"> | ||
<li{% if page.nav == "docs" %} class="active"{% endif %}> | ||
<a href="/docs/install.html">Docs</a> | ||
</li> | ||
<li{% if page.nav == "community" %} class="active"{% endif %}> | ||
<a href="/contributing.html">Community</a> | ||
</li> | ||
<li{% if page.nav == "faq" %} class="active"{% endif %}> | ||
<a href="/faq.html">FAQ</a></li> | ||
<li{% if page.nav == "blog" %} class="active"{% endif %}> | ||
<a href="/blog">Blog</a> | ||
</li> | ||
<li><a href="https://github.com/bazelbuild/bazel">GitHub</a></li> | ||
<li><a href="https://twitter.com/bazelbuild" class="nav-icon"><i class="fa fa-twitter"></i></a></li> | ||
<li><a href="https://groups.google.com/forum/#!forum/bazel-discuss" class="nav-icon"><i class="fa fa-comments"></i></a></li> | ||
</ul> | ||
</div><!-- /.navbar-collapse --> | ||
</div><!-- /.container-fluid --> | ||
</nav> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
--- | ||
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> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
--- | ||
nav: community | ||
--- | ||
|
||
<!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>Community</h1> | ||
</div> | ||
</div> | ||
|
||
<div class="container vpad"> | ||
<div class="row"> | ||
<div class="col-lg-2 col-md-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="/users.html">Who's Using Bazel</a></li> | ||
<li><a href="/roadmap.html">Roadmap</a></li> | ||
<li><a href="/governance.html">Governance</a></li> | ||
</ul> | ||
<h3>Get support</h3> | ||
<ul class="sidebar-nav"> | ||
<li><a href="/support.html">Support Policy</a></li> | ||
<li><a href="https://groups.google.com/forum/#!forum/bazel-discuss">User mailing list</a></li> | ||
<li><a href="https://github.com/bazelbuild/bazel/issues">Issue tracker</a></li> | ||
<li><a href="http://www.twitter.com/bazelbuild">Twitter</a></li> | ||
<li><a href="irc://irc.freenode.net/bazel">IRC (freenode.net#bazel)</a></li> | ||
</ul> | ||
<h3>Get Involved</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> | ||
</ul> | ||
</nav> | ||
</div> | ||
<div class="col-lg-10 col-md-9"> | ||
{{ content }} | ||
</div> | ||
</div> | ||
</div> | ||
|
||
{% include footer.html %} | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<!DOCTYPE html> | ||
<html lang="en" itemscope itemtype="https://schema.org/WebPage"> | ||
{% include head.html %} | ||
<body> | ||
{% include header.html %} | ||
|
||
{% if page.title %} | ||
<div class="page-title-bar"> | ||
<div class="container"> | ||
<h1>{{ page.title }}</h1> | ||
</div> | ||
</div> | ||
{% endif %} | ||
|
||
<div class="container"> | ||
{{ content }} | ||
</div> | ||
|
||
{% include footer.html %} | ||
</body> | ||
</html> |
Oops, something went wrong.