DEB for linuxcnc HTML documentation

More
20 Sep 2020 08:38 - 20 Sep 2020 08:38 #182842 by twoflowers
I've made a deb with the HTML documentation of linuxcnc 2.8.0 - intended for all would like a browsable documentation on the machine (like myself). Feel free to include it on the ISOs or put it somewhere where people can find it easily.

linuxcnc-doc-html_2.8.0-1.deb
Last edit: 20 Sep 2020 08:38 by twoflowers.
The following user(s) said Thank You: BeagleBrainz

Please Log in or Create an account to join the conversation.

More
20 Sep 2020 09:57 #182853 by BeagleBrainz
I did that on the first couple of Mint ISOs.
Did you come up with a fix for the javascript in the gcode refernce section ?
When you click on a gcode link you'll be sent to a page at linuxcnc.org

Please Log in or Create an account to join the conversation.

More
20 Sep 2020 10:48 #182870 by twoflowers
Which section are you referring to? I have not tested everything but as far as I can see all links are local.

Please Log in or Create an account to join the conversation.

More
20 Sep 2020 10:53 #182872 by BeagleBrainz
G-Code Quick Reference.
Click on a GCode hyper link.

I tried to get a fix on this issue around April if memory serves me correct.

Please Log in or Create an account to join the conversation.

More
20 Sep 2020 11:31 - 20 Sep 2020 11:38 #182880 by twoflowers
Ok, found it. You can safely remove the <SCRIPT ... >...</SCRIPT> at the end of file, then the links work as they should. Sideffect: you loose the banded background (which I see as a bonus). This is what I did in my package (just uploaded the new version).

Or you can just delete line 191 and 192 in gcode,html - they contain this text:
        it.setAttribute('href',
            "http://linuxcnc.org/docs/devel/html/" + it.getAttribute('href'));

EDIT: If you really like the banded thingie, here's how to do it in CSS with 2 lines without javascript :)
www.w3.org/Style/Examples/007/evenodd.en.html
Last edit: 20 Sep 2020 11:38 by twoflowers.
The following user(s) said Thank You: BeagleBrainz

Please Log in or Create an account to join the conversation.

More
20 Sep 2020 11:40 #182884 by BeagleBrainz
Good work :)

Might want to suggest this to the devs. Would be a good idea for those of us who don't connect their Linuxcnc boxes to outside world except to do updates.

Please Log in or Create an account to join the conversation.

More
20 Sep 2020 16:53 #182926 by twoflowers
Where do I find the devs to contact?

Please Log in or Create an account to join the conversation.

More
20 Sep 2020 16:57 #182928 by tommylight

Where do I find the devs to contact?

linuxcnc.org/community/
Mailing list or IRC should be the fastest way.

Please Log in or Create an account to join the conversation.

Moderators: HansU
Time to create page: 0.156 seconds
Powered by Kunena Forum