Commit Graph

793 Commits

Author SHA1 Message Date
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
Brandon Mathis
33a1dbac30 Merge pull request #875 from imathis/accept_https_repo_urls
Accept https repo urls, catch if not valid
2012-12-19 21:04:01 -08:00
Parker Moore
31db12fc49 DRY'd up that user regex. 2012-12-20 00:02:36 -05:00
Parker Moore
1e300fbb03 Catching malformed repo URLs #689 2012-12-19 23:46:33 -05:00
Parker Moore
3c92c5b407 Added support for https:// repo URLs. #867. 2012-12-19 23:45:34 -05:00
Parker Moore
a77c60365c #866 - using 'raise' instead of 'puts' for the error 2012-12-19 22:45:50 -05:00
Parker Moore
66c9ede87e Checking to see if 'git push' worked in deploy. #866. 2012-12-19 22:45:11 -05:00
Brandon Mathis
ef6d53cac3 Merge pull request #651 from xuhdev/patch-3
404 Page does not need the footer
2012-12-19 08:22:55 -08:00
Brandon Mathis
5b8d079eb7 Not showing unnecessary permalink for non linklog posts. Closes #800 2012-12-19 01:18:50 -06:00
Brandon Mathis
54ffce5611 added figcaption with source link to embeded gist code snippets 2012-12-19 00:17:47 -06:00
Brandon Mathis
280d63f18c Merge branch '2.1' of github.com:imathis/octopress into 2.1 2012-12-19 00:17:01 -06:00
Brandon Mathis
e74d73a2cd Merge pull request #862 from elithrar/patch-2
Fixes URL sent to sharing services for both posts and pages.
2012-12-18 07:03:32 -08:00
Brandon Mathis
54d038748b Merge branch '2.1' of github.com:imathis/octopress into 2.1 2012-12-17 21:14:43 -06:00
Parker Moore
b97839f0d2 Updated CHANGELOG 2012-12-17 16:56:20 -05:00
Alexander 'AlexFinn' Ivanov
02ac0408e8 Adding gauges_analytics_tracking_id to _config.yml
Signed-off-by: Parker Moore <parkrmoore@gmail.com>
2012-12-17 16:47:00 -05:00