Commit Graph

21 Commits

Author SHA1 Message Date
Kevin O'Connor 131cca2b51 docs: Change the klipper3d.org "language selection" icon
Change from the "material translate icon" to the "material language
icon" for the language selection icon.  (The "material language icon"
is an alias for the "material web icon" and it seems we can't use the
alias, so we directly set the icon to "material/web".)

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-02-16 12:09:09 -05:00
Yifei Ding 646bb02355
docs: Fix Translation Support Script (#5263)
Signed-off-by: Yifei Ding <yifeiding@protonmail.com>
2022-02-14 14:13:12 -05:00
Kevin O'Connor c78676ff5f docs: Fixes for mkdocs translation support
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-02-14 11:35:07 -05:00
Yifei Ding 61329049a6
docs: Mkdocs i18n support (#5072)
Signed-off-by: Yifei DIng <yifeiding@protonmail.com>
2022-02-14 11:29:41 -05:00
Kevin O'Connor 608cd38de5 docs: Upgrade to mkdocs-material v8.1.3
This version seems to fix an error in text highlighting during search.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-12-31 11:22:44 -05:00
Kevin O'Connor 7e4dff3b37 docs: Remove mkdocs-section-index from mkdocs-requirements.txt
Commit bd0185cf removed the section-index plugin.  Remove it from the
build requirements as well.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-12-31 11:22:44 -05:00
Yifei Ding a1af78cb83 docs: Rename Documents
Signed-off-by: Yifei Ding <yifeiding@protonmail.com>
2021-11-22 21:03:32 -05:00
Kevin O'Connor 9a0bcf21cf docs: Update mkdocs-requirements.txt
Update mkdocs to v1.2.3 to avoid a github "dependabot" warning for
CVE-2021-40978.  (The CVE doesn't impact the klipper3d.org site, but
no harm in updating.)

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-10-15 12:24:10 -04:00
Kevin O'Connor 44e2c630b3 docs: Update documentation with new klipper github URL
The main code repository moved from
https://github.com/KevinOConnor/klipper.git to
https://github.com/Klipper3d/klipper.git .

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-09-23 19:37:27 -04:00
Kevin O'Connor 950477849d mcu: Support multi-mcu homing
Support endstops and probes attached to a different micro-controller
than their associated steppers.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-08-28 16:08:57 -04:00
Kevin O'Connor bd0185cf75 docs: Don't use section-index plugin during klipper3d.org site generation
The section-index plugin can cause some confusing navigation.  Use the
simpler site navigation for now.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-08-17 19:39:23 -04:00
Kevin O'Connor 3176150050 mkdocs_hooks: Improve check for not in a list
Look for lines that don't start with a list and don't start with a
space to check for the end of a list.  This fixes the rendering of the
list in BLTouch.md .

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-08-02 16:14:54 -04:00
Kevin O'Connor b8f6b90467 mkdocs_hooks: Add some comments to the script
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-08-02 15:48:51 -04:00
Kevin O'Connor b837a344c1 _klipper3d: Add additional comments to mkdocs.yml
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-08-02 14:05:25 -04:00
Damien be122411b5 klipper3d: links to anchors not working with Safari
Solves issue #4538

Signed-off-by: Damien Martin <damlobster@gmail.com>
2021-07-28 09:26:08 -04:00
Kevin O'Connor a17c2ae397 _klipper3d: Set use_directory_urls to False
Restore old link behavior - each document file will have a single html
file ending in the ".html" suffix.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-07-27 18:58:08 -04:00
Kevin O'Connor ba16c0f1aa _klipper3d: Move mkdocs.yml to docs/_klipper3d
Reported by @damlobster .

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-07-27 17:10:59 -04:00
Kevin O'Connor 9c6b4d1bf4 _klipper3d: Add comments to files in this directory
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-07-27 13:49:06 -04:00
Kevin O'Connor bca64895e4 _klipper3d: Add trailing newline to extra.css
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-07-27 13:34:40 -04:00
Damien Martin afca515e2c docs: make mkdocs_hooks.transform more robust
- Keeps the markdown inside the code blocks as is
- Logs the modified lines (mkdocs serve —verbose)

Signed-off-by: Damien Martin <damlobster@gmail.com>
2021-07-27 13:15:25 -04:00
Damien ea802aa91e docs: Setup mkdocs with mkdocs-material theme
This changes the framework used to generate the klipper3d site.

Signed-off-by: Damien Martin <damlobster@gmail.com>
2021-07-27 13:15:25 -04:00