ddfreyne changed the topic of #nanoc to: 3.6.9 (apr 15th) | web http://nanoc.ws/ | repo http://bit.ly/XE6e3G | issues http://bit.ly/VfXaSV | forum http://ho.io/n-discuss | irclog http://irclog.whitequark.org/nanoc
jugglinmike has joined #nanoc
jugglinmike has quit [Quit: Leaving.]
<justicefries> hmm
<justicefries> is there a way to have layout inheritance? I have a markdown file for an article, but I want it to have an HTML header not present in the default layout
<justicefries> but I don't want to maintain 2 full layouts.
<justicefries> found it
alerante has quit [Remote host closed the connection]
alerante has joined #nanoc
alerante has quit [Ping timeout: 240 seconds]
bghost has joined #nanoc
bghost has quit [Client Quit]
koan has quit [Read error: Connection reset by peer]
koan has joined #nanoc
terinjokes has quit [Ping timeout: 250 seconds]
irsol has quit [Ping timeout: 250 seconds]
irsol has joined #nanoc
terinjokes has joined #nanoc
<guardian> bobthecow, justicefries: ignore is equivalent to both compile and route do nil
<guardian> o/
<justicefries> o/
<justicefries> thanks. :D
<bobthecow> guardian: "<bobthecow> yeah. it just provides an empty block for both." :)
<ddfreyne> You guys are still using nanoc 3? Cute :)
FunkyPenguin has joined #nanoc
<guardian> ddfreyne: tss
<guardian> bobthecow: do you have some code that extracts a toc from html by chance? something that produces a nested array or hash that reflects the document tree
<ddfreyne> guardian: I have that
<guardian> ddfreyne: your add_toc on nanoc.ws?
<guardian> it just scraps h2 headers with '//h2'
<guardian> DUH
<ddfreyne> It collects all h1-h6s and constructs an ordered list based on that
<ddfreyne> #toc_structure_from_headers returns a hash
<guardian> so actually on nanoc.ws you have both :)
<ddfreyne> Yeah, I need to clean that up, heh
<guardian> yeah definitely
<guardian> considering nanoc.ws is the master reference
<guardian> :)
<ddfreyne> I know
<guardian> I was schocked by {{TOC}} inserted in layout
<bobthecow> guardian: i don't do anything with toc in any of my sites.
<ddfreyne> OK, that JRuby issues PR is probably the longest PR I've actively participated in
<guardian> bobthecow: yeah I asked just in case, since you seems to always a helper for everything :)
<bobthecow> :)
<ddfreyne> bobthecow: OK to disable jruby-18mode?
<guardian> ddfreyne: is JRuby widely used?
<ddfreyne> (On Travis CI)
<ddfreyne> guardian: SoundCloud uses it for almost all Ruby-related stuff
<ddfreyne> (I don't see the point of jruby-18mode. If you already have JRuby, why would you want to run it in 1.8 mode?)
<bobthecow> ddfreyne: i don't much care about jruby-18mode :)
<bobthecow> it was broken pretty badly in jruby before, right?
relix has joined #nanoc
<ddfreyne> I don't know… but I don't see why anybody would ever want to use it
<bobthecow> so you most likely don't have any current users using jruby at all?
<ddfreyne> bobthecow: SoundCloud? ;)
<bobthecow> not 1.8 mode, jruby in general?
<ddfreyne> bobthecow: (for nanoc)
<ddfreyne> I don't think any sensible human would use JRuby in 1.8 mode
<bobthecow> if someone complains you can always reenable the tests and mark it as an allowed failure?
<bobthecow> i don't think any sensible human would use any 1.8 ruby at this point.
<ddfreyne> I can't drop 1.8.x support before 4.0 though
<bobthecow> right, but since you didn't really have jruby 1.8 support, it's more like you're not adding it :)
<bobthecow> that's all i'm saying.
<ddfreyne> True
<ddfreyne> Alright, JRuby 1.7.11 is now officially supported
<ddfreyne> And JRuby in 1.8 mode officially not supported
<ddfreyne> Time for work.
<bobthecow> what is soundcloud using nanoc for?
<ddfreyne> bobthecow: Internal documentation
<travis-ci> [travis-ci] nanoc/nanoc/bug/fix-jruby-failures cd728cc Denis Defreyne: The build passed.
<bobthecow> cool.
<ddfreyne> Good to see JRuby 1.7.11 no longer in allowed failures :)
<bobthecow> :+1:
<travis-ci> [travis-ci] nanoc/nanoc/bug/fix-jruby-failures 4c1f58c Denis Defreyne: The build was broken.
alerante has joined #nanoc
alerante has quit [Ping timeout: 255 seconds]
jaspervdj has quit [Ping timeout: 264 seconds]
jaspervdj has joined #nanoc
VitamineD_ has quit [Quit: Computer has gone to sleep.]
alerante has joined #nanoc
alerante has quit [Ping timeout: 265 seconds]
VitamineD_ has joined #nanoc
VitamineD_ is now known as VitamineD
alerante has joined #nanoc
<guardian> re
alerante has quit [Ping timeout: 240 seconds]
alerante has joined #nanoc
jugglinmike has joined #nanoc
antognolli has joined #nanoc
<guardian> ddfreyne: what's require 'pp'?
<guardian> in your toc.rb
<guardian> bobthecow: is there a way to step forward in pry? looks like pry isn't a debugger in fact
<bobthecow> it's a plugin, it's not part of pry core.
alerante has quit [Remote host closed the connection]
alerante has joined #nanoc
VitamineD has quit [Ping timeout: 240 seconds]
alerante has quit [Ping timeout: 265 seconds]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<ddfreyne> guardian: pp is pretty-print
<ddfreyne> I use it for debugging
<ddfreyne> It should not be in there
antognolli has left #nanoc [#nanoc]
cDlm has joined #nanoc
alerante has joined #nanoc
alerante has quit [Ping timeout: 264 seconds]
cDlm has quit [Quit: Computer has gone to sleep.]
alerante has joined #nanoc
Hyperking has joined #nanoc
<Hyperking> does nanoc pull data from mysql or json dbs?
Hyperking has quit [Quit: Textual IRC Client: www.textualapp.com]
<guardian> ddfreyne: ok
<guardian> ddfreyne: do you have an ETA for 3.7?
cDlm has joined #nanoc
<ddfreyne> guardian: I have no ETA
<guardian> ok
<guardian> ddfreyne: can you remember the need for your :remove_spacing_around_pre filter on nanoc.ws?
<ddfreyne> guardian: Without that filter, <pre>s start with an empty line otherwise
<ddfreyne> I don't actually use that anymore I think
<guardian> ok
<ddfreyne> guardian: There will likely be no 3.6.10 (because that is an awkward version number), so straight to 3.7.0
<guardian> ok
<ddfreyne> After I finish the JRuby stuff, I will get to thoroughly reviewing your PRs
<ddfreyne> All visitors have left yesterday evening… unfortunately I have new visitors coming over tomorrow afternoon, so I am not sure how much time I will have the next few days
<guardian> :)
<guardian> that's great
<guardian> enjoy it
<ddfreyne> It’s a bit too much.
<travis-ci> [travis-ci] nanoc/nanoc/bug/fix-jruby-failures 1e58cc5 Denis Defreyne: The build was fixed.
<guardian> ddfreyne: after I polish my toc helper, I need to add syntax highlighting. Which colorizer do you recommend?
<ddfreyne> guardian: pygments.rb
<guardian> ok, out of curiosity why?
<guardian> do I get right I can write the following markdown
<guardian> #!ruby
<guardian> def foo
<guardian> "I'm a markdown code block"
<guardian> end
<guardian> if I filter by :kramdown then :colorize_syntax, I get the markdown converted to <pre><code>#!ruby...</code></pre> with "#!ruby" kept, then the colorize filter remove the comment that indicates the language?
<guardian> /s/remove/removes
relix has joined #nanoc
cDlm has quit [Remote host closed the connection]
cDlm has joined #nanoc
Hyperking has joined #nanoc
<guardian> good night
Hyperking has quit [Quit: Textual IRC Client: www.textualapp.com]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]