ddfreyne changed the topic of #nanoc to: 3.6.7 (dec 9th) | 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
<tom[]> VitamineD: if you needed a method, it's not implicit
64MAAIL5F has joined #nanoc
jugglinmike has quit [Quit: Leaving.]
alerante has quit [Remote host closed the connection]
<ddfreyne> http://nanoc.ws/install/ fancy info icons!
ldk has quit [*.net *.split]
ldk has joined #nanoc
<GitHub15> [nanoc-core] ddfreyne created feature/dependency-tracking-in-views (+3 new commits): http://git.io/rLD8gw
<GitHub15> nanoc-core/feature/dependency-tracking-in-views 02f39c7 Denis Defreyne: Let item/layout view do dependency tracking
<GitHub15> nanoc-core/feature/dependency-tracking-in-views 86b95d1 Denis Defreyne: Add LayoutView
<GitHub15> nanoc-core/feature/dependency-tracking-in-views fba2959 Denis Defreyne: Create DocumentView superclass for {Item,Layout}View
<GitHub154> [nanoc-core] ddfreyne pushed 1 new commit to feature/dependency-tracking-in-views: http://git.io/aeauKA
<GitHub154> nanoc-core/feature/dependency-tracking-in-views 6891de9 Denis Defreyne: Remove Document#[]
<travis-ci> [travis-ci] nanoc/nanoc-core/feature/dependency-tracking-in-views fba2959 Denis Defreyne: The build passed.
<GitHub118> [nanoc-core] ddfreyne pushed 1 new commit to feature/dependency-tracking-in-views: http://git.io/NVpByw
<GitHub118> nanoc-core/feature/dependency-tracking-in-views 6854465 Denis Defreyne: Improve documentation for views
<travis-ci> [travis-ci] nanoc/nanoc-core/feature/dependency-tracking-in-views 6891de9 Denis Defreyne: The build passed.
<travis-ci> [travis-ci] nanoc/nanoc-core/feature/dependency-tracking-in-views 6854465 Denis Defreyne: The build passed.
<GitHub109> [nanoc-core] ddfreyne merged feature/dependency-tracking-in-views into master: http://git.io/E_TbsQ
<GitHub42> [nanoc-core] ddfreyne pushed 1 new commit to master: http://git.io/_EDj5g
<GitHub42> nanoc-core/master 7dc68e8 Denis Defreyne: Fix test task
<GitHub10> [nanoc-core] ddfreyne deleted feature/dependency-tracking-in-views at 6854465: http://git.io/paihnQ
<travis-ci> [travis-ci] nanoc/nanoc-core/master 6854465 Denis Defreyne: The build passed.
<travis-ci> [travis-ci] nanoc/nanoc-core/master 7dc68e8 Denis Defreyne: The build passed.
alerante has joined #nanoc
alerante has quit [Ping timeout: 264 seconds]
relix has joined #nanoc
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
relix has joined #nanoc
relix has quit [Client Quit]
relix has joined #nanoc
alerante has joined #nanoc
alerante has quit [Ping timeout: 240 seconds]
64MAAIL5F has quit [Ping timeout: 244 seconds]
alerante has joined #nanoc
alerante has quit [Ping timeout: 264 seconds]
alerante has joined #nanoc
louquillio has quit [Ping timeout: 240 seconds]
louquillio has joined #nanoc
alerante has quit [Remote host closed the connection]
<tom[]> bobthecow: i think that static source suggestion. i'll give it a try
alerante has joined #nanoc
alerante has quit [Remote host closed the connection]
alerante has joined #nanoc
louquillio has quit [Remote host closed the connection]
Jutah has quit [Quit: Connection closed for inactivity]
jugglinmike has joined #nanoc
ledtank has joined #nanoc
ledtank has quit [Remote host closed the connection]
louquillio has joined #nanoc
asgulor has joined #nanoc
<asgulor> Hello everybody, I'm new, here
<tom[]> hello asgulor. i've been here since after lunc
<tom[]> lunch
<asgulor> Are you alone, tom?
<asgulor> I thought there will be more people on this chan
<asgulor> I just began nanoc and I love it :)
<bobthecow> glad to hear it :)
<tom[]> that's real swell, asgulor
<tom[]> look! we are not alone
<asgulor> Unfortunately, it's very hard for me to find some solutions to my problems
<asgulor> To give you an example, I spent a whole month to include Font Awesome in my projec
<asgulor> *project
<bobthecow> ddfreyne and i both look like we're here when we aren't :P
<asgulor> And I still can't find a solution...
<asgulor> Oh OK :)
<bobthecow> asgulor: are you running into "duplicate identifier" issues?
<asgulor> No :/
<asgulor> Actually, I tried to use this example
<asgulor> I still don't understand why if I move the 'static' folder into 'content', it doesn't work...
<asgulor> Then, even if I tried to let 'static' at the root and if I'm trying to use HAML, it doesn't work...
<asgulor> I'm really lost with this problem
<bobthecow> notice how your config lists two data sources:
<bobthecow> one for filesystem_unified, one for static.
<bobthecow> oh, this is a bad sample site.
<bobthecow> it does a dumb thing :P
<asgulor> Maybe that's why I don't understand it :)
<asgulor> Well, if you have time to help me, it will be a real pleasure for me to add Font Awesome to my project
<bobthecow> because i could tell you what's going on, but i'd just be telling you what that says only slower because i can't type that fast :)
<tom[]> i have a theory about why there are so many bad examples, tutorials, blogs and wikis that purport to explain software stuff
<bobthecow> what's that?
<asgulor> I had an error like this 'Found 3 content files for X; expected 0 or 1' but my main problem is that I want to use HAML
<asgulor> To give you an example, I would like to include some icons in my layouts
<bobthecow> asgulor: you read that section?
<asgulor> Yes, bobthecow
<bobthecow> okay. so you have two data sources:
<bobthecow> filesystem and static.
<bobthecow> stuff in static can't really be filtered... it's pretty much just useful for copying straight into output.
<asgulor> OK
<bobthecow> stuff in the filesystem data source is normal nanoc stuff. it can be filtered, etc.
<bobthecow> so just put font awesome in static, put everything else in content.
<bobthecow> then you can use haml for the content stuff, and copy the font awesome stuff straight across.
<bobthecow> the dumb thing this sample site does is put the static stuff in the same "items root" as the normal content, so it's harder to make rules for it.
<tom[]> if somebody is skilled at x, it doesn't seem like anything in particular when they solve a problem. it's just like any other event. but to someone new to the x, somebody learning and not fully competent, it can seem like a triumph to solve a problem that's challenged them. they want to shout from the hilltops: "I solved it!" but, because being truly skilled at anything is required to b able to know if a solution is right or wrong, the
<tom[]> chances are high that the one on the hilltop hasn't found a good solution
<asgulor> I did that. Unfortunately, when I type 'compile '/' do, everything goes wrong
<asgulor> Of course, I typed 'compile '/' do' in Rules
<bobthecow> define "everything goes wrong"
<bobthecow> i think there might be multiple things at play here :P
<asgulor> Yes, you're right, tom. I actually tried to do it before on my own but I had some problem
<asgulor> Well, to give you an example
<asgulor> I'm still taking this bad link: https://github.com/akahigeg/nanoc-with-font-awesome-sample
<tom[]> define("everything goes wrong", IT_DOESNT_WORK);
<bobthecow> asgulor: open up nanoc.yaml in your site.
<bobthecow> under data sources type: static
<bobthecow> remove the "allow_periods_in_identifiers: true"
<bobthecow> because it doesn't do anything at all.
<asgulor> When I changed the rules, I typed 'compile '/' do filter :HAML', I changed 'index.html' in content in index.haml, it doesn't work
<bobthecow> and change "items_root: /" to "items_root: /assets/"
<bobthecow> define "it doesn't work"
<bobthecow> there are lots of ways of not working, and i can't help you until i know which way it is :)
<bobthecow> in fact, there is only one way of working, and infinite ways of not working.
<asgulor> Sorry, bob :)
<asgulor> Well, I don't see icons
<asgulor> When you compile the github repo, you will see a house icon
<asgulor> When I change the file with HAML, I just see all my text in italic
<bobthecow> so does it show you uncompiled haml source?
<asgulor> Yes
<asgulor> Actually, I came here to know if someone already use the last version of Font Awesome. Because it seems that there is no compatibility with Nanoc. Is that true?
<bobthecow> okay. so that's unrelated to the font awesome.
<asgulor> OK
<bobthecow> font awesome is 100% compatible with nanoc.
<bobthecow> everything ever made for the web is 100% compatible with nanoc.
<bobthecow> nanoc doesn't care.
<asgulor> OK :)
<bobthecow> it's like a honeybadger.
<asgulor> :D
<bobthecow> can you paste a gist of your rules file so i can follow along?
<bobthecow> and your config file.
<asgulor> Well, bob, I would like to try with the last version of Font Awesome in my project
<bobthecow> yes, we've established this :)
<asgulor> Can I try again and I will send you my error messages?
<bobthecow> please paste your config and rules file into a gist so i can see them?
<asgulor> OK, just a sec
<asgulor> Here is my Rules file
<asgulor> Here is my config
<asgulor> Here is my index.haml
<asgulor> You'll see, I just changed the first line and I tried to include an icon in HAML
<asgulor> But with my Rules and my config, it doesn't work, unfortunately. If I delete the line compile '/' do and filter :HAML, it works
<asgulor> :o
<asgulor> I also forget to talk about this blog which is using Font Awesome in a different way: https://github.com/carmi/ecarmi.org-nanoc
<bobthecow> sorry, i've got a newborn and he decided everything in the world was wrong, so i had to take care of him.
<bobthecow> back now.
<bobthecow> i don't know haml that well, but i don't think this file is valid haml.
<bobthecow> with the ecarmi site, instead of doing a static data source they renamed all their font files.
<bobthecow> i prolly wouldn't do it like that, personally.
<bobthecow> let's fix your static data source first.
<bobthecow> then we'll get back to the haml.
<bobthecow> okay?
<asgulor> No problem, bobthecow :)
<bobthecow> great.
<bobthecow> open your nanoc.yaml file