Skip to content

Snapmaker/Documentation

Repository files navigation

Documentation

Snapmaker API documentations.

Setup prooject

  1. Install rvm
  2. Install ruby
  3. Install bundler
gem install bundler
  1. Setup bundler environment
bundle config --local path 'vendor/bundle'
bundle install
  1. Run dev server
bundle exec jekyll serve

Documenting

When editing G-code docs

Run dev server first, and then edit the G-code Markdown files in resources/_gcode_overwrite.

Run Rake task as below to re-generate formatted G-code files.

bundle exec rake gcode

(TODO: Run a watch on resources folder and run rake tasks automatically.)

License

GPLv3