Commit Graph

25 Commits

Author SHA1 Message Date
Ryan Tomayko
66723da96f do not add ./ to paths 2011-03-05 03:37:05 -08: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
Vasily Poloynyov
ba93d23634 Really fixing extensionless file support
Pieced together a fix using Regex and `File.extname` from http://github.com/vast/rocco

Closes GH-24.
2010-11-21 16:18:28 +01:00
Mike West
bb8fcb9ef0 Adding CLI argument template
In v0.5, the Mustache template is hardcoded as
`./lib/rocco/layout.mustache`.  This makes it quite difficult to
style generated content as one must edit the layout file inside the
gem itself to make changes.

I propose leaving that file as a sensible default, but allowing the user
to specify an absolute or relative (to the current working directory)
path to a mustach template of her choosing.  That's implemented in this
commit.
2010-10-17 12:25:35 +02:00
Colin Shea
6aa7bd6a33 Really support extension-less files (and still support -o) 2010-04-03 08:14:44 +08:00
Ryan Tomayko
889fcb286b Merge Ruby 1.9 fixes from evaryont/master 2010-04-02 16:02:27 -07:00
Ryan Tomayko
957e5cf197 Merge a bunch of stuff from burke/master 2010-04-02 15:53:39 -07:00
Ryan Tomayko
feb22ad147 create output dirs before writing files 2010-04-02 15:46:12 -07:00
Marko Mikulicic
367437fec5 honour -o 2010-04-02 15:39:16 -07:00
Burke Libbey
6595d5f885 bin/rocco works for extensionless files now (again?) too. README -> README.html. 2010-03-30 15:01:01 -05:00
Burke Libbey
8c948bbb95 fixed -o option 2010-03-30 14:55:26 -05:00
Burke Libbey
fb4b5404ae just use the pygments.appspot.com if there's no pygmentize on the path, rather than as a command line flag 2010-03-30 13:46:24 -05:00
Colin Shea
c1837853d6 Use spaces, not tabs. 2010-03-29 08:22:42 -04:00
Colin Shea
4fa61ea14a Use readlines, not read 2010-03-29 08:21:58 -04:00
Simon Rozet
bc8bdccb7d allow to use pygments.appspot.com instead of pygmentize(1) 2010-03-19 15:53:51 -07:00
jdp
1978a5fe98 made filename munging more idiomatic, rake tasks work properly again 2010-03-17 02:35:06 -04:00
jdp
3af16f3afe table of contents generation works properly again 2010-03-17 00:41:06 -04:00
jdp
37aeba2247 updated usage for bin/rocco 2010-03-16 05:27:49 -04:00
jdp
cf12978037 generalized it so that pygment lexer and comment characters can be specified, made shebang line ignore more clear 2010-03-16 05:17:17 -04:00
Ryan Tomayko
832048d946 implement the file switcher thingy 2010-03-11 08:01:46 -08:00
Ryan Tomayko
27b2ee03db rocco command gets --output <dir> option + usage message 2010-03-11 07:58:25 -08:00
Ryan Tomayko
606087986e fall back to BlueCloth if rdiscount isn't available 2010-03-09 08:56:01 -08:00
Ryan Tomayko
4a0dfe7421 rocco command acts like documented 2010-03-08 17:30:40 -08:00
Ryan Tomayko
7b0f7d31fd rocco command tries to setup load path 2010-03-08 15:05:01 -08:00
Ryan Tomayko
b69e02c802 first spike 2010-03-08 09:56:18 -08:00