jutah has quit [Quit: Connection closed for inactivity]
FunkyPenguin has quit [Ping timeout: 252 seconds]
FunkyPenguin has joined #nanoc
alerante has quit [Remote host closed the connection]
alerante has joined #nanoc
alerante has quit [Ping timeout: 250 seconds]
alerante has joined #nanoc
alerante has quit [Ping timeout: 245 seconds]
relix has joined #nanoc
<guardian>
ddfreyne: a lib_dir in nanoc.yaml that accepts multiple values looks backward compatible
<ddfreyne>
guardian: Hmm, that would work!
<ddfreyne>
guardian: Feel free to open a PR for that
<ddfreyne>
I hope I have time today to do some reviewing
<guardian>
ok, I'll open a PR this afternoon. Rest of morning is dedicated to cleaning house
<ddfreyne>
Heh :) I should do that too.
alerante has joined #nanoc
alerante has quit [Ping timeout: 276 seconds]
VitamineD_ has quit [Quit: Computer has gone to sleep.]
VitamineD_ has joined #nanoc
<travis-ci>
[travis-ci] nanoc/nanoc/bug/fix-jruby-failures 1b675b5 Denis Defreyne: The build passed.
VitamineD_ has quit [Quit: Computer has gone to sleep.]
<travis-ci>
[travis-ci] nanoc/nanoc/bug/fix-jruby-failures 679bd45 Denis Defreyne: The build passed.
<travis-ci>
[travis-ci] nanoc/nanoc/bug/fix-jruby-failures 115b0bb Denis Defreyne: The build passed.
<guardian>
does the bot report pull requests builds?
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
VitamineD_ has joined #nanoc
alerante has joined #nanoc
relix has joined #nanoc
<guardian>
ddfreyne: just looked at nanoc.ws, what's the motivation for having "{{TOC}}" in the layout then filter with :add_toc after layout has been applied?
<guardian>
ddfreyne: compared to having a add_toc that returns html, and called from layout?
jugglinmike has joined #nanoc
gregkare has quit [Quit: bye]
gregkare has joined #nanoc
<dkm>
when using Nanoc::Helpers::Rendering is there a way to tell render to preserve indentation when using as sub-renders in indentation-sensitive formats like Markdown?
<dkm>
or is there better way to go about doing what I'm trying to do (including code snippets from external files)
<dkm>
I think when I originally wrote this helper I hadn't played around with Nokogiri yet, since then I have. Now another approach might be to create a filter that runs on the compiled content, searching for comments in a particular format
<dkm>
just noticed this question is somewhat to related to what guardian asked about {{TOC}}
relix has quit [Read error: Connection reset by peer]
relix has joined #nanoc
relix has quit [Read error: Connection reset by peer]
relix has joined #nanoc
<ddfreyne>
guardian: I've wondered about that myself, heh
<guardian>
and preferred the filtering approach?
<ddfreyne>
guardian: I will probably change it at some point, but feeling too lazy atm.
<guardian>
ok
<guardian>
I'm about to code an helper
<guardian>
I need something generic that extracts h2..h(level) with configurable level
<guardian>
your add_toc filter just scraps h2s
<travis-ci>
[travis-ci] nanoc/nanoc/bug/fix-jruby-failures 13bf41c Denis Defreyne: The build was broken.
<guardian>
re
<travis-ci>
[travis-ci] nanoc/nanoc/bug/fix-jruby-failures 2717f1d Denis Defreyne: The build is still failing.
<guardian>
ddfreyne: found a bit of time to review PRs?
alerante has quit [Remote host closed the connection]
<travis-ci>
[travis-ci] nanoc/nanoc/bug/fix-jruby-failures 8b5716f Denis Defreyne: The build is still failing.
<dkm>
also, removed pygmentizing step from the filter, just use existing colorize_syntax filter that is already in my Rules
FunkyPenguin has quit [Ping timeout: 240 seconds]
FunkyPenguin has joined #nanoc
<dkm>
at some point I plan to make the parsing a bit more sophisticated so that I can do things like [[snippet:file1:5:10]] for lines 5, 10 or [[snippet:file1:/begin/:/end/]] for first line that matches /begin/ through line that matches /end/
<dkm>
or something
<dkm>
suggestions welcome :)
<dkm>
there's a lot of colons in there now, might re-think the syntax
FunkyPenguin has quit [Ping timeout: 264 seconds]
FunkyPenguin has joined #nanoc
FunkyPenguin has quit [Excess Flood]
FunkyPenguin has joined #nanoc
FunkyPenguin has quit [Excess Flood]
<ddfreyne>
guardian: Sorry, I've had friends in town the entire (long) weekend.
<ddfreyne>
guardian: I also wanted to finish the JRuby bug fix PR, but it's taking longer than expected
<travis-ci>
[travis-ci] nanoc/nanoc/bug/fix-jruby-failures c33f45f Denis Defreyne: The build was fixed.
<travis-ci>
[travis-ci] nanoc/nanoc/bug/fix-jruby-failures 739cf02 Denis Defreyne: The build passed.
jugglinmike has quit [Quit: Leaving.]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<justicefries>
how can I get the nanoc Rules file to ignore everything but my main.scss file?
<justicefries>
i still watn a catchall
<justicefries>
want
<justicefries>
i guess I could do: elsif item[:extension] == 'scss'; if item[:filename]
<justicefries>
but I still don't want it copied to output.
<justicefries>
oh I guess I wouldn't make a route for it.
alerante has joined #nanoc
alerante has quit [Remote host closed the connection]
alerante has joined #nanoc
<justicefries>
hmm
<justicefries>
does render no longer work in nanoc?
<justicefries>
getting an undefined method
<justicefries>
nevermind
<bobthecow>
justicefries: explicitly route everything besides your main.scss to nil.
<justicefries>
yup, that's what I ended up doing, thank you. :)
<bobthecow>
:)
<justicefries>
well, the reverse, I have nested ifs.
<justicefries>
only route main.scss
<bobthecow>
it's a lot cleaner the other way :P
<justicefries>
s/reverse/inverse
<justicefries>
hmm
<bobthecow>
route '/css/main/' do
<bobthecow>
end
<bobthecow>
ignore '/css/*'
<bobthecow>
'/css/main.css'
<bobthecow>
something like that :)
<justicefries>
ahh I didn't know about the ignore directive.
<justicefries>
good to know.
<justicefries>
rule
<bobthecow>
that's equivalent to `route '/css/*' do; nil; end`
<bobthecow>
it's just cleaner.
<justicefries>
does ignore work on comile as well?
<justicefries>
er
<justicefries>
compile
<bobthecow>
yeah. it just provides an empty block for both.