Commit Graph

807 Commits

Author SHA1 Message Date
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
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
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
Brandon Mathis
fad262d3c1 Merge pull request #880 from lucisferre/adds-cs-filetype-to-pygments-processing
Adds 'cs' filetype to pygments
2012-12-20 10:06:55 -08:00
Chris Nicola
72accb4e5d Fixes gist processing of 'cs' files 2012-12-20 09:11:51 -08:00
Xeross
7d179e6f77 Add Gist plugin change to changelog
Add the Gist plugin change to raw text instead of Gist JS to the changelog
2012-12-20 10:31:35 +01:00
Brandon Mathis
6a964fec8f Improved code snippet support
- Static Gist embeds show titles and link to the Gist
- Stylesheets refactored to remove !important and references to Gist classes
- Renamed links for include code
- Removed sometimes incorrect title attribute on code snippet links
2012-12-20 00:37:27 -06:00
Johan Svensson
a6b8efe4a2 Rakefile option for any additional rsync arguments
Added variable `rsync_args`
2012-12-20 00:13:28 -06:00
Liang Sun
9864898610 To support url without domain name like /path/file
You need to know if you would like to support this, each word in the title can not start with "/".
2012-12-20 00:00:31 -06:00
Brandon Mathis
1d210675b7 Merge pull request #874 from imathis/catch_deploy_failures
Catch deploy failures
2012-12-19 21:51:59 -08:00
Brandon Mathis
125ff6d080 Merge pull request #876 from imathis/gh-pages-url-parser-fix
Updated URL parser for setup_github_pages. Fixes #868
2012-12-19 21:51:30 -08:00
Parker Moore
ad8f1b8003 Merged from origin/catch_deploy_failures 2012-12-20 00:48:26 -05:00
Parker Moore
d089889772 Printing the repo_url when failing. #866 2012-12-20 00:47:38 -05:00
Parker Moore
51fb2bcc5a #866 - using 'raise' instead of 'puts' for the error 2012-12-20 00:43:54 -05:00
Parker Moore
80fad2180e Checking to see if 'git push' worked in deploy. #866. 2012-12-20 00:43:53 -05:00
Parker Moore
569ed588e3 Updated URL parser for setup_github_pages. Fixes #868 2012-12-20 00:37:48 -05:00