A utility that parses the documentation pages from Marlin, RepRap, and Klipper, to generate an index of commands usage
Project description
gcode-documentation-parser
See a demo usage of the output
A utility that parses the documentation pages from Marlin, RepRap, and Klipper, to generate an index of commands usage.
Output
You can access the output from the output branch of this repo. Here are the raw links that you can reference or copy:
- all_codes.json: A JSON file containing the documentation
- all_codes_window.js: A JS file that defines
AllGcodes
on the global window
object- all_codes_const.js: A JS file that defines a
const AllGcodes
- all_codes_export.js: A JS file that exports an
AllGcodes
value
The documentation is updated semi-regularly, at the start of every month, and published on this repo.
You can also generate it locally by running the following, and checking the
output
folder
poetry run ./update_documentation.py
Usage
Normally, the output would be used by something like gcode-documentation, to allow users to search and understand how a GCode command should be used.
This was originally created in Octoprint plugin MarlinGcodeDocumentation, and needs the parsed documentation data to function.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file gcode-documentation-parser-0.1.0.tar.gz
.
File metadata
- Download URL: gcode-documentation-parser-0.1.0.tar.gz
- Upload date:
- Size: 10.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.12 CPython/3.8.10 Linux/5.13.0-22-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 550de1525000a6260d3e441aa3396d5c3321e66d509f71bfdd9e7438b65e335e |
|
MD5 | f893ca3028ef86ec54ecd225137662ba |
|
BLAKE2b-256 | c877612d4ac0430b6100da9531788e005a66d0c0c9f3366cc7493b80e033bfe2 |
File details
Details for the file gcode_documentation_parser-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: gcode_documentation_parser-0.1.0-py3-none-any.whl
- Upload date:
- Size: 12.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.12 CPython/3.8.10 Linux/5.13.0-22-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e2e5d9b89d6a0912188dbfcdca2c82320f87934de864b815fdb49e3085aeeb44 |
|
MD5 | 0ee5b113905cbe568f434bb889247fc2 |
|
BLAKE2b-256 | b8b0e985fe1f25d9e03c47243d02967f054c088be8834d1d68562d36fc574d9b |