Commit Graph

140 Commits

Author SHA1 Message Date
John Bintz
1ce551581a put the radius back in 2011-06-17 16:34:54 -04:00
John Bintz
b1bf8add92 make rocco nicer with large file lists 2011-06-17 14:58:37 -04:00
Mike West
dde147a171 Merge pull request #51 from Sharpie/patch-1
Add `file` tag for Mustache layouts
2011-06-12 05:28:34 -07:00
Mike West
a175735f0c Merge pull request #50 from zpatten/master
Fix for crash when code is nil in lib/rocco/layout.rb, sections method.
2011-06-12 05:27:36 -07:00
Mike West
57be0b7695 Merge pull request #43 from VerKnowSys/master
Added scala comments
2011-06-12 05:27:03 -07:00
Charlie Sharpsteen
4f81074ad4 Add file tag for Mustache layouts
For when you want to use something more descriptive than `title` in your layout.
2011-06-02 16:30:17 -07:00
Zachary Patten
4c4ef24222 added assignment to handle nil code values 2011-06-01 12:33:08 -05:00
Ryan Tomayko
97a971897f Merge pull request #48 from defunkt/vbump
Version Tweaks
2011-05-30 18:55:42 -07:00
Ryan Tomayko
d149a9bbf4 Merge pull request #47 from defunkt/process-markdown
Split Markdown processing into its own method
2011-05-30 18:55:05 -07:00
Chris Wanstrath
c4da54408a Split Markdown processing into its own method 2011-05-30 17:39:55 -07:00
Chris Wanstrath
d98793dc7e gemspec uses Rocco::VERSION and current date for releases 2011-05-30 16:57:59 -07:00
Chris Wanstrath
9b65c1cd99 bump Rocco::VERSION (0.7 was released) 2011-05-30 16:57:29 -07:00
Ryan Tomayko
7ba75f0503 Merge pull request #46 from dkastner/master
Rake 0.9 Support
2011-05-24 12:29:38 -07:00
Derek Kastner
c1a5017468 Support for Rake < 0.9 2011-05-24 15:14:29 -04:00
Derek Kastner
58e7e4f7d8 Support Rake 0.9 2011-05-24 14:04:31 -04:00
Ryan Tomayko
3e9a14e896 style: no spaces in parens 2011-05-22 20:42:31 -07:00
Ryan Tomayko
9e88a3925c don't include FileTest in top-level, fixes #45 2011-05-22 20:41:06 -07:00
Tymon Tobolski
ba393d1d8c Added scala comments 2011-05-05 22:38:39 +02:00
Mike West
61d84c85c2 Pulling in support for "impure" block comments
Closes issue #37
2011-04-20 21:51:39 +02:00
Mike West
e727446de7 Fixing heredoc test. 2011-04-20 21:51:13 +02:00
Mike West
d4f527f2d6 Merge branch 'block-comment-styles' of https://github.com/hyperbolist/rocco into hyperbolist-block-comment-styles
Conflicts:
	lib/rocco.rb
2011-04-20 21:50:57 +02:00
Mike West
6736281302 Adding XML and HTML support.
Also splitting Pygmentize's type on `+`, and only using the first bit.
`xml+whatever` => `xml` and so on.  Clever.

Closes issue #36.
2011-04-19 20:03:54 +02:00
Mike West
b0582c9deb Merging in XML, extending to HTML. 2011-04-19 20:02:00 +02:00
Mike West
6193734ee1 Merging in docblock annotations.
Closes issue #34.
2011-04-19 19:55:18 +02:00
Mike West
3ebbb82f14 One more test. 2011-04-19 19:54:42 +02:00
Mike West
c1afb8a0d4 Merge branch 'docblock-annotations' of https://github.com/bobthecow/rocco into bobthecow-docblock-annotations 2011-04-19 19:44:39 +02:00
Justin Hileman
fe09cbe0e3 Adding PHP syntax.
Closes issue #35.
2011-04-19 19:42:28 +02:00
Dotan J. Nahum
c5d0f3ba43 Adding C# support.
Closes issue #39.
2011-04-19 19:19:08 +02:00
Mike West
d0690e6269 Stub out heredoc support. Needs more tests. (Issue #40) 2011-04-13 21:35:41 +02:00
Eric Sherman
6c96fcb681 added xml comment support 2011-03-30 23:38:38 -04:00
Eric Sherman
c39dbd7816 added support for impure block comment styles 2011-03-30 23:22:37 -04:00
Justin Hileman
8dd30853aa Add naïve support for Docblock @annotations. 2011-03-20 16:24:13 -04:00
Mike West
e5e0d53f18 Revert "Fixing a bug in layout.rb's template directory location"
This reverts commit d495074320.
2011-03-17 20:16:12 +01:00
Mike West
d495074320 Fixing a bug in layout.rb's template directory location
Should take care of GH-31.  Thanks to [Karel Minarik][1]

[1]: http://www.karmi.cz
2011-03-17 19:30:53 +01:00
rick
b993200fc1 link to github pages hosted docco css file. 2011-03-16 19:34:29 -07:00
Ryan Tomayko
66e8f9a319 0.6 release 2011-03-05 04:49:43 -08:00
Ryan Tomayko
f9dd29eafa 2 char indent in tests 2011-03-05 04:46:53 -08:00
Ryan Tomayko
3f1a8dfef3 use consistent relative require for test/helper 2011-03-05 04:46:40 -08:00
Ryan Tomayko
19506b13db don't reopen stderr in tests -- we're losing backtraces 2011-03-05 04:43:41 -08:00
Ryan Tomayko
3224735671 be serious about 80c line lengths in lib/rocco.rb 2011-03-05 04:32:34 -08:00
Ryan Tomayko
a841026e52 CHANGELOG formatting 2011-03-05 04:00:52 -08:00
Ryan Tomayko
f40e57baae two char indent and whitespace error fixes 2011-03-05 03:53:00 -08:00
Ryan Tomayko
a2d316b20d fix issue with locating submodule template with newer versions of mustache 2011-03-05 03:37:32 -08:00
Ryan Tomayko
66723da96f do not add ./ to paths 2011-03-05 03:37:05 -08:00
Mike West
b2a76fac29 Updating changelog. 2011-02-12 10:05:59 +01:00
Luke Andrew
6874288c8a [GH-28]: Descriptive section names.
Header sections will get a descriptive hash anchor: rather than
`section-1`, the section will be given an id containing the header text
with spaces stripped and replaced with `_`.  `section-Header_Goes_Here`
for instance.

Thanks to [Luke Andrew][1] for the initial work on this patch.

[1]: https://github.com/zyx
2011-02-12 09:59:50 +01:00
Mike West
5271a2ba31 Dropping some debug 'puts' statements. 2010-11-25 17:09:48 +01:00
Mike West
12b26fe704 Relative paths in the source jumplist
Adding a dependency on `Pathname`, which provides the excellent
`relative_path_from` method.  That happens to be exactly what's needed
to fix the pathnames for the source jumplist issue that [Topfunky][]
reported.

Closes GH-26.

[Topfunky]: https://github.com/topfunky
2010-11-25 16:41:30 +01:00
Mike West
9d49139090 Fixing block comment highlighting for block-only languages
Languages without single-line comments (CSS) explode when running
through `highlight`, as the `DIVIDER` mechanism doesn't deal well with
`nil` comment characters.  I've reworked the mechanism such that it
uses multi-line comments when single-line comments aren't available.
2010-11-25 16:12:28 +01:00
Mike West
1fa99adbda Every project needs a changelog. 2010-11-23 19:55:36 +01:00