Commit Graph

1021 Commits

Author SHA1 Message Date
Parker Moore c3479dca4a Merge 2.1 with new-configs 2013-01-20 23:20:45 -05:00
Parker Moore 6ce4d89bce Updated configuration structure and dependent code. Added Octopress module for easier sharing of helper methods. 2013-01-20 23:13:47 -05:00
Brandon Mathis 9659a45da3 Merge pull request #903 from mneorr/ssh_key
added ssh keys support (e.g. for Amazon ec2)
2013-01-13 21:06:42 -08:00
Brandon Mathis 9994770225 Made it easy to optionally use RubyPython for pygments, closes #923 2013-01-13 23:03:55 -06:00
Brandon Mathis 5251313aa6 Improved timezone support
- Rake task list_drafts fixes
- Added link to timezone documentation
2013-01-13 22:54:47 -06:00
Chris Perelstein 4c0cf14344 Modified rake tasks to use iso8601 format dates and added configuration option to force a specfic timezone to be used 2013-01-13 22:01:57 -06:00
Brandon Mathis 5ba5b4760b Improvements to the regexes in setup_github_pages task 2013-01-13 10:00:43 -06:00
Brandon Mathis 38353f216c Improved draft management options
- rake list_drafts shows current drafts. Closes #645
- Rake generate, watch, and preview can compile future dated posts (defaults to false). Closes #837
2013-01-13 00:50:38 -06:00
Vaz Allen ec07a5d7f8 setup_github_pages: allow for clones missing .git extension
Conflicts:
	Rakefile
2013-01-12 21:28:21 -06:00
Brandon Mathis ef9119089d Video tag plugin now supports mp4,ogv,webm formats, closes #931 2013-01-12 19:23:59 -06:00
Brandon Mathis ab2776b9a2 Merge pull request #932 from zellux/2.1
Hide Google Plus link if google_plus_hidden is true
2013-01-12 15:24:06 -08:00
Sean Kerr cfcbd7261a Fixed blockquote plugin (author alone would not show up without title)
Conflicts:
	plugins/blockquote.rb
2013-01-12 16:40:26 -06:00
Brandon Mathis 1d5b9f803f Improved error message for category_generator plugin. Addresses #116 2013-01-12 16:21:50 -06:00
Yuanxuan Wang c4ed411690 Hide Google Plus link if google_plus_hidden is true 2013-01-09 12:52:23 +08:00
Parker Moore a532fab583 Merge pull request #919 from imathis/unified-rb-vers
Unified .ruby-version file
2013-01-05 13:21:43 -08:00
Parker Moore 45e30de354 Using .ruby-version instead of .rbenv-version 2013-01-04 18:45:38 -05:00
Parker Moore d3262e9f05 Removing .rvmrc 2013-01-04 18:45:18 -05:00
Brandon Mathis e694250234 Enabled nice default extensions for redcarpet 2013-01-03 16:53:39 -06:00
Brandon Mathis a25787a204 Fixes for Redcarpet
- Removed unnecessary content filtering for escaping markdown
- Escaping codeblocks defaults to false and can be enabled by passing escape:true
- Backtick codeblocks are automatically escaped when using Textile
- Scoped styling of .highlight divs to figure elements
2013-01-03 11:36:51 -06:00
Brandon Mathis a3eea15ac5 Switched Markdown processor from rdiscount to redcarpet 2013-01-03 10:28:11 -06:00
Brandon Mathis 277dc6a558 Merge pull request #916 from Keithbsmiley/2.1
Fix nil path when not using gist cache
2013-01-03 08:18:15 -08:00
Brandon Mathis 8c0aa043fe Added safe_wrap (escaping markdown and textile) to cached gists. Closes #917 2013-01-03 09:45:16 -06:00
Keith Smiley fb27cae6be fix nil path when not using gist cache 2013-01-03 08:45:59 -05:00
Brandon Mathis 418ed0cbcf Merge pull request #911 from Keithbsmiley/2.1
Fix crash with nil passes
2013-01-02 20:52:39 -08:00
Keith Smiley 5442c90e48 Fix crash with nil passes 2013-01-02 14:42:18 -05:00
Brandon Mathis cb276a40c4 updated gems, bumping rake to 10.0.3 2013-01-01 12:24:09 -06:00
Brandon Mathis 234e92852f Category Archive now supports category slugs and titles
For example, in the YAML header set categories like this

categories:
 - awesome [Awesome Posts]
 - news

Octopress will parse out '[Awesome Posts]' and 'news' as the title and display it in
the category list, but the category index urls will be awesome/ and news/

Fixes #902
2012-12-31 13:43:58 -06:00
Josep del Rio cc6e1aca0d Added robots.txt, with sitemap link 2012-12-29 17:00:22 -06:00
Marin Usalj 7c9c4bad48 added ssh keys support (e.g. for Amazon ec2) 2012-12-29 09:58:34 -08:00
David Tchepak 1b9fc7901e added category link method #408 2012-12-29 02:10:59 -06:00
Brandon Mathis 5b99bbb004 updated gems and removed albino support for code plugins since the latest Jekyll uses pygments.rb 2012-12-29 01:52:38 -06:00
Brandon Mathis 970d4d56a4 Merge pull request #895 from parkr/remove-copydot
Remove copydot task in favor of Jekyll's include config (Fixes #894)
2012-12-28 08:33:53 -08:00
Brandon Mathis 50105a6049 Merge pull request #896 from parkr/remove-jsfiddle
Remove jsFiddle plugin from default selection
2012-12-28 08:32:46 -08:00
Parker Moore 087461a06c Removed dependencies upon :copydot from other tasks 2012-12-28 02:57:56 -05:00
Parker Moore 1b7b6467db Remove jsFiddle plugin from default selection 2012-12-28 02:22:16 -05:00
Parker Moore 536f760d5a Remove copydot task in favor of Jekyll's include config (Fixes #894) 2012-12-28 02:19:19 -05:00
Parker Moore b3ac7f7886 Update .rvmrc to 1.9.3-p194
To match .rbenv-version
2012-12-28 01:00:25 -05:00
Brandon Mathis 10bd1cf27b updated code plugins to support slashes in titles #892 2012-12-26 17:31:51 -06:00
Brandon Mathis be53372e20 Upgraded to pygments.rb 0.3.3 and fixed an issue where Gists wouldn't output cached files
I'm actually done. #888. For now.
2012-12-24 22:11:11 -06:00
Brandon Mathis 8eac9cf471 Further simplified code plugins
- The highlight function now accepts only to variables: code, options.
- Extracting part of a code snippet is now a method of pygments_code.rb.
- Options assignment has been simplified for all code plugins.
2012-12-24 15:59:48 -06:00
Brandon Mathis 66a883f2af Improved highlighted code caching and performance
- Pygments caching is broken into a couple utility functions for greater flexibility.
- Now Gist cache files are hashed against their gist id and parameters.
- Raw gists are no longer cached, only processed gists.
- Gist caches are still stored in .gist-cache/ for more atomic cleanup.

Note: For the docs, caching speeds up generation by about 1800 milliseconds on my machine.
2012-12-24 13:51:05 -06:00
Brandon Mathis ed186b18a2 More code snippet refactoring
- Each code snippet's html is now cached (before only pygments output was cached and html was being processed each time)
- Caching MD5 is based on code snippets as well as options.
- Fixed an issue where gist tags weren't specifying a default start line

Note: The caching change shaved 800 milliseconds off of the render time for the docs. For code heavy sites this should be a nice change.
2012-12-24 00:23:48 -06:00
Brandon Mathis e686f8544e fixed stupid mistake with find-and-replace 2012-12-23 00:44:40 -06:00
Brandon Mathis 0fcbc225e4 Code plugin refactoring
- Unified handling of key, value options
- Added url, link_text, and title options
- Gists can now accept start, end, range, title, url, link_text, linenos and marks options
- Code accessibility improvements (hiding line numbers) #864
2012-12-23 00:38:52 -06:00
Brandon Mathis be443098d6 Merge pull request #878 from Eric-Guo/eric_fix
typo and utf-8 encode fix - repull request
2012-12-21 07:56:49 -08:00
Eric Guo e127e666bc Seems encode problem for those files, any way this utf-8 change now works as it should be 2012-12-21 20:12:56 +08:00
Eric Guo a62f75d52a Fix extra space cause underline link in google plus button 2012-12-21 20:12:55 +08:00
Brandon Mathis 977be3adea Fixed issue with stripping whitespace on code captions. Sleepy code. 2012-12-20 23:50:42 -06:00
Brandon Mathis 1a4119a039 Code blocks are now more accessible to screen readers. Fixes #864 2012-12-20 23:38:03 -06:00
Brandon Mathis 56be5d1573 Merge pull request #877 from xeross/patch-1
[2.1] Add Gist plugin change to changelog
2012-12-20 10:24:29 -08:00