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
irsol has joined #nanoc
jugglinmike has quit [Quit: Leaving.]
alerante has quit [Remote host closed the connection]
alerante has joined #nanoc
alerante has quit [Ping timeout: 244 seconds]
prxq has joined #nanoc
alerante has joined #nanoc
alerante has quit [Ping timeout: 255 seconds]
cDlm has quit [Quit: Computer has gone to sleep.]
cDlm has joined #nanoc
prxq has quit [Remote host closed the connection]
alerante has joined #nanoc
alerante has quit [Ping timeout: 245 seconds]
alerante has joined #nanoc
alerante has quit [Ping timeout: 240 seconds]
FernandoBasso has joined #nanoc
<FernandoBasso> Hi.
<FernandoBasso> :)
alerante has joined #nanoc
alerante has quit []
alerante has joined #nanoc
<guardian> o/
<FernandoBasso> I posted a question on google groups. If anyone is willing to take a shot that would be great.
<guardian> I saw the question
<guardian> you really need to read a bit more about nanoc
<guardian> route '/command-line/' will do nothing because there is no item with this identifier
<FernandoBasso> http://nanoc.ws/docs/reference/rules/ <-- That is what I am reading now.
<guardian> you have '/command-line/bash/', '/command-line/cp' <-- those are the identifiers for two of your items
<FernandoBasso> I really don't know what an item is. Is it something like /foo/bar/ or /foo/bar/something.md ?
<FernandoBasso> Ah!
<guardian> that's why I said, read a bit more about nanoc concepts :)
<FernandoBasso> Sure. You are right.
<FernandoBasso> But then I could do /command-line/* ?
<guardian> then have a look at this routing rule that I apply to all items for a project of mine: http://pastebin.com/ekAtKAPR
<guardian> yeah you could do that
<FernandoBasso> All right. Thanks. I'll get busy re-reading the docs.
<guardian> hmm that being said, lines 9-10 in the sample I pasted look dodgy :)
<FernandoBasso> I wonder how I could inspect what a command is doing. Like if (true) puts item[:blah] or something...
<ddfreyne> Hi
<ddfreyne> FernandoBasso: You can use the show-rules
<FernandoBasso> All right. I just saw that :filename is the path and the name of the file itself.
<FernandoBasso> I added a puts item[:filename] inside the routing rules. I was afraid it would cause the compilation to fail.
jugglinmike has joined #nanoc
jugglinmike has quit [Quit: Leaving.]
jugglinmike has joined #nanoc
prxq has joined #nanoc
cDlm has quit [Ping timeout: 245 seconds]
wrl has joined #nanoc
<wrl> hey, i'm having some trouble with the `static` data source
<wrl> i'm generating stuff out of my `assets` directory, items_root = '/assets/'
<wrl> i've got an empty compile rule and a passthrough route rule
<wrl> but there are two things amiss: first, i can't get my route rule to actually do anything (if i drop a `raise RuntimeError` in there, it doesn't get raised)
<wrl> i really wouldn't care about that, except that my images are getting copied into output with duplicated extensions
<wrl> ./assets/img/foo.png -> ./output/assets/img/foo.png.png
cDlm has joined #nanoc
cDlm has quit [Client Quit]
cDlm has joined #nanoc
cDlm has quit [Quit: Computer has gone to sleep.]
tlevine has quit [Ping timeout: 272 seconds]
tlevine has joined #nanoc
FernandoBasso has quit [Quit: WeeChat 0.4.3]
prxq has quit [Remote host closed the connection]
jugglinmike has quit [Quit: Leaving.]
ctp has joined #nanoc
ctp has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
wrl has quit [Ping timeout: 245 seconds]
wrl has joined #nanoc