ddfreyne changed the topic of #nanoc to: 3.7.0 (June 8th) | 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
alerante has quit [Remote host closed the connection]
alerante has joined #nanoc
alerante has quit [Ping timeout: 244 seconds]
<GitHub60> [nanoc-core] rrrene opened pull request #7: Update docs badge in README (master...patch-2) http://git.io/ctKRTw
alerante has joined #nanoc
cDlm has quit [Quit: Computer has gone to sleep.]
alerante has quit [Ping timeout: 252 seconds]
prxq has joined #nanoc
cDlm has joined #nanoc
dkm has quit [Ping timeout: 240 seconds]
dkm has joined #nanoc
prxq has quit [*.net *.split]
smkelly has quit [*.net *.split]
terinjokes has quit [*.net *.split]
cDlm has quit [*.net *.split]
louquillio_ has quit [*.net *.split]
guardian has quit [*.net *.split]
canton7 has quit [*.net *.split]
ctp has quit [*.net *.split]
irsol has quit [*.net *.split]
stbuehler has quit [*.net *.split]
zaiste has quit [*.net *.split]
number-six has quit [*.net *.split]
FunkyPenguin has quit [*.net *.split]
ldk has quit [*.net *.split]
jaspervdj has quit [*.net *.split]
TobiasFar has quit [*.net *.split]
koan has quit [*.net *.split]
ddfreyne has quit [*.net *.split]
jd_ has quit [*.net *.split]
tom[] has quit [*.net *.split]
mikey_p has quit [*.net *.split]
bobthecow has quit [*.net *.split]
francois2 has quit [*.net *.split]
tlevine has quit [*.net *.split]
zi has quit [*.net *.split]
Keltia has quit [*.net *.split]
smkelly has joined #nanoc
FunkyPenguin has joined #nanoc
terinjokes has joined #nanoc
stbuehler has joined #nanoc
Keltia has joined #nanoc
zi has joined #nanoc
canton7 has joined #nanoc
tlevine has joined #nanoc
jd_ has joined #nanoc
zaiste has joined #nanoc
bobthecow has joined #nanoc
francois2 has joined #nanoc
guardian has joined #nanoc
number-six has joined #nanoc
mikey_p has joined #nanoc
ldk has joined #nanoc
cDlm has joined #nanoc
irsol has joined #nanoc
tom[] has joined #nanoc
koan has joined #nanoc
TobiasFar has joined #nanoc
louquillio_ has joined #nanoc
prxq has joined #nanoc
ctp has joined #nanoc
jaspervdj has joined #nanoc
ddfreyne has joined #nanoc
prxq has quit [*.net *.split]
smkelly has quit [*.net *.split]
terinjokes has quit [*.net *.split]
smkelly has joined #nanoc
prxq has joined #nanoc
terinjokes has joined #nanoc
alerante has joined #nanoc
alerante has quit [Ping timeout: 244 seconds]
<GitHub181> [nanoc-core] ddfreyne closed pull request #7: Update docs badge in README (master...patch-2) http://git.io/ctKRTw
<GitHub187> nanoc-core/master 419d000 Denis Defreyne: Merge pull request #7 from rrrene/patch-2...
<GitHub187> [nanoc-core] ddfreyne pushed 2 new commits to master: http://git.io/evfX9A
<GitHub187> nanoc-core/master 53f25a9 René Föhring: Update docs badge in README...
ctp has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ctp has joined #nanoc
alerante has joined #nanoc
alerante has quit [Ping timeout: 264 seconds]
jugglinmike has joined #nanoc
ctp has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ctp has joined #nanoc
cDlm has quit [Ping timeout: 240 seconds]
cDlm has joined #nanoc
alerante has joined #nanoc
prxq has quit [Remote host closed the connection]
alerante has quit []
cDlm has quit [Ping timeout: 255 seconds]
cDlm has joined #nanoc
cDlm has quit [Ping timeout: 272 seconds]
<guardian> damn
<guardian> I have a need for linking to a specific header in a item
<guardian> having my custom link_to helper along with a #foo is so fragile
<bobthecow> add a `fragment: 'foo`
<bobthecow> option to your helper?
cDlm has joined #nanoc
ctp has quit [Quit: Textual IRC Client: www.textualapp.com]
jugglinmike has quit [Quit: Leaving.]
jugglinmike has joined #nanoc
jugglinmike has quit [Quit: Leaving.]
<guardian> bobthecow: yeah right
<guardian> bobthecow: but the fragment depends on autogerated ids
<guardian> that's what fragile
<bobthecow> yeah, but there's not much you can do with that.
<bobthecow> you could add your own explicit identifier.
<bobthecow> is this the only instance of the problem, or will you have more?
<guardian> more of what?
<guardian> well I guess link validation pass will catch fragment mismatch anyways
<bobthecow> more instances where you need to link to a fragment.
<bobthecow> you could write a helper that uses nokogiri to parse the page and find the actual identifier.
<bobthecow> or you could hard-code an <a> tag with an implicit identifier.
<bobthecow> or you could do any number of other things.
<bobthecow> but if this is a one-off issue, just link to it and deal with the potential problems when they actually happen :)
<bobthecow> s/implicit identifier/explicit identifier/g
jugglinmike has joined #nanoc
ctp has joined #nanoc
smkelly has quit [*.net *.split]
terinjokes has quit [*.net *.split]
terinjokes has joined #nanoc
smkelly has joined #nanoc
jugglinmike has quit [*.net *.split]
jugglinmike has joined #nanoc
<guardian> re
<guardian> sorry was afk for a while
<guardian> so yeah yet another helper that fires mammoth Nokogiri :)
<guardian> that's the most shameful shortcoming of web
<guardian> it's meant to be linked... provided the original author of a page planned for it...
<guardian> so the helper would do what? fuzzy match the fragment with a levenshtein distance and fix mismatch? or raise error on mismatch
<guardian> in which case the link checker is a better option
alerante has joined #nanoc
louquillio_ has quit [Ping timeout: 240 seconds]
louquillio_ has joined #nanoc
<ctp> hi folks
<ctp> i have to split my markdown content in multiple files per directory. something like directory "chapter_1" would contain foo.md, bar.md, foobar.md. but the result should be chapter_1.html. any ihints how to realize that?