ddfreyne changed the topic of #nanoc to: 3.6.4 (may 29th) | 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
Rym has joined #nanoc
louquillio has quit [Remote host closed the connection]
Rym has quit [Ping timeout: 240 seconds]
Rym_ has joined #nanoc
Rym has joined #nanoc
Rym_ has quit [Ping timeout: 256 seconds]
louquillio has joined #nanoc
tbm_ has joined #nanoc
tbm_ is now known as tbm
tbm has left #nanoc [#nanoc]
yogsototh has joined #nanoc
yogsototh has quit [Ping timeout: 264 seconds]
<guardian> ddfreyne: are you familiar with https://github.com/wbs75/Nanoc-Twitter-Bootstrap/blob/master/lib/default.rb#L10 ??? not the first time I see this statement in a nanoc project found on Github
yogsototh has joined #nanoc
<ddfreyne> guardian: Hmmm, interesting
<ddfreyne> guardian: I would recommend avoiding autocompile though
<ddfreyne> guardian: I prefer guard-nanoc
<ddfreyne> (Also fits your nickname better)
skroon has joined #nanoc
<skroon> hi all
<ddfreyne> Hi skroon
<_rgn> does autoprune run when doing ::Nanoc::Site.new('.').compile?
<ddfreyne> _rgn: no
<ddfreyne> _rgn: which is a bug
<ddfreyne> I am aware that this is ugly :)
<_rgn> yeah i ack'd prune on the whole repo and found that
<_rgn> maybe i'll just do sh "rm -rf build_dir/" site.config.output_dir = "build_dir"; site.compile
<ddfreyne> _rgn: Nooooo
<ddfreyne> I really need to spend more time to work on nanoc 4.0. It's going to be great :)
<_rgn> well is this better? https://gist.github.com/anonymous/6421924
<ddfreyne> _rgn: The advantage of using the pruner is that site compilation time will go down, because not everything needs to be recompiled
<ddfreyne> _rgn: The prune needs to go after the compile
<ddfreyne> _rgn: and you can load the pruner config too, instead of passing {}
<_rgn> it assumes the last argument is a hash i guess. so i'll pass site.config[:prune] instead of :exclude => site.config[:prune][:exclude]
yogsototh has quit [Ping timeout: 245 seconds]
pavelkunc has joined #nanoc
<ddfreyne> _rgn: That works unless you have no prune section in the config
<ddfreyne> Maybe I'll reserve next weekend for some nanoc work. It's needed :)
<skroon> ddfreyne: In the frontmatter I would like to add a list of language alternatives for i18n + SEO
<skroon> if I can call it "front matter" since jykell, middleman, etc call it that way :)
<skroon> cci
<_rgn> pretty happy that i did the switch from stasis to nanoc
<_rgn> the setup was way easier with stasis but the compilation was slow and directory structure was a bit weird
<ddfreyne> _rgn: One of the goals of nanoc 4.0 is to simplify things. there are a few weird idiomatic things that nanoc does and I'm getting rid of those
<_rgn> for what it's worth coming from rails and co. the route keyword thing was pretty confusing
<_rgn> route '/stylesheet/' do '/style.css' end huh???
<_rgn> i get it now but the '/stylesheet/' syntax raised some eyebrows
<ddfreyne> _rgn: that is already gone in nanoc 4.0. It's something like compile '/style.css' do ; filter :rainpress ; write '/stylesheet.css' ; end
<_rgn> seems more intuitive
<ddfreyne> The identifiers (two slashes) have advantages but I don't think it weighs up to the confusion
<_rgn> yep, '/style.css' is an abstraction i'm already aware of, a path to a file
<ddfreyne> _rgn: https://gist.github.com/ddfreyne/6274277 nanoc 4.0 routing rules for stoneship.org
<ddfreyne> Upgrading to nanoc 4.0 should be relatively easy though.
cDlm has quit [Quit: cDlm]
yogsototh has joined #nanoc
jugglinmike has joined #nanoc
skroon has quit [Ping timeout: 245 seconds]
bghost has joined #nanoc
bghost has quit [Quit: leaving]
bghost has joined #nanoc
<musicmatze> Yeah, finally setup nanoc in a VM (Mint linux) and now I'm able to use my new notebook, only. So I can use my old to play around with linux kernels and so on :-P
<musicmatze> And, of course, I could setup a testing environment for my static site compiler and later compare it against others like nanoc or jekyll ...
Rym has quit [Ping timeout: 260 seconds]
Rym has joined #nanoc
Rym has quit [Ping timeout: 260 seconds]
<guardian> ddfreyne: would you recommend using nanoc 4 already?
Rym has joined #nanoc
<ddfreyne> guardian: No
<ddfreyne> It is really, really WIP
<ddfreyne> Lots of rough edges
<guardian> ok
pavelkunc has quit [Quit: Leaving.]
skroon has joined #nanoc
skroon has quit [Ping timeout: 264 seconds]
Rym_ has joined #nanoc
Rym has quit [Ping timeout: 264 seconds]
Rym has joined #nanoc
Rym_ has quit [Ping timeout: 248 seconds]
bghost has quit [Ping timeout: 268 seconds]
pavelkunc has joined #nanoc
skroon has joined #nanoc
<_rgn> filter :erb, :options => { :trim_mode => "-" }
<_rgn> is this close to correct?
<_rgn> trying to make <% -%> work
skroon has quit [Ping timeout: 256 seconds]
<_rgn> ah, got it.
<_rgn> no :options
alerante has joined #nanoc
alerante has quit [Remote host closed the connection]
alerante has joined #nanoc
alerante has quit [Remote host closed the connection]
Rym has quit [Ping timeout: 260 seconds]
<ddfreyne> guard-nanoc does not have tests but it is hard to write tests for it, I guess...
Rym has joined #nanoc
alerante has joined #nanoc
pavelkunc has quit [Quit: Leaving.]
Rym has quit [Ping timeout: 245 seconds]
Rym has joined #nanoc
<ddfreyne> Started pouring helpers into separate repositories. nanoc-escaping and nanoc-capturing are done!
alerante has quit [Remote host closed the connection]
<ddfreyne> nanoc-blogging is done now too (although that one could use some cleanup)
skroon has joined #nanoc
Rym has quit [Read error: Connection reset by peer]
Rym_ has joined #nanoc
bghost has joined #nanoc
yogsototh has quit [Remote host closed the connection]
<ddfreyne> nanoc-rendering and nanoc-filtering are done
bghost has quit [Ping timeout: 245 seconds]
<ddfreyne> All helpers done!
alerante has joined #nanoc
skroon has quit [Ping timeout: 260 seconds]
<bobthecow> ddfreyne: i can't merge guard-nanoc.
<bobthecow> apparently i'm not cool enough.
skroon has joined #nanoc
alerante has quit [Read error: Connection reset by peer]
alerante_ has joined #nanoc
skroon has quit [Ping timeout: 256 seconds]
alerante_ has quit [Remote host closed the connection]
Rym_ has quit [Ping timeout: 245 seconds]
Rym has joined #nanoc
Rym has quit [Ping timeout: 256 seconds]
Rym has joined #nanoc