Source for GCode documentation
-
Is the GCode documentation at https://docs.duet3d.com/en/User_manual/Reference/Gcodes generated from some other file, for example a "cleaner" XML file?
The reason I'm asking is that I would like to embed the documentation in a Duet control application I'm making. For example, the app has a command line and I want to show the relevant GCode command documentation when the users starts typing that GCode. I also want to filter out all GCodes that are not relevant for my use case (a CNC machine, so I don't for example need any documentation for GCodes that are strictly for 3D printing).
Of course I can scrape the web page, but it would be easier if there was a less cluttered source file that I could use.
Finally, some very subjective feedback on the web page: I find it annoying that the page scrolls to the location when clicking a GCode in the index on the left navigation bar instead of directly jumping to the location. This makes browsing the GCodes slower since you have to wait for the scrolling, and I also find it distracting. I don't see any benefit of the scrolling.
-
@Otso It's one loooooooong page in markup. That's all we can do in wiki.js at the moment. Here's a text document of that, if it helps!
Edit: regarding the page scrolling, yes, it's annoying, and again what we're limited to with wiki.js. Hopefully an major update is around the corner and we can modify things like that.
Ian
-
@droftarts Thank you, this is very helpful! It will be easy to extract what I want to from that.
-
-