Logs for #nikola for 2016-05-29

01:04:48 <KwBot> [nikola] shelper opened issue #2350: provide option to hide posts https://github.com/getnikola/nikola/issues/2350
01:07:39 <KwBot> [nikola] ralsina closed issue #2350: provide option to hide posts https://github.com/getnikola/nikola/issues/2350
07:26:39 <gour> morning
07:27:45 <gour> is there some mechanism in nikola to provide default arguments per cmd? (of course, besides shell aliasing etc.) 
07:32:53 <ChrisWarrick> gour: not really, what do you need?
07:34:26 <gour> ChrisWarrick: e.g. to set default for 'serve' to use '-b -a 127.0.0.1' etc.
07:34:38 <ChrisWarrick> gour: no, we don’t have anything for that
07:34:42 <gour> ok
07:58:42 <gour> i want to have "about-us" page at the top menu and put it under stories/.  there is line PAGES=(("stories/*.rst", "", "story.tmpl"), in conf.py, but when i try to build, i get ERROR: Task generation 'render_site' has duplicated definition of 'render_indexes:output/en/index.html although my default language is set to 'hr'. any hint?
08:01:26 <DrDoofenshmirtz> Is it just me or do you have an extra ( gour?
08:02:33 <DrDoofenshmirtz> no wait Ill just assume you missed the ) at the end ignore me
08:03:15 <gour> DrDoofenshmirtz: right, that snippet is ok. it contains parts for *.{txt,html} as well
08:05:29 <gour> strange...after running 'build -a' everything is fine (besides error with 'unknow shortcode' which i reported yesterday
08:05:37 <gour> another 'build' makes things clear
08:06:57 <gour> just wonder what is the meaning of --invariant parameter for build..it reminds me about the point of 'deterministic build' with nikola which is, iirc, discussed on ChrisWarrick's "benchmark post"
08:07:15 <ChrisWarrick> gour: Internal use only.
08:07:32 <gour> ahh, i was wrong...i did 'build -a' with another site...the problem remains
08:08:01 <ChrisWarrick> gour: It disables hashes and sets date to a fixed point. Used for testing.
08:09:11 <gour> ok, nothing related to my problem...btw, 'build' has option to use sqlite3 backend. any pro/cons in comparison with dbm?
08:16:03 <ChrisWarrick> gour: I never used that.
08:16:58 <ChrisWarrick> gour: create a bug about that unknown shortcode thing and we’ll get to it
08:17:30 <gour> ok
08:23:45 <KwBot> [nikola] gour opened issue #2351: Unknown shortcode foo (started at line 491, column 1) https://github.com/getnikola/nikola/issues/2351
09:08:38 <KwBot> [nikola] Kwpolska assigned issue #2351 to Kwpolska: Unknown shortcode foo (started at line 491, column 1) https://github.com/getnikola/nikola/issues/2351
09:09:00 <KwBot> [nikola] Kwpolska closed issue #2351: Unknown shortcode foo (started at line 491, column 1) https://github.com/getnikola/nikola/issues/2351
09:09:15 -GitHub[nikola]:#nikola- [nikola] Kwpolska pushed 1 new commit to master: https://git.io/vrHz8
09:09:15 -GitHub[nikola]:#nikola- nikola/master afdfa55 Chris Warrick: Fix #2351 -- mark extending.txt shortcodes raw...
09:09:19 <KwBot> [nikola] Kwpolska opened issue #2352: Remove newline at end of raw shortcode https://github.com/getnikola/nikola/issues/2352
09:09:19 <KwBot> [nikola] Kwpolska assigned issue #2352 to Kwpolska: Remove newline at end of raw shortcode https://github.com/getnikola/nikola/issues/2352
09:13:47 <KwBot> [nikola] Kwpolska closed issue #2352: Remove newline at end of raw shortcode https://github.com/getnikola/nikola/issues/2352
09:14:00 -GitHub[nikola]:#nikola- [nikola] Kwpolska pushed 1 new commit to master: https://git.io/vrHzo
09:14:00 -GitHub[nikola]:#nikola- nikola/master 6cf7744 Chris Warrick: Fix #2352 -- remove newline at end of raw shortcode...
09:27:31 <gour> solved my build issue...problem was due to STORY_INDEX=True, reverting back to default (False), did it
09:31:02 <ChrisWarrick> gour: well then, you might have some other index around
09:31:07 <ChrisWarrick> gour: did you copy our website source?
09:31:41 <gour> ChrisWarrick: i did, but was not looking for it there :-)
09:32:04 <ChrisWarrick> gour: so, you caused a conflict between STORY_INDEX’s index.html and our index.html
09:32:38 <gour> ChrisWarrick: well, the problem was with my site, not nikola-site
09:32:54 <ChrisWarrick> gour: yes, but caused by taking our content
09:33:00 <gour> otoh, nikola's conf.py is really rich showin all the power of ssg
09:34:17 <gour> ChrisWarrick: hmm, i used only one page (mine), no blog posts and only files/images folders
09:34:47 <ChrisWarrick> gour: #2351 build log claims otherwise
09:35:00 <gour> now re-learning rst
09:35:14 <ChrisWarrick> gour: (feel free to copy things with © attribution)
09:35:20 -travis-ci:#nikola- getnikola/nikola#7121 (master - afdfa55 : Chris Warrick): The build passed.
09:35:21 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/da5e94cfa691...afdfa557d08b
09:35:21 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/133702150
09:35:56 <gour> ChrisWarrick: well, shortcode problem was  just to show the problem is present even while building nikola-site. my build problem does not have anything to do with it
09:36:12 <ChrisWarrick> gour: yeah, I understand
09:36:31 <gour> so that you can reproduce it easily
09:38:52 <gour> btw, what has happened with live-reload in Nikola?
09:40:02 <ChrisWarrick> gour: it’s still alive
09:40:21 <gour> ChrisWarrick: what is required to use it?
09:40:41 <ChrisWarrick> gour: `nikola auto` should tell you
09:41:02 <gour> ahh, shame...how did i miss it :-(
09:41:33 <ChrisWarrick> gour: that didn’t change, really
09:41:49 <ChrisWarrick> gour: we did re-implement it some time ago, but the `nikola auto` name was always there
09:41:53 <gour> ChrisWarrick: my mistake after fiddling with other ssg.s
09:42:12 <ChrisWarrick> gour: run nikola help and familiarize yourself with it
09:43:02 <gour> i do, but, somehow, missed the 1st two cmds...only 'saw' from build below