/srv/irclogs.ubuntu.com/2016/05/25/#ubuntu-website.txt

dholbachdavidcalle, https://github.com/thejimbirch/GoogleDoc2Html/ looks nice08:43
davidcalledholbach: is the result ok?08:43
dholbachstill looking at it :)08:44
dholbachnot 100%, no08:46
dholbachdavidcalle, https://developer.ubuntu.com/en/snappy/guides/security-whitepaper/08:48
dholbach(not published)08:48
dholbachit doesn't get the footnotes, nor the code blocks08:48
dholbachmaybe another option would be to ask Jamie and Tyler if they could imagine editing this in a separate repo somewhere and we can stay with .md? :-)08:49
davidcalledholbach: I'm wondering if there is an online repo somewhere that deals with md footnotes08:53
dholbachcan you explain?08:54
dholbachdavidcalle, ^08:57
davidcalleeg. https://stackedit.io/editor supports footnotes, maye we could host it there. It seems to generate clean html.09:00
davidcalleThis would allow us to stay with a clean md, a clean html, and a convenient editor for the sec team09:00
davidcalleGitHub works as well, but footnotes will look weird :)09:01
dholbachthat looks very nice09:04
dholbachI'm just not sure what the workflow should look like...09:04
davidcalleI know :)09:06
dholbachto me it seems to be right now: 1) the guys edit it in gdoc and we live with very suboptimal html, or try to optimise it somehow or 2) we set up another repo, leave the markdown in there and import it09:07
dholbachthat's at least two workflows I can easily understand :)09:07
davidcalledholbach: I'm all for 2), but the downside is that they won't have a proper view of a document using footnotes.09:09
davidcalleTherefore, the way I see it, let's have a good way to clean 1). It will also be useful for the SDK team, as they are publishing things raw from gdoc and I have to clean it up when it's posted.09:11
dholbachok09:13
davidcalledholbach: I'm on what I think is a good solution for ^, can I send you a prototype later today?13:11
dholbachyes, please13:11
dholbachI started looking into it myself13:11
dholbachbut I'm sure I didn't get as far as you did :-P13:11
davidcalledholbach: I have a tool that downloads the doc in html and pdf, with html images still hosted on gdrive, and a parser that does a bit of cleaning.13:13
dholbachwow13:13
dholbachdavidcalle, can we land https://code.launchpad.net/~dholbach/developer-ubuntu-com/fix-consistency-command/+merge/295718 later on today maybe? :)13:57
dholbachI can check my backlog to see if I can still do it... if you want13:59
davidcalleOh, thanks, I was going to talk to you about this just after what I'm doing, so +114:00
davidcalleI'll do it asap14:01
dholbachmaybe you can share your bash history with me again? :)14:02
davidcalledholbach: too late, deploying :)14:04
dholbachno worries14:04
dholbachshall I land it in trunk?14:04
davidcalledholbach: let's test it on the staging db, because I had the exact same traceback this morning, without this fix14:04
dholbachok14:04
davidcalledholbach: gdoc cleaner: the only issue I have is that code blocks are not handled (because gdoc doesn't actually use the code format, or at least it wasn't used in this doc).14:05
dholbachthat's absolutely acceptable :)14:11
davidcalledholbach: check your email, you have the cleaner prototype15:15
dholbachyep, saw the mail15:15
dholbachthanks a lot15:16
davidcallenp :) You'll still need to extract and only paste what's inside the body tag but, 99% of the cruft is out.15:16
dholbachdavidcalle, is that in clean.html?15:18
davidcalledholbach: glad it worked :D yes15:18
dholbachthere's a lot of <span> items still15:18
dholbachis that expected?15:19
davidcalledholbach: part of the 1% remaining cruft, but it shouldn't be an issue, the CMS will clean empty ones15:20
dholbachok15:20
dholbachfair enough15:20
dholbachdavidcalle, https://developer.ubuntu.com/en/snappy/guides/security-whitepaper/ - qu'est-ce que tu pense?15:23
dholbachje l'aime beaucoup15:24
dholbachmaybe just add the .pdf at the top (Read this in .pdf format.) or something?15:24
davidcalledholbach: :) Maybe let's get rid of the TOC for now, it doesn't look great without indentation. And needs some code blocks. I can do it in a moment if you need to run :) The rest wfm :)15:25
dholbach I'll remove it from the page15:26
dholbachdavidcalle, can I attach files to pages in the cms or will the world explode?15:29
davidcalledholbach: never tried to attach files (other than images), maybe we should host it on a people.ubuntu.com or a people.canonical.com thing15:33
dholbachsure15:33
davidcalle(but as I said, I don't mind doing it later today)15:36
dholbachdavidcalle, https://developer.ubuntu.com/en/snappy/guides/security-whitepaper/ - looks ok to you?15:37
davidcalleAt least three code blocks missing, but don't worry, you can tell Jamie it will be cleaned up by tomorrow if you want.15:43
dholbachok cool15:43
dholbachwill do15:43

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!