Permalink
Browse files

Initial commit

I should have been making smaller commits along the way but oh well.
This is what it is.
  • Loading branch information...
1 parent fcb20f2 commit 14ec39a71ba0cd4623bd896a22f19eab9221c49d @davatron5000 davatron5000 committed Jan 11, 2013
Showing with 21,884 additions and 1 deletion.
  1. +3 −0 .gitignore
  2. +33 −0 CONTRIBUTING.md
  3. +84 −1 README.md
  4. +65 −0 Rakefile
  5. +27 −0 _config.yml
  6. +35 −0 _layouts/category_index.html
  7. +156 −0 _layouts/default.html
  8. +60 −0 _layouts/post.html
  9. +32 −0 _plugins/category.rb
  10. +24 −0 _plugins/category_list.rb
  11. +3 −0 _plugins/svg.rb
  12. +10 −0 _posts/2010-11-01-first-post.md
  13. +12 −0 _posts/2010-11-10-second-post.md
  14. +34 −0 _sass/_accordion.scss
  15. +79 −0 _sass/_alerts.scss
  16. +24 −0 _sass/_breadcrumbs.scss
  17. +227 −0 _sass/_button-groups.scss
  18. +230 −0 _sass/_buttons.scss
  19. +131 −0 _sass/_carousel.scss
  20. +31 −0 _sass/_close.scss
  21. +61 −0 _sass/_code.scss
  22. +22 −0 _sass/_component-animations.scss
  23. +233 −0 _sass/_dropdowns.scss
  24. +686 −0 _sass/_forms.scss
  25. +21 −0 _sass/_grid.scss
  26. +25 −0 _sass/_hero-unit.scss
  27. +334 −0 _sass/_jumbotron.scss
  28. +81 −0 _sass/_labels-badges.scss
  29. +19 −0 _sass/_layouts.scss
  30. +55 −0 _sass/_media.scss
  31. +684 −0 _sass/_mixins.scss
  32. +95 −0 _sass/_modals.scss
  33. +508 −0 _sass/_navbar.scss
  34. +391 −0 _sass/_navs.scss
  35. +41 −0 _sass/_pager.scss
  36. +121 −0 _sass/_pagination.scss
  37. +129 −0 _sass/_popovers.scss
  38. +122 −0 _sass/_progress-bars.scss
  39. +216 −0 _sass/_reset.scss
  40. +28 −0 _sass/_responsive-1200px-min.scss
  41. +193 −0 _sass/_responsive-767px-max.scss
  42. +19 −0 _sass/_responsive-768px-979px.scss
  43. +185 −0 _sass/_responsive-navbar.scss
  44. +26 −0 _sass/_responsive-utilities.scss
  45. +52 −0 _sass/_scaffolding.scss
  46. +193 −0 _sass/_sprites.scss
  47. +228 −0 _sass/_tables.scss
  48. +52 −0 _sass/_thumbnails.scss
  49. +70 −0 _sass/_tooltip.scss
  50. +235 −0 _sass/_type.scss
  51. +45 −0 _sass/_utilities.scss
  52. +301 −0 _sass/_variables.scss
  53. +29 −0 _sass/_wells.scss
  54. +63 −0 _sass/bootstrap.scss
  55. +60 −0 _sass/responsive.scss
  56. +139 −0 _sass/tests/buttons.html
  57. +139 −0 _sass/tests/css-tests.css
  58. +1,345 −0 _sass/tests/css-tests.html
  59. +71 −0 _sass/tests/forms-responsive.html
  60. +179 −0 _sass/tests/forms.html
  61. +104 −0 _sass/tests/navbar-fixed-top.html
  62. +107 −0 _sass/tests/navbar-static-top.html
  63. +107 −0 _sass/tests/navbar.html
  64. +10 −0 about.md
  65. +37 −0 archives.html
  66. +27 −0 atom.xml
  67. +7 −0 config.rb
  68. +5,739 −0 css/bootstrap.css
  69. +1,505 −0 css/responsive.css
  70. BIN img/glyphicons-halflings-white.png
  71. BIN img/glyphicons-halflings.png
  72. BIN img/grid.png
  73. +3 −0 img/logo.svg
  74. +53 −0 index.html
  75. +12 −0 js/.jshintrc
  76. +117 −0 js/bootstrap-affix.js
  77. +99 −0 js/bootstrap-alert.js
  78. +105 −0 js/bootstrap-button.js
  79. +185 −0 js/bootstrap-carousel.js
  80. +167 −0 js/bootstrap-collapse.js
  81. +161 −0 js/bootstrap-dropdown.js
  82. +245 −0 js/bootstrap-modal.js
  83. +114 −0 js/bootstrap-popover.js
  84. +162 −0 js/bootstrap-scrollspy.js
  85. +144 −0 js/bootstrap-tab.js
  86. +287 −0 js/bootstrap-tooltip.js
  87. +60 −0 js/bootstrap-transition.js
  88. +323 −0 js/bootstrap-typeahead.js
  89. +56 −0 js/tests/index.html
  90. +63 −0 js/tests/phantom.js
  91. +14 −0 js/tests/server.js
  92. +25 −0 js/tests/unit/bootstrap-affix.js
  93. +62 −0 js/tests/unit/bootstrap-alert.js
  94. +102 −0 js/tests/unit/bootstrap-button.js
  95. +69 −0 js/tests/unit/bootstrap-carousel.js
  96. +94 −0 js/tests/unit/bootstrap-collapse.js
  97. +151 −0 js/tests/unit/bootstrap-dropdown.js
  98. +120 −0 js/tests/unit/bootstrap-modal.js
  99. +21 −0 js/tests/unit/bootstrap-phantom.js
  100. +113 −0 js/tests/unit/bootstrap-popover.js
  101. +37 −0 js/tests/unit/bootstrap-scrollspy.js
  102. +86 −0 js/tests/unit/bootstrap-tab.js
  103. +159 −0 js/tests/unit/bootstrap-tooltip.js
  104. +13 −0 js/tests/unit/bootstrap-transition.js
  105. +231 −0 js/tests/unit/bootstrap-typeahead.js
  106. +2 −0 js/tests/vendor/jquery.js
  107. +232 −0 js/tests/vendor/qunit.css
  108. +1,510 −0 js/tests/vendor/qunit.js
  109. +5 −0 robots.txt
  110. +43 −0 sitemap.xml
View
@@ -1 +1,4 @@
_site/
+.sass-cache/
+.DS_Store
+Icon
View
@@ -0,0 +1,33 @@
+---
+layout: post
+title: Contributing to SimpleA11Y
+---
+Do you enjoy web accessibility and want to help? **Here's how you can help.**
+
+## Writing articles
+We have a list of articles we'd love to see written. Have an idea for an article? We'd love to know what you want to contribute.
+
+1. Search to make sure someone hasn't snagged the article already.
+2. Claim an article by starting a new issue with the article title and assign the issue to yourself. The final title can (or probably should) be different.
+3. When you check-in, reference that issue number in the commit, i.e, `re: #32`
+
+## Reporting issues
+Notice something innaccurate? Noticed something inaccessible on this site? You think you can code something up better?
+
+- File an issue.
+- Tag your issue as either an `innaccuracy`, a `inaccessibility`, or a `bug` (for site issues).
+- **ISSUES ARE NOT** free help on your website. Use [StackOverflow](http://stackoverflow.com) for that.
+
+## Key branches
+
+- `gh-pages` is the "master" branch. This is the website.
+
+## Pull requests
+
+- Filing a descriptive issue then assigning it to yourself before you commit would really help get your commit accepted.
+- CSS changes must be done in .sass files first, never just the compiled files
+- Don't commit compiled CSS files, plskthx.
+
+## License
+
+By contributing your code, you agree to license your contribution under the terms of the [APLv2](https://github.com/twitter/bootstrap/blob/master/LICENSE).
View
@@ -1,4 +1,87 @@
simpleA11Y
==========
-Making #A11Y tips and tricks easier to digest and leveraging the community into the cloud.
+Making #A11Y tips and tricks easier to digest and leveraging the community into the cloud.
+
+
+# Jekyll Template
+
+This is a template project for jekyll that you can clone and customise to suit your needs. Its quite opinionated in what it provides, the idea is to get you up and running with feed support, analytics and comments and feedback. This is meant for a standalone blog, not for [github pages](http://pages.github.com/)
+
+Please don't fork otherwise I'll see lots of noise on the fork queue that are your customisation for your blog. I suggest you create a repo on github (public or private, its up to you) and do the following assuming the new repo is available at `https://github.com/username/reponame`:
+
+ git clone https://github.com/krisb/jekyll-template.git mysite
+ cd mysite
+ rm -rf .git
+ git init
+ git add -A
+ git commit -m 'initial template based on https://github.com/krisb/jekyll-template'
+ git remote add origin git@github.com:username/reponame.git
+ git push -u origin master
+
+The following sections detail how to set up and use the template. The commands are known to work on my macbook, YRMV.
+
+## Ruby 1.9.2 via RVM
+
+I recommend that you install [rvm](http://rvm.beginrescueend.com/) and set everything up using that. For single user install run the following:
+
+ bash < <( curl http://rvm.beginrescueend.com/releases/rvm-install-head )
+
+Follow the instructions, adding the necessary lines in `.bashrc`, e.g.
+
+ # RVM
+ if [[ -s "$HOME/.rvm/scripts/rvm" ]] ; then
+ source "$HOME/.rvm/scripts/rvm"
+ fi
+
+Now source `.bashrc` (you don't need to do this normally as it runs on login, it is just to update the current term window)
+
+ source ~/.bashrc
+
+You can then install and use ruby 1.9.2:
+
+ rvm install 1.9.2
+ rvm use 1.9.2
+
+## Gems
+
+Run the following to install the necessary gems:
+
+ gem install jekyll rdiscount compass
+
+## Markup
+
+I prefer markdown, but you can use a number of supported markup formats.
+
+## Pygments (code highlighting)
+
+Assuming you have python installed with `easy_install` available:
+
+ sudo easy_install Pygments
+
+## Stylesheets
+
+I recommend that you use [compass](http://compass-style.org/). I've included `_sass/mixins/_syntax.scss` for the pygments syntax highlighting.
+
+## Rake deploy task
+
+The following tasks are available (use `rake -T` to list them):
+
+ rake build # Build site with Jekyll
+ rake check_links # Check links for site already running on localhost:4000
+ rake clean # Clean up generated site
+ rake deploy # Build and deploy
+ rake server # Start server with --auto
+
+The deploy task is simplistic and uses rsync to copy the generated site to your server. You will need to replace the username, servername and path as appropriate.
+
+## Configuration
+
+There are a number of values in `_config.yml` to customise your site. Change as appropriate.
+
+The following enhancements are baked in and enabled if you provide the configuration required.
+
+* [Google Analytics](http://www.google.com/analytics) - web analytics using the [async](http://www.google.com/support/analytics/bin/answer.py?hl=en&answer=174090) script
+* [Disqus](http://disqus.com/) - comments and feedback
+* [Feedburner](http://feedburner.google.com/) - rss feeds
+* [Github Ribbon](https://github.com/blog/273-github-ribbons) - fork me on github ribbon
View
@@ -0,0 +1,65 @@
+task :default => :server
+
+desc 'Clean up generated site'
+task :clean do
+ cleanup
+end
+
+desc 'Build site with Jekyll'
+task :build => :clean do
+ compass
+ jekyll
+end
+
+desc 'Start server with --auto'
+task :server => :clean do
+ compass
+ jekyll('--server --auto')
+end
+
+desc 'Build and deploy'
+task :deploy => :build do
+ sh 'rsync -rtzh --progress --delete _site/ username@servername:/var/www/websitename/'
+end
+
+desc 'Check links for site already running on localhost:4000'
+task :check_links do
+ begin
+ require 'anemone'
+ root = 'http://localhost:4000/'
+ Anemone.crawl(root, :discard_page_bodies => true) do |anemone|
+ anemone.after_crawl do |pagestore|
+ broken_links = Hash.new { |h, k| h[k] = [] }
+ pagestore.each_value do |page|
+ if page.code != 200
+ referrers = pagestore.pages_linking_to(page.url)
+ referrers.each do |referrer|
+ broken_links[referrer] << page
+ end
+ end
+ end
+ broken_links.each do |referrer, pages|
+ puts "#{referrer.url} contains the following broken links:"
+ pages.each do |page|
+ puts " HTTP #{page.code} #{page.url}"
+ end
+ end
+ end
+ end
+
+ rescue LoadError
+ abort 'Install anemone gem: gem install anemone'
+ end
+end
+
+def cleanup
+ sh 'rm -rf _site'
+end
+
+def jekyll(opts = '')
+ sh 'jekyll ' + opts
+end
+
+def compass(opts = '')
+ sh 'compass compile -c config.rb --force ' + opts
+end
View
@@ -0,0 +1,27 @@
+# standard jekyll configuration
+
+permalink: /posts/:title
+pygments: false
+exclude: ['Rakefile', 'README.md', 'config.rb']
+markdown: kramdown
+
+# configuration required for some pages
+
+domain: simplea11y.com
+title: Simple Accessibility
+author: Dave Rupert
+email: dave@paravelinc.com
+
+# configuration for ehancements, uncomment to enable
+
+# feedburner:
+# id: feedburnerid
+
+# google_analytics:
+# account: UA-XXXXX-X
+
+# github:
+# username: ghusername
+
+# disqus:
+# id: disqusid
@@ -0,0 +1,35 @@
+---
+layout: default
+description: A description about my blog homepage
+---
+<div class="container-fluid">
+
+ <div class="row-fluid">
+ <div class="span9">
+ <header class="page-header">
+ <h2>{{ page.title }}</h2>
+ </header>
+
+ <div class="row-fluid">
+ {% for post in site.categories[page.category] %}
+ <div class="span4">
+ <h4>{{ post.title }}</h4>
+ {% if post.tldr %}<p>{{ post.tldr }}</p>{% endif %}
+ <p><a class="btn" href="{{ post.url }}">Read more &raquo;</a></p>
+ </div><!--/span-->
+ {% endfor %}
+ </div><!--/row-->
+ </div><!--/span-->
+
+ <div class="span3">
+ <div class="well sidebar-nav">
+ <ul class="nav nav-list">
+ <li class="nav-header">Categories</li>
+ {% category_list %}
+ </ul>
+ </div><!--/.well -->
+ </div><!--/span-->
+
+
+ </div><!--/row-->
+</div>
Oops, something went wrong.

0 comments on commit 14ec39a

Please sign in to comment.