HTML CSS Shell Python Other
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
_includes GDPR Compliance: Add link to Google Privacy Policy to Bazel Blog Foot… May 24, 2018
_layouts Display authors on the posts index and give them some more visibility ( May 16, 2018
_plugins Add templates and third_party Bootstrap and Font Awesome assets. (#1) May 3, 2017
_posts Fix broken link to incremental dexing post (#107) Aug 6, 2018
_sass Fix table rendering (#84) Apr 13, 2018
assets Add blog post on how Android builds work in Bazel (#62) Feb 21, 2018
css Fix table rendering (#84) Apr 13, 2018
images Blog post about new logo and homepage Jul 5, 2017
scripts Google Cloud Container Builder files to push the website on post-submit Oct 23, 2017
third_party Add templates and third_party Bootstrap and Font Awesome assets. (#1) May 3, 2017
.gitignore Sync Footer and Header with latest version from bazel-website. (#12) Jun 22, 2017
404.md Add templates and third_party Bootstrap and Font Awesome assets. (#1) May 3, 2017
BUILD Create a jekyll_build target to build and deploy the site Oct 23, 2017
CONTRIBUTING.md Add Readme and License Apr 20, 2017
LICENSE Add Readme and License Apr 20, 2017
README.md Add list of authors to the post template May 16, 2018
WORKSPACE Add templates and third_party Bootstrap and Font Awesome assets. (#1) May 3, 2017
_config.yml Add c-parsons to the bazel authors (#109) Jul 31, 2018
archive.html Don't use the posts layout for non-posts May 16, 2018
feed.xml Fix RSS feed base URL (#70) Mar 4, 2018
index.html Display authors on the posts index and give them some more visibility ( May 16, 2018

README.md

Bazel blog

This repository hosts the content of the Bazel blog, available at https://blog.bazel.build/

Writing a new blog post

Send a Pull Request adding a file to https://github.com/bazelbuild/bazel-blog/tree/master/_posts using the following filename format: <year>-<month>-<day>-<title>.md This filename format is required by the Jekyll processor.

Begin your post with the following lines:

---
layout: posts
title: <whatever>
authors:
  - username1  # See _config.yml for the list of authors.
  - username2
---

If you omit the layout, the blog post will not be formatted properly. If you omit the title, it won't have a title.

Write the body of your post below the "---". If you have headers in your post, use H2 and smaller headers (in makedown H2 is denoted by ##).

Prerequisites

To build the site, you will need Jekyll version 2.5.3 or above. For instance, it can be installed with apt-get install jekyll on recent Ubuntu (tested on 16.10).

To deploy the site, you will need gsutil and to authenticate with gcloud auth login.

Running the website locally

To stage the site, run bazel run //:site.

See the Jekyll site if you need more info.

Deploying the website

To deploy a build of the website, run bazel run //:site -- --push.