Hi Lucas,
I'll inform you in few days, it's almost "stable" as for features provided, I plan to add few smallies and to work with algorithms mainly.
Hi Lucas,
I'll inform you in few days, it's almost "stable" as for features provided, I plan to add few smallies and to work with algorithms mainly.
Hi again, Lucas :)
I added your documentation and translation into Hg. Now its there starting from tazpkg-test-851.
I only changed a bit your html to match other tazpkg documentation files (not using <h2>, <h3> in the <header>s; use <h3> in <article>s; use custom <x-details> to hide additional info under plus sign).
OK. I used a Wysiwyg editor (Seamonkey Composer) and it probably killed the x-details tags, sorry for that. About <header> tags, they were not highlighted so I added the <hN> ones to make them bigger.
Mmmh, I just opened the old, partly-French doc in tazweb, and I find no "plus" sign. So at least it's not my editor's fault if x-details tags were missing :) But it turns out my editor is not so Wysiwyg, since it doesn't use the css!
What do you use to edit HTML docs?
Seems Seamonkey Composer kills my <x-details>. It is custom tag (started with "x") I "invent" to make inline "spoilers". Original <details> tag not worked in our TazWeb and Midori because they based on old Webkit libraries, and it worked in the relative new Qt-based web browsers and in Firefox. But it provides block-level "spoiler" and I need inline one.
Adding <h#> into headers you ended with giant headers. But, maybe it is only on my side? Maybe I haven't upload my CSS styles into Hg? Hmm. Here it is:
grep header /usr/share/doc/slitaz-doc.css
h2, body section > header { font-size: 200%; font-weight: 300; margin: 1em 0 0 0; text-transform: uppercase; }
h3, article > header { font-size: 150%; font-weight: 400; margin: 1em 0 0 0; }
body > header, #header { border-bottom: 4px solid; }
h1, h2, body section > header, h3, article > header { text-align: left; }
h2, body section > header { color: hsl(210, 90%, 45%); }
h3, article > header { color: hsl( 30, 90%, 45%); }
body > header,
#header { background-color: hsl( 0, 0%, 15%); }
Please, check your slitaz-base-files package version. Now it's 286. And here the styles: http://hg.slitaz.org/slitaz-base-files/file/af25e2951d08/rootfs/usr/share/doc/slitaz-doc.css
I don't like visual html editor, just like to see the sources. I use Sublime Text to edit sources.
_____
PS. Oh, I think it not uses CSS (and JS) because of relative path to it!
<link rel="stylesheet" href="../slitaz-doc.css">
<script src="../slitaz-doc.js"></script>
Normally these links pointed to /usr/share/doc/slitaz-doc.css
and /usr/share/doc/slitaz-doc.js
respectively.
Thanks for the tips. Don't worry, I'm sure the problem is not on your side :)
I think it not uses CSS (and JS) because of relative path to it!
You're right, I change this and SM Composer now shows the proper style! Woohoo!
You must log in to post.