From 1085f5baa4a1813750090997a5dcba8d71c9e126 Mon Sep 17 00:00:00 2001 From: "Rev. J. Money" Date: Mon, 9 Nov 2026 10:35:11 -0500 Subject: [PATCH] docs: give G-code Examples its own heading The examples page was one entry inside "G-code Programming", easy to miss for readers who already know G-code. Give it its own section in the HTML index and its own part in the PDF, placed right after "G-code Programming", and keep docs.xml's prev/next order in step. No page content or anchors change. Closes #2085 --- docs/src/Master_Documentation.adoc | 9 +++++++-- docs/src/docs.xml | 2 +- docs/src/index.tmpl | 10 +++++++++- 3 files changed, 17 insertions(+), 4 deletions(-) diff --git a/docs/src/Master_Documentation.adoc b/docs/src/Master_Documentation.adoc index b1c373e7d59..ad0913402e4 100644 --- a/docs/src/Master_Documentation.adoc +++ b/docs/src/Master_Documentation.adoc @@ -249,13 +249,18 @@ include::gcode/o-code.adoc[] include::gcode/other-code.adoc[] -include::examples/gcode.adoc[] - include::gui/image-to-gcode.adoc[] include::gcode/rs274ngc.adoc[] +:leveloffset: 1 += G-code Examples + +:leveloffset: 2 +include::examples/gcode.adoc[] + + :leveloffset: 1 = Virtual Control Panels diff --git a/docs/src/docs.xml b/docs/src/docs.xml index 9298f3a2ed7..1a909194bbe 100644 --- a/docs/src/docs.xml +++ b/docs/src/docs.xml @@ -35,8 +35,8 @@ - + diff --git a/docs/src/index.tmpl b/docs/src/index.tmpl index 2b0d800ae21..e981a8331bc 100644 --- a/docs/src/index.tmpl +++ b/docs/src/index.tmpl @@ -209,13 +209,21 @@
  • M-codes
  • O-codes
  • Other Codes
  • -
  • G-code Examples
  • Image to G-code
  • RS274/NGC Differences
  • +
    +G-code Examples + +
    +

    Customization & Development