davidcalle | Morning ! o/ | 07:53 |
---|---|---|
dholbach | davidcalle, do you remember if we had landed the footnotes extension on prod? | 09:45 |
davidcalle | Let me check | 09:46 |
davidcalle | dholbach: yes :) | 09:47 |
dholbach | great | 09:47 |
dholbach | hum... thinking about it, I'm wondering if it even made sense to get it on the dev site | 09:48 |
dholbach | it would only make sense if we include it in snappy/snapcraft docs in markdown an then import it from there, right? | 09:49 |
dholbach | in that case github would probably need to have this extension as well | 09:49 |
dholbach | http://stackoverflow.com/questions/25579868/how-to-add-footnotes-to-github-flavoured-markdown | 09:51 |
davidcalle | dholbach: I'm on the same page | 09:53 |
davidcalle | And trying options on github, doesn't seem to be supported, indeed | 09:53 |
davidcalle | dholbach: on the other hand, depending on the doc, if we don't need to host it there, we can fallback on raw md in launchpad | 09:54 |
dholbach | https://github.com/ubuntu/snappy-playpen/blob/test/README.md | 09:55 |
dholbach | indeed, it doesn't work | 09:55 |
dholbach | using the example from https://pythonhosted.org/Markdown/extensions/footnotes.html | 09:55 |
dholbach | I'll send a mail to the Jamies and loop you in, so we can figure it out together where to put it | 09:57 |
davidcalle | dholbach: I've sent you something I've just tried (not footnotes, but general md), in case it helps | 10:02 |
dholbach | wow, nice | 10:02 |
davidcalle | ot sure how accurate the conversion is, I know the script hanged on code blocks and I've disabled this, but for a general layout, might be useful | 10:03 |
davidcalle | not* | 10:03 |
dholbach | it looks good at first glance | 10:08 |
davidcalle | For reference: http://lifehacker.com/this-script-converts-google-documents-to-markdown-for-e-511746113 | 10:09 |
* dholbach bookmarks | 10:10 | |
dholbach | davidcalle, https://daniel.holba.ch/temp/whitepaper/ - what do you think? | 13:08 |
dholbach | making it all pretty took a bit longer than expected, but all in all, it went all right | 13:08 |
dholbach | we should also enable markdown.extensions.toc | 13:09 |
dholbach | I'll add an MP for it | 13:09 |
davidcalle | dholbach: that's a nice amount of footnotes :) | 13:32 |
davidcalle | dholbach: lgtm, although, I'm wondering how the top image will look at eight-col size. | 13:33 |
dholbach | davidcalle, I guess we can resize it | 13:52 |
dholbach | https://code.launchpad.net/~dholbach/developer-ubuntu-com/add-toc-md-ext/+merge/295480 | 14:03 |
davidcalle | ack | 14:10 |
dholbach | davidcalle, refresh the whitepaper again - toc and footnotes work fine :) | 14:13 |
davidcalle | dholbach: here ? https://daniel.holba.ch/temp/whitepaper/security-whitepaper.html | 14:23 |
* davidcalle doesn't see a TOC | 14:26 | |
dholbach | sorry, try again | 14:30 |
davidcalle | Yay :) | 14:32 |
davidcalle | dholbach: I need you brain for a sec: how do I get the content of a specific plugin on a page, based on its url? | 14:32 |
davidcalle | well, specific plugin type: assuming there is only one eg. RAWHtml, how do I get its content, if my only reference is its url? | 14:33 |
davidcalle | dholbach: found it :) | 14:37 |
davidcalle | I was missing "get_plugin_instance" | 14:38 |
dholbach | otp, brb | 14:39 |
dholbach | ah ok, you found it already :) | 14:42 |
dholbach | davidcalle, shall I merge https://code.launchpad.net/~dholbach/developer-ubuntu-com/add-toc-md-ext/+merge/295480? | 14:42 |
dholbach | I use it here: http://bazaar.launchpad.net/~developer-ubuntu-com-dev/developer-ubuntu-com/stable/view/head:/md_importer/importer/publish.py#L193 | 14:43 |
dholbach | and I think the get_plugin_instance was something you wrote in the first place :) | 14:43 |
dholbach | ... or maybe borrowed from somewhere else :) | 14:43 |
davidcalle | dholbach: hah, alright :) Sure, you can merge! | 14:47 |
davidcalle | dholbach: still around for a few min? | 16:12 |
davidcalle | Here is what I've been mostly up to today: | 16:14 |
davidcalle | Standard CMS page, with a RawHTML template, look at the uri http://i.imgur.com/eUCh51T.png | 16:14 |
davidcalle | Codelabs style page generated from it: http://i.imgur.com/wxS5ySq.png, based on url | 16:15 |
davidcalle | It's not a Django Template, but a separate app built with Polymer, which allows a lot of nice UI tricks and responsiveness | 16:17 |
dholbach | very nice :) | 16:33 |
dholbach | all rightie... I call it a day - see you tomorrow! | 17:06 |
=== \b is now known as Guest49310 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!