Skip to content

Commit 923c0d0

Browse files
committed
the watcher api post isn't related to a single version.
1 parent 7e5e3c8 commit 923c0d0

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

content/changes/2012-9-5-watcher-api.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
title: Upcoming Changes to Watcher and Star APIs
44
created_at: 2012-9-5
55
author_name: technoweenie
6-
api_version: v3
76
---
87

98
We recently [changed the Watcher behavior][change-watching] on GitHub. What

content/changes/v3.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,8 @@
1717
<% end %>
1818
</dl>
1919

20+
This is the first major revision from API v3 since its initial launch. **It is
21+
currently not available yet**.
22+
2023
<%= render '_changes', :changes => api_changes(:v3) %>
2124

layouts/_meta.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,10 @@ <h2 class="title">
99
<a href="https://github.com/<%= @item[:author_name] %>"><%= @item[:author_name] %></a>
1010
</span>
1111
<span class="published">
12-
<%= post_date @item %>,
13-
Version: <a href="/changes/<%= @item[:api_version] %>"><%= @item[:api_version] %></a>
12+
<%= post_date @item %>
13+
<% if version = @item[:api_version] %>
14+
/ Version: <a href="/changes/<%= version %>"><%= version %></a>
15+
<% end %>
1416
</span>
1517
</div>
1618
</div>

0 commit comments

Comments
 (0)