Skip to content

Commit 296f697

Browse files
committed
Merge branch 'master' into nix-jekyll-auth
Conflicts: Gemfile
2 parents 69001f9 + 34da3d5 commit 296f697

31 files changed

+211
-358
lines changed

.travis.yml

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
language: ruby
2+
script: "./script/cibuild"

CNAME

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
government.github.com

Gemfile

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
source "https://rubygems.org"
22

3-
#github
43
gem "github-pages"
5-
gem 'html-proofer', :git => 'https://github.com/benbalter/html-proofer', :branch => 'proper-resolves'
4+
gem 'html-proofer'
65
gem 'rake'

Gemfile.lock

+6-65
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,19 @@
1-
GIT
2-
remote: https://github.com/benbalter/html-proofer
3-
revision: 506e40ee2876c16a7653c9bbc7ca88fc6f8a8aab
4-
branch: proper-resolves
5-
specs:
6-
html-proofer (0.0.16)
7-
colored (~> 1.2)
8-
nokogiri (= 1.6.0)
9-
typhoeus (~> 0.6.3)
10-
111
GEM
122
remote: https://rubygems.org/
133
specs:
144
RedCloth (4.2.9)
15-
addressable (2.3.5)
165
classifier (1.3.3)
176
fast-stemmer (>= 1.0.0)
187
colorator (0.1)
198
colored (1.2)
209
commander (4.1.5)
2110
highline (~> 1.6.11)
2211
directory_watcher (1.4.1)
23-
dotenv (0.9.0)
2412
ethon (0.6.1)
2513
ffi (>= 1.3.0)
2614
mime-types (~> 1.18)
27-
excon (0.25.3)
28-
faraday (0.8.8)
29-
multipart-post (~> 1.2.0)
3015
fast-stemmer (1.0.2)
3116
ffi (1.9.0)
32-
git (1.2.6)
3317
github-pages (8)
3418
RedCloth (= 4.2.9)
3519
jekyll (= 1.2.0)
@@ -38,15 +22,11 @@ GEM
3822
maruku (= 0.6.1)
3923
rdiscount (= 1.6.8)
4024
redcarpet (= 2.2.2)
41-
heroku (3.0.0)
42-
heroku-api (~> 0.3.7)
43-
launchy (>= 0.3.2)
44-
netrc (~> 0.7.7)
45-
rest-client (~> 1.6.1)
46-
rubyzip
47-
heroku-api (0.3.15)
48-
excon (~> 0.25.1)
4925
highline (1.6.19)
26+
html-proofer (0.1.0)
27+
colored (~> 1.2)
28+
nokogiri (= 1.6.0)
29+
typhoeus (~> 0.6.3)
5030
jekyll (1.2.0)
5131
classifier (~> 1.3)
5232
colorator (~> 0.1)
@@ -57,70 +37,31 @@ GEM
5737
pygments.rb (~> 0.5.0)
5838
redcarpet (~> 2.2.2)
5939
safe_yaml (~> 0.7.0)
60-
jekyll-auth (0.1.2)
61-
commander
62-
dotenv
63-
git
64-
github-pages
65-
heroku
66-
rake
67-
sinatra-index
68-
sinatra_auth_github
6940
kramdown (1.0.2)
70-
launchy (2.3.0)
71-
addressable (~> 2.3)
7241
liquid (2.5.1)
7342
maruku (0.6.1)
7443
syntax (>= 1.0.0)
7544
mime-types (1.25)
7645
mini_portile (0.5.1)
77-
multipart-post (1.2.0)
78-
netrc (0.7.7)
7946
nokogiri (1.6.0)
8047
mini_portile (~> 0.5.0)
81-
octokit (2.4.0)
82-
sawyer (~> 0.5.1)
8348
posix-spawn (0.3.6)
8449
pygments.rb (0.5.2)
8550
posix-spawn (~> 0.3.6)
8651
yajl-ruby (~> 1.1.0)
87-
rack (1.5.2)
88-
rack-protection (1.5.0)
89-
rack
9052
rake (10.1.0)
9153
rdiscount (1.6.8)
9254
redcarpet (2.2.2)
93-
rest-client (1.6.7)
94-
mime-types (>= 1.16)
95-
rubyzip (1.0.0)
9655
safe_yaml (0.7.1)
97-
sawyer (0.5.1)
98-
addressable (~> 2.3.5)
99-
faraday (~> 0.8, < 0.10)
100-
sinatra (1.4.3)
101-
rack (~> 1.4)
102-
rack-protection (~> 1.4)
103-
tilt (~> 1.3, >= 1.3.4)
104-
sinatra-index (0.0.2)
105-
sinatra
106-
sinatra_auth_github (1.0.0)
107-
sinatra (~> 1.0)
108-
warden-github (~> 1.0)
10956
syntax (1.0.0)
110-
tilt (1.4.1)
11157
typhoeus (0.6.5)
11258
ethon (~> 0.6.1)
113-
warden (1.2.3)
114-
rack (>= 1.0)
115-
warden-github (1.0.0)
116-
octokit (> 2.1.0)
117-
warden (> 1.0)
11859
yajl-ruby (1.1.0)
11960

12061
PLATFORMS
12162
ruby
12263

12364
DEPENDENCIES
124-
html-proofer!
125-
jekyll-auth
65+
github-pages
66+
html-proofer
12667
rake

Rakefile

+11-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,16 @@
11
require 'html/proofer'
2-
require 'find'
32

43
task :test do
5-
Rake::Task["assets:precompile"].execute
6-
tester = HTML::Proofer.new "./_site"
4+
sh "bundle exec jekyll build"
5+
tester = HTML::Proofer.new "./_site/", :href_ignore => [
6+
"https://github.com/github/government.github.com",
7+
"http://prose.io#/github/government.github/com/blob/gh-pages/_posts/2013-09-17-design-a-street-with-streetmix.md",
8+
"http://prose.io#/github/government.github/com/blob/gh-pages/_posts/2013-10-06-forking-your-city.md",
9+
"http://prose.io#/github/government.github/com/blob/gh-pages/_posts/2013-09-26-philadelphia-gets-going-and-gets-open.md",
10+
"http://prose.io#/github/government.github/com/blob/gh-pages/_posts/2013-09-03-project-open-data.md",
11+
"http://prose.io#/github/government.github/com/blob/gh-pages/_posts/2013-10-01-sunlight.md",
12+
"http://prose.io#/github/government.github/com/blob/gh-pages/_posts/2013-10-14-canadian-web-experience-toolkit.md",
13+
"http://prose.io#github/government.github.com/new/master/_posts"
14+
]
715
tester.run
816
end

_config.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -99,13 +99,13 @@ organizations:
9999
- localdata
100100

101101
#global settings
102-
title: "Government is on GitHub"
102+
title: "Make government better, together."
103103
description: "Stories of open data, open source, and open collaboration"
104104
permalink: "/stories/:title"
105105
url: http://government.github.com
106106
relative_permalinks: false
107-
prose_server: "http://edit.benbalter.com"
108-
tagline: 'They <a href="/categories/#open-data" class="open data" title="Data made easily accessible and fee to the public.">open data</a>, find <a href="/categories/#open-source"class="open source" title="Code or creation materials made easily accessible and free to the public.">open source</a> projects and be a more <a href="/categories/#open-government" class="open government" title="An acessible, transparent and forthcoming with data government agency.">open government</a>.'
107+
prose_server: "http://prose.io"
108+
tagline: 'Whether it&#39;s <a href="/categories/#open-source"class="open source" title="Code or creation materials made easily accessible and free to the public.">open source</a>, <a href="/categories/#open-data" class="open data" title="Data made easily accessible and fee to the public.">open data</a>, or <a href="/categories/#open-government" class="open government" title="An acessible, transparent and forthcoming with data government agency.">open government</a> &ndash;'
109109

110110
#build settings
111111
exclude: ["script", "vendor", "Gemfile", "Gemfile.lock", "config.ru", "Procfile", "Rakefile", "readme.md", "node_modules"]

_includes/footer.html

+8-10
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<footer class="container">
22
<div class="site-footer">
33
<ul class="site-footer-links right">
4-
<li><a href="/submit/">Submit a Story</a></li>
5-
<li><a href="/faq/">FAQ</a></li>
6-
<li><a href="https://help.github.com/articles/github-glossary" target="_blank">Glossary</a></li>
7-
<li><a href="https://help.github.com/security">Security</a></li>
4+
<li class="no-mobile"><a href="/submit/">Submit a Story</a></li>
5+
<li class="no-mobile"><a href="/faq/">FAQ</a></li>
6+
<li class="no-mobile"><a href="https://help.github.com/articles/github-glossary" target="_blank">Glossary</a></li>
7+
<li class="no-mobile"><a href="https://help.github.com/security">Security</a></li>
88
<li><a href="mailto:[email protected]">Contact Us</a></li>
99
</ul>
1010

@@ -13,17 +13,15 @@
1313
</a>
1414

1515
<ul class="site-footer-links">
16-
<li>© 2013 GitHub Inc. All rights reserved</li>
16+
<li class="no-mobile">&copy; 2013 GitHub Inc. All rights reserved</li>
1717
<li><a href="https://status.github.com/">GitHub.com</a></li>
18-
<li><a href="/about/">About</a></li>
19-
<li><a href="/features/">Features</a></li>
18+
<li class="no-mobile"><a href="/about/">About</a></li>
19+
<li class="no-mobile"><a href="/features/">Features</a></li>
2020

2121
</ul>
2222
</div>
2323
</footer>
2424

25-
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
26-
<script>window.jQuery || document.write('<script src="{{ site.root }}assets/js/jquery.min.js"><\/script>')</script>
27-
2825
</body>
2926
</html>
27+
<!-- Proudly powered by GitHub Pages -- Generated {{ site.time }} -->

_layouts/home.html

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
<div class="full-width">
44
<div class="splash container">
55
<div class="row">
6-
<div class="span10">
7-
<h1>{{ site.title }}</h1>
8-
<h3>{{ site.tagline }}</h3>
9-
</div>
6+
<div class="span12">
7+
<h3>{{ site.tagline }}</h3>
8+
<h1>{{ site.title }}</h1>
9+
</div>
1010
</div>
1111
</div>
1212
</div>

_layouts/story.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<img class="storypage-image post-image {{ page.category }}" src="{{ page.image }}" alt="{{ page.title }}" />
77
<div class="meta {{ page.category }}" style="padding: 4px 0px;"><a class="{{ page.category }}" href="/categories/#{{ page.category | replace: " ","-" }}">{{ page.category }}</a></div>
88
<h1>{{ page.title }}</h1>
9-
<div class="meta">Published {{ page.date | date: "%B %d, %Y"}} in {{ page.category }}{% if page.author %} by {{ page.author }}{% endif %}</div>
9+
<div class="meta">Published {{ page.date | date: "%B %d, %Y"}} {% if page.author %} by {{ page.author }}{% endif %}</div>
1010
</div>
1111
</div>
1212

_posts/2013-07-01-using-github-to-make-things.md

-16
This file was deleted.

_posts/2013-07-02-cities-on-github.md

-20
This file was deleted.

_posts/2013-08-28-project-open-data.md _posts/2013-09-03-project-open-data.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
layout: story
3+
author: Ben Balter, GitHub
34
title: Project Open Data Opens More than Data
45
description: To offset the risk of becoming outdated, the White House Open Data Policy was published as a living, collaborative document.
56
image: /images/whitehouse.png

_posts/2013-09-07-design-a-street-with-streetmix.md _posts/2013-09-17-design-a-street-with-streetmix.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
layout: story
3+
author: Jessica Lord, GitHub
34
title: Design Street Sections with Streetmix
45
description: "Streetmix is an open source civic web application with its code on GitHub. It was created by a handful of 2013 Code for America fellows, each on different teams, who came together to solve a problem."
56
image: /images/streetmix.png

_posts/2013-09-05-philadelphia-gets-going-and-gets-open.md _posts/2013-09-26-philadelphia-gets-going-and-gets-open.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
---
22
layout: story
3+
author: Jessica Lord, GitHub
34
title: Philadelphia Gets Going and Gets Open
45
description: The Chief Data Office for the City of Philadelphia hit the ground running using GitHub to help "support some of our core objectives - specifically, collaboration and engagement to provide improved delivery of government services and information".
56
image: /images/philadelphia.png
67
category: open government
7-
author: Jessica Lord
88
---
99

1010
A little over a year ago Mark Headd was named the Chief Data Office for the City of Philadelphia and he hit the ground running using GitHub to help "support some of our core objectives - specifically, collaboration and engagement to provide improved delivery of government services and information." Theirs is a great story for a city went from step one to awesome.

_posts/2013-08-28-sunlight.md _posts/2013-10-01-sunlight.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
layout: story
3+
author: Ben Balter, GitHub
34
title: The Sunlight Foundation's Modern Approach to Open Data
45
description: "Developers from the nonprofit Sunlight Foundation decided to stop each building the same basic tools over and over, and start building an open data platform they could share."
56
image: /images/unitedstates.png
File renamed without changes.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
layout: story
3+
title: Canadian web experience toolkit
4+
description: ""
5+
image: /images/wet.png
6+
category: open source
7+
author: Ben Balter, GitHub
8+
---
9+
10+
Government websites often share many of the same basic requirements such as usability, accessibility, and interoperability. Rather than reinvent the wheel each time, the Treasury Board of Canada developed the [Web Experience Toolkit](http://github.com/wet-boew/wet-boew) to create a shared boilerplate for all government websites.
11+
12+
After extensive user testing, this mobile-first, multilingual framework can be completely customized for any government use case. As project lead Paul Jackson remarked during [a recent webinar](http://www.howto.gov/training/classes/canada-web-experience-toolkit), "It actually became much easier for everyone to meet their requirements and a lot less costly by everyone pooling their resources into a common solution that everyone could repurpose." Even [the documentation itself](http://wet-boew.github.io/wet-boew/index-en.html) is open source and collaborative using GitHub Pages.
13+
14+
Today, with nearly 300 forks, and almost 100 members, [the award-winning Web Experience Toolkit](https://github.com/wet-boew/wet-boew) has been translated to more than 30 languages and is one of, if not the most active government open source projects. Members of the public and government employees from any agency are encouraged to provide feedback or submit contributions at any time. As Jackson noted, "It's all free. It's a community resources... there's no request for any funds to do any work.
15+
16+
Interested in using the Web Experience Toolkit for your next government site? Simply [download the latest release](https://github.com/wet-boew/wet-boew/wiki/Downloads). The toolkit is both W3C and WCAG standards-compliant and has been adapted for use with Joomla, .Net, Drupal, Sharepoint, Jekyll, and Wordpress. You can see it featured, for example, on the [Canadian Open Data portal](http://www.data.gc.ca/eng), and with [over 3,000 issues under its belt](https://github.com/wet-boew/wet-boew/issues?state=open), it's showing no signs of slowing down.

0 commit comments

Comments
 (0)