{"action":"created","issue":{"url":"https://api.github.com/repos/cockroachdb/docs/issues/174","repository_url":"https://api.github.com/repos/cockroachdb/docs","labels_url":"https://api.github.com/repos/cockroachdb/docs/issues/174/labels{/name}","comments_url":"https://api.github.com/repos/cockroachdb/docs/issues/174/comments","events_url":"https://api.github.com/repos/cockroachdb/docs/issues/174/events","html_url":"https://github.com/cockroachdb/docs/pull/174","id":144616897,"number":174,"title":"using variables for version and build","user":{"login":"jseldess","id":15893490,"avatar_url":"https://avatars.githubusercontent.com/u/15893490?v=3","gravatar_id":"","url":"https://api.github.com/users/jseldess","html_url":"https://github.com/jseldess","followers_url":"https://api.github.com/users/jseldess/followers","following_url":"https://api.github.com/users/jseldess/following{/other_user}","gists_url":"https://api.github.com/users/jseldess/gists{/gist_id}","starred_url":"https://api.github.com/users/jseldess/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jseldess/subscriptions","organizations_url":"https://api.github.com/users/jseldess/orgs","repos_url":"https://api.github.com/users/jseldess/repos","events_url":"https://api.github.com/users/jseldess/events{/privacy}","received_events_url":"https://api.github.com/users/jseldess/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"mberhault","id":5901480,"avatar_url":"https://avatars.githubusercontent.com/u/5901480?v=3","gravatar_id":"","url":"https://api.github.com/users/mberhault","html_url":"https://github.com/mberhault","followers_url":"https://api.github.com/users/mberhault/followers","following_url":"https://api.github.com/users/mberhault/following{/other_user}","gists_url":"https://api.github.com/users/mberhault/gists{/gist_id}","starred_url":"https://api.github.com/users/mberhault/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mberhault/subscriptions","organizations_url":"https://api.github.com/users/mberhault/orgs","repos_url":"https://api.github.com/users/mberhault/repos","events_url":"https://api.github.com/users/mberhault/events{/privacy}","received_events_url":"https://api.github.com/users/mberhault/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2016-03-30T14:50:27Z","updated_at":"2016-03-30T14:53:16Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/cockroachdb/docs/pulls/174","html_url":"https://github.com/cockroachdb/docs/pull/174","diff_url":"https://github.com/cockroachdb/docs/pull/174.diff","patch_url":"https://github.com/cockroachdb/docs/pull/174.patch"},"body":"Instead of updating the version and build strings in multiple places, I added the `version` and `build` variables to `_data/strings.yml` and used them wherever necessary as follows:\r\n\r\n`{{site.data.strings.version}}`\r\n`{{site.data.strings.build}}`\r\n\r\nGoing forward, when the current version and build change, we need only update these variables. \r\n\r\nFixes #173\n\n<!-- Reviewable:start -->\n---\nThis change is [<img src=\"https://reviewable.io/review_button.svg\" height=\"35\" align=\"absmiddle\" alt=\"Reviewable\"/>](https://reviewable.io/reviews/cockroachdb/docs/174)\n<!-- Reviewable:end -->\n"},"comment":{"url":"https://api.github.com/repos/cockroachdb/docs/issues/comments/203471486","html_url":"https://github.com/cockroachdb/docs/pull/174#issuecomment-203471486","issue_url":"https://api.github.com/repos/cockroachdb/docs/issues/174","id":203471486,"user":{"login":"mberhault","id":5901480,"avatar_url":"https://avatars.githubusercontent.com/u/5901480?v=3","gravatar_id":"","url":"https://api.github.com/users/mberhault","html_url":"https://github.com/mberhault","followers_url":"https://api.github.com/users/mberhault/followers","following_url":"https://api.github.com/users/mberhault/following{/other_user}","gists_url":"https://api.github.com/users/mberhault/gists{/gist_id}","starred_url":"https://api.github.com/users/mberhault/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mberhault/subscriptions","organizations_url":"https://api.github.com/users/mberhault/orgs","repos_url":"https://api.github.com/users/mberhault/repos","events_url":"https://api.github.com/users/mberhault/events{/privacy}","received_events_url":"https://api.github.com/users/mberhault/received_events","type":"User","site_admin":false},"created_at":"2016-03-30T14:53:15Z","updated_at":"2016-03-30T14:53:15Z","body":"LGTM"}}