Commit graph

145 commits

Author SHA1 Message Date
Sebastian Kuzminsky
843ae2d88d docs: fix a typo
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-07-14 10:18:51 -06:00
John Thornton
43d51d0b6e Docs: fix links in gcode.html
also fix placement of anchors, it was discovered that an anchor
must be on the line before the title and nothing else on the line
or the doc magic would generate a different link.

Signed-off-by: John Thornton <bjt128@gmail.com>
2015-11-14 07:06:10 -06:00
Sebastian Kuzminsky
5b28c2a781 Merge remote-tracking branch 'origin/2.6' into 2.7
Conflicts:
	VERSION
	debian/changelog
2015-11-11 12:49:31 -07:00
Sebastian Kuzminsky
1f0f3bff88 docs: fix M70-M73 links in French Gcode Quick Reference
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2015-11-11 12:36:47 -07:00
John Thornton
b5a60283bf Docs: fix file name in links
Signed-off-by: John Thornton <bjt128@gmail.com>
2015-11-11 07:15:51 -06:00
John Thornton
a4215d3900 Docs: remove tool tips as I couldn't get them to work consistently.
there is enough room on the index page to have a more informative
description of each chapter.

Signed-off-by: John Thornton <bjt128@gmail.com>
2015-08-17 10:26:12 -05:00
John Thornton
fb7c6f4456 Docs: fix index to validate as xhtml like the rest of the html docs
Signed-off-by: John Thornton <bjt128@gmail.com>
2015-08-16 14:55:36 -05:00
John Thornton
21b19ded6e Docs: fix html validation errors and warnings.
Signed-off-by: John Thornton <bjt128@gmail.com>
2015-08-16 06:42:20 -05:00
Chris Radek
960678ea5e Docs: G64 now optionally takes Q
Signed-off-by: Chris Radek <chris@timeguy.com>
2015-07-04 18:00:33 -05:00
John Thornton
58ae0ebee7 Docs: add chips and tooltips
Signed-off-by: John Thornton <bjt128@gmail.com>
2015-06-20 09:03:48 -05:00
John Thornton
7158ed2249 add collapsing/expanding lists to html docs
Signed-off-by: John Thornton <bjt128@gmail.com>
2015-05-20 07:46:13 -05:00
Chris Radek
454e5b28e2 Documentation for G43.2 2014-07-14 14:50:54 -05:00
Chris Radek
1b7641063c G43.1 works with all axes, not just XZ now 2014-07-14 14:50:54 -05:00
Jeff Epler
208025bae8 Merge remote-tracking branch 'origin/v2.5_branch' into 2.6
Conflicts:
	docs/src/config/ini_config_fr.txt
	docs/src/gcode/gcode_fr.txt
2014-06-29 15:28:42 -05:00
Francis Tisserant
ea8e59ac38 French doc update: Document G5,G5.1,G5.2,G5.3 NURBS/spline commands
Signed-off-by: Francis Tisserant <tissf@free.fr>
2014-06-18 22:40:33 +02:00
Sebastian Kuzminsky
9078c0680b Merge remote-tracking branch 'origin/v2.5_branch' into 2.6 2014-06-05 17:46:04 -06:00
Chris Radek
e137bd011d Document G5, G5.1, G5.2, G5.3 NURBS/spline commands
This should close bug #369.
2014-06-04 14:03:24 -05:00
Francis Tisserant
20e175d3b1 French doc: cleaning, add M70...M73, fix brocken links
Signed-off-by: Francis Tisserant <tissf@free.fr>
2014-04-08 23:30:41 +02:00
Francis Tisserant
a31737363c French doc: cleaning and add M19
Signed-off-by: Francis Tisserant <tissf@free.fr>
2014-04-08 09:58:41 +02:00
Andy Pugh
94be5dd950 Add some missing M-codes to the "G-code quick-reference" html docs. 2014-04-06 01:43:50 +01:00
Sebastian Kuzminsky
9255f9054b Merge branch 'v2.5_branch'
Conflicts:
	docs/src/gcode/gcode.txt
	docs/src/gui/gladevcp.txt
2014-01-09 08:19:28 -07:00
John Thornton
317d50318d Docs: shorten link
Signed-off-by: John Thornton <jthornton@gnipsel.com>
2014-01-09 08:47:59 -06:00
Jeff Epler
bee611dd8f Improve ignores
Anchor many patterns.  This helps not ignore more than intended.  It is also a
minor performance optimization.

Add exceptions for files that are tracked but were ignored by the old patterns.

Now a full build with docs leaves a clean tree (phew!)
2013-12-01 12:34:11 -06:00
Jeff Epler
ddcfd17bac docs: improve ignore patterns 2013-10-28 06:51:25 -05:00
John Thornton
2eb0d983aa Docs: add m61 to quick reference
Signed-off-by: John Thornton <jthornton@gnipsel.com>
2013-08-14 16:02:25 -05:00
Francis Tisserant
123d91ddbc French doc. update to follow John: update spindle section
Signed-off-by: Francis Tisserant <tissf@free.fr>
2013-05-11 00:40:30 +02:00
Francis Tisserant
3eb5f26415 French doc. update to follow Chris: Document o-repeat in the quickref
Signed-off-by: Francis Tisserant <tissf@free.fr>
2013-05-02 15:54:19 +02:00
Chris Radek
1860a4fdc3 Document o-repeat in the quickref 2013-04-30 09:36:39 -05:00
Francis Tisserant
3a54f20d24 French doc. update: fix broken links
Signed-off-by: Francis Tisserant <tissf@free.fr>
2013-01-26 13:09:00 +01:00
Francis Tisserant
9169437420 French doc. best graphic references page
Signed-off-by: Francis Tisserant <tissf@free.fr>
2013-01-26 11:36:53 +01:00
Francis Tisserant
edb4b85cc7 French doc. update to follow Sebastian
Signed-off-by: Francis Tisserant <tissf@free.fr>
2013-01-25 23:10:09 +01:00
Francis Tisserant
5fa9166545 French doc. update to follow Sebastian
Signed-off-by: Francis Tisserant <tissf@free.fr>
2013-01-25 23:10:09 +01:00
Francis Tisserant
8a2e4ca7a7 French doc. update to follow Sebastian
Signed-off-by: Francis Tisserant <tissf@free.fr>
2013-01-25 23:10:09 +01:00
Francis Tisserant
636170cf94 French doc. update to follow Sebastian
Signed-off-by: Francis Tisserant <tissf@free.fr>
2013-01-25 23:10:09 +01:00
Francis Tisserant
28389efb4b French doc. update to follow Sebastian
Signed-off-by: Francis Tisserant <tissf@free.fr>
2013-01-25 23:10:09 +01:00
Francis Tisserant
e952045a2e French doc. update document pass w3c validator
Signed-off-by: Francis Tisserant <tissf@free.fr>
2013-01-25 23:10:09 +01:00
Francis Tisserant
1965987c8a French doc. update
Signed-off-by: Francis Tisserant <tissf@free.fr>
2013-01-25 23:10:09 +01:00
Sebastian Kuzminsky
d5a1925034 doc build: make CSS and JS stuff external to the docs
Before this commit, we ran asciidoc in its default mode, where it inlines
the stylesheets and javascript inside each document.

This commit changes asciidoc to link to external style sheets and
javascript instead, so we can get by with one copy of those things.

We copy all the asciidoc CSS and JS files into our directory of generated
html docs.  asciidoc used to inline some (but not all) of those documents
in each html file.

Also move our custom stylesheet from doc/src to doc/html, where it will
be used.

The effects of this commit are:

    Copy some of asciidoc's files into our html tree.

    Slightly smaller docs: each document shrinks by about a dozen
    kilobytes (the CSS and JS files are cached by the client after the
    first fetch).

    No bogus inlining.  Inlining is discouraged by the w3c, and asciidoc
    got it wrong:

        http://www.w3.org/TR/xhtml1/#h-4.8

        http://www.w3.org/TR/xhtml-media-types/#C_4
2013-01-24 14:40:17 -07:00
Sebastian Kuzminsky
08aaefbf88 docs: fix M62-M65 links
The link to M62-M65 in the m-code document TOC was broken (the link in
the gcode overview document was good).

Also change the link text from "M62-65" to the format used throughout
the rest of the documentation: "M62...M65".
2013-01-24 14:39:58 -07:00
Sebastian Kuzminsky
7fff54925f docs: create proper asciidoc BlockId elements
Having the [[anchor-name]] after the asciidoc Title element creates an
anchor inline macro that points just after the title text, which renders
incorrectly on some browsers.  Clicking the link would take you to just
after the title text, which is disorienting.  Plus, the HTML just looks
wonky, with an empty anchor element inside the h2 element body.

This commit replaces the anchor inline macros with proper asciidoc BlockId
elements preceeding the title text, which produces sane HTML: the title
element itself has an id attribute with the anchor text in it.  This
displays correctly on all tested browsers, and just generally seems
reasonable.

Also replace "." (invalid) in anchors with "_" (valid).

For reference: http://www.methods.co.nz/asciidoc/userguide.html#X41
2013-01-24 14:39:58 -07:00
Sebastian Kuzminsky
06b1513af3 docs: split the G92/G92.1/G92.2/G92.3 anchors
The G92, G92.1/G92.2, and G93 G-codes already had their own separate
anchors, this commit makes the gcode overview document link to the proper
one instead of all linking to the G92 anchor.

Replace the asciidoc anchor inline macros with proper BlockId elements.

Replace "." (invalid) in anchors with "_" (valid).
2013-01-24 14:39:58 -07:00
Sebastian Kuzminsky
2cff50a8d2 docs: fix the links to M50/M51/M52/M53
In the gcode overview document, all 6 of these M-codes used to be lumped
together and share a link, which pointed at M48/M49.  This commit uses
the pre-existing separate anchors for M48/M49, M50, M51, M52, and M53,
which seems clearer.

Also changes the asciidoc anchor inline macros to valid BlockId elements,
which makes for clearer HTML output.

And fix a broken link in the M-code document TOC.
2013-01-24 14:39:58 -07:00
Sebastian Kuzminsky
f623321b2c docs: split the G61/G61.1/G64 anchor
This commit creates separate anchors for G61/G61.1 and G64, instead of
having a single combined anchor for all three (pointing at G61/G61.1).

Also makes the G61/G61.1 and G64 anchors into proper BlockId elements.
This includes replacing the "." (invalid) in the anchor name with "-"
(valid).
2013-01-24 14:39:58 -07:00
Sebastian Kuzminsky
28c07ad436 docs: split the G43/G43.1 anchor
This makes individual anchors for G43 and G43.1, instead of having a
single combined anchor for both, pointing to G43.

Also replaces the "." in the G43.1 anchor name with "_", since "." is
not a valid anchor character.  There are no links to the G43.1 anchor,
so none need to be changed to the new anchor id.
2013-01-24 14:39:58 -07:00
Sebastian Kuzminsky
1e48a8cfff docs: add missing charset
Valid HTML documents specify the charset used.

Problem identified by http://validator.w3.org.
2013-01-24 14:39:57 -07:00
Sebastian Kuzminsky
e85d363158 docs: add missing type attribute for <script> element
The <script> element requires a type attribute, which identifies the
type of script present.

Problem identified by http://validator.w3.org.
2013-01-24 14:39:57 -07:00
Sebastian Kuzminsky
a707e7891a docs: make T in the gcode overview point to T instead of M6
But include a link to M6, for completeness....
2013-01-24 14:39:57 -07:00
Francis Tisserant
c9185583ef French doc. update
Signed-off-by: Francis Tisserant <tissf@free.fr>
2013-01-19 14:28:13 +01:00
Francis Tisserant
b66a46edb9 French doc. update to follow John: clean up index, add better gcode_fr.html css
Signed-off-by: Francis Tisserant <tissf@free.fr>
2012-11-02 16:36:22 +01:00
Sebastian Kuzminsky
cc840bafc4 docs: fix G10 L11 asciidoc markup
This makes the G10 L11 gcode documentation into a proper asciidoc "sec:"
section, just like all the other gcode docs.
2012-11-01 21:20:54 -06:00