Compare commits

..
Author SHA1 Message Date
Rejdukien 822a622d97 Change from websockets to regular pull-based approach 2021-02-14 19:45:46 +01:00
Rejdukien 1e7aba5297 PyImageStreamer websocket support 2021-02-14 17:41:26 +01:00
488 changed files with 27828 additions and 60573 deletions

No files matched your search

+1 -8
View File
@@ -5,11 +5,4 @@ VUE_APP_HOSTNAME=printer.local
VUE_APP_PORT=7125
# reconnect interval in ms
VUE_APP_RECONNECT_INTERVAL=5000
# remote mode
VUE_APP_REMOTE_MODE=false
# defaults for multi language tests
VUE_APP_I18N_LOCALE=en
VUE_APP_I18N_FALLBACK_LOCALE=en
VUE_APP_RECONNECT_INTERVAL=5000
-44
View File
@@ -1,44 +0,0 @@
{
"root": true,
"env": {
"browser": true,
"es6": true,
"node": true
},
"extends": [
"plugin:vue/essential",
"eslint:recommended",
"@vue/typescript"
],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parser": "vue-eslint-parser",
"parserOptions": {
"parser": "@typescript-eslint/parser",
"ecmaVersion": 2018,
"sourceType": "module"
},
"plugins": [
"vue"
],
"rules": {
"indent": [
"error",
4
],
"linebreak-style": [
"error",
"unix"
],
"quotes": [
"error",
"single"
],
"semi": [
"error",
"never"
]
}
}
-13
View File
@@ -1,13 +0,0 @@
# Contributor Code of Conduct
As contributors and maintainers of this project, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.
We are committed to making participation in this project a harassment-free experience for everyone, regardless of the level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, age, or religion.
Examples of unacceptable behavior by participants include the use of sexual language or imagery, derogatory comments or personal attacks, trolling, public or private harassment, insults, or other unprofessional conduct.
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct. Project maintainers who do not follow the Code of Conduct may be removed from the project team.
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by opening an issue or contacting one or more of the project maintainers.
This Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), version 1.0.0, available at [http://contributor-covenant.org/version/1/0/0/](http://contributor-covenant.org/version/1/0/0/)
-45
View File
@@ -1,45 +0,0 @@
# This is a basic workflow to help you get started with Actions
name: Build
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the develop branch
push:
branches: [ develop ]
pull_request:
branches: [ develop ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: Fetch repo
uses: actions/checkout@v2
- name: Install node
uses: actions/setup-node@v2
with:
node-version: '16'
- name: Install dependencies
run: npm install
- name: Build
run: npm run build
- name: Copy output
run: cp ${{ github.workspace }}/dist/mainsail.zip mainsail-latest.zip
- uses: actions/upload-artifact@v2.2.4
with:
name: mainsail-latest.zip
path: mainsail-latest.zip
+1 -11
View File
@@ -9,15 +9,5 @@ temp
.version
.versions
.changelog
.idea
package-lock.json
*.local
docker/gcode
docker/logs
docker/moonraker
docker/config/**/*
docker/config/*.cfg
docker/config/*.conf
docker/config/.mainsail.json
docker/config/.theme
.env
*.local
-42
View File
@@ -1,42 +0,0 @@
# Mainsail Contributing Guide
Hi! I'm really excited that you are interested in contributing to Mainsail. Before submitting your contribution, please make sure to take a moment and read through the following guidelines:
- [Code of Conduct](https://github.com/meteyou/mainsail/.github/CODE_OF_CONDUCT.md)
- [Issue Reporting Guidelines](#issue-reporting-guidelines)
- [Pull Request Guidelines](#pull-request-guidelines)
## Issue Reporting Guidelines
- Use [https://github.com/meteyou/mainsail/issues](https://github.com/meteyou/mainsail/issues) to create new issues.
## Pull Request Guidelines
- The `master` branch is just a snapshot of the latest stable release. All development should be done in dedicated branches. **Do not submit PRs against the `master` branch.**
- Checkout a topic branch from the relevant branch, e.g. `develop`, and merge back against that branch.
- It's OK to have multiple small commits as you work on the PR - GitHub will automatically squash it before merging.
- If adding a new feature:
- Provide a convincing reason to add this feature. Ideally, you should open a suggestion issue first and have it approved before working on it.
- If fixing bug:
- If you are resolving a special issue, add `(fix #xxxx[,#xxxx])` (#xxxx is the issue id) in your PR title for a better release log, e.g. `update entities encoding/decoding (fix #3899)`.
- Provide a detailed description of the bug in the PR. Live demo preferred.
- Add appropriate test coverage if applicable.
## Committing Changes
Commit messages should follow the [commit message convention](https://www.conventionalcommits.org/en/v1.0.0/) so that changelogs can be automatically generated.
## Financial Contribution
As a pure community-driven project without major corporate backing, we also welcome financial contributions via Patreon and OpenCollective.
- [Become a supporter on Patreon](https://patreon.com/meteyou)
- [One-time donation via Ko-Fi](https://ko-fi.com/mainsail)
## Credits
Thank you to all the people who have already contributed to Mainsail!
+5 -47
View File
@@ -1,52 +1,12 @@
<p align="center">
<img src="docs/assets/img/logo.png" alt="Sublime's custom image"/>
</p>
# Mainsail
[![downloads](https://img.shields.io/github/downloads/mainsail-crew/mainsail/total?style=flat-square)](https://github.com/mainsail-crew/mainsail/releases) [![localizations](https://shields-staging.herokuapp.com/github/directory-file-count/mainsail-crew/mainsail/src%2Flocales?label=localizations&extension=json&type=file&style=flat-square)](https://docs.mainsail.xyz/development/localization) [![stars](https://img.shields.io/github/stars/meteyou/mainsail?style=flat-square)](https://github.com/mainsail-crew/mainsail/stargazers) [![forks](https://img.shields.io/github/forks/meteyou/mainsail?style=flat-square)](https://github.com/mainsail-crew/mainsail/network/members)
[![license](https://img.shields.io/github/license/meteyou/mainsail?style=flat-square)](https://github.com/mainsail-crew/mainsail/blob/develop/LICENSE) [![last-commit](https://img.shields.io/github/last-commit/meteyou/mainsail?style=flat-square)](https://github.com/mainsail-crew/mainsail/commits/) ![size](https://img.shields.io/github/repo-size/meteyou/mainsail?style=flat-square)
[![discord](https://img.shields.io/discord/758059413700345988?color=%235865F2&label=discord&logo=discord&logoColor=white&style=flat-square)](https://discord.gg/skWTwTD) [![patreons](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Fshieldsio-patreon.vercel.app%2Fapi%3Fusername%3Dmeteyou%26type%3Dpatrons&style=flat-square)](https://www.patreon.com/meteyou)
Mainsail is a lightweight & responsive web interface for the [Klipper](https://github.com/KevinOConnor/klipper)
3D printer firmware. It communicates with the [Moonraker (Klipper-API)](https://github.com/arksine/moonraker) from [Arksine](https://github.com/arksine).
Mainsail makes Klipper more accessible by adding a lightweight, responsive web user interface, centred around an intuitive and consistent design philosophy.
[Getting Started](https://docs.mainsail.xyz/setup)
Mainsail is also available in remote mode on [http://my.mainsail.xyz](http://my.mainsail.xyz). Find out [more](https://docs.mainsail.xyz/setup#mymainsailxyz).
[Documentation](https://docs.mainsail.xyz)
[Release Notes](https://github.com/mainsail-crew/mainsail/releases)
## Screenshots
![screenshot-dashboard](docs/assets/img/screenshot.png)
## Features
- Responsive web interface, optimized for desktops, tablets and mobile devices
- Supports multiple 3D printers (Printer Farm)
- Localization (i18n)
- File Manager (gcode and config files)
- File Editor (gcode and config files)
- Print History and Statistics
- Job Queue
- Temperature Presets (with custom gcode)
- Bed Mesh visualisation
- G-Code Viewer
- Multi-Webcam support
- Timelapse integration
- Control power devices such as relays, TPLink and Tasmota devices, and more
- Powerful Macro-Management
- Configurable dashboard
- Customizable user interface including logos, backgrounds, and custom CSS
- Exclude objects (not yet officially supported by Klipper)
To begin using Mainsail start by [installing](https://meteyou.github.io/mainsail/setup/) it or read the [pages](https://meteyou.github.io/mainsail/) for more informations.
## Help and Support
Do you need help or just want to talk? Join our active community on [Discord](https://discord.gg/skWTwTD).
Have you found a bug? Please create an [Issue](https://github.com/mainsail-crew/mainsail/issues) in GitHub and let us know.
## Support Mainsail
Mainsail is primarily developed and maintained by meteyou. To keep the project going he invests his free time, almost every day. To motivate him (☕🍺😜) there are several ways to support him:
[![patreon](https://img.shields.io/badge/patreon-participate-yellow.svg?style=flat-square)](https://www.patreon.com/meteyou)
[![kofi](https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg?style=flat-square)](https://ko-fi.com/mainsail)
For support join our discord server -> [https://discord.gg/skWTwTD](https://discord.gg/skWTwTD)
## Credit, sources and inspiration
* [Kevin O'Connor](https://github.com/KevinOConnor) for the awesome 3D printer firmware [Klipper](https://github.com/KevinOConnor/klipper)
@@ -55,6 +15,4 @@ Mainsail is primarily developed and maintained by meteyou. To keep the project g
* [Vue.js](https://vuejs.org/): The Progressive JavaScript Framework
* [Vuetify](https://vuetifyjs.com/): Material Design Component Framework for Vue.js
Massive thanks to the whole [Voron Design](http://vorondesign.com/) community. Without them such a project would not be possible.
[Full Credits & Licenseinformation](https://docs.mainsail.xyz/credits)
Massive thanks to the whole [Voron Design](http://vorondesign.com/) community. Without them such a project would not be possible.
+3 -3
View File
@@ -1,5 +1,5 @@
module.exports = {
presets: [
'@vue/cli-plugin-babel/preset'
]
presets: [
'@vue/cli-plugin-babel/preset'
]
}
-34
View File
@@ -1,34 +0,0 @@
version: "3.8"
services:
api:
build:
context: ./docker
dockerfile: api/Dockerfile
image: mainsail-stack-api/1
volumes:
- ./docker/config:/home/node/klipper_config
- ./docker/logs:/home/node/klipper_logs
- ./docker/gcode:/home/node/gcode
- ./docker/config/moonraker:/home/node/.moonraker_database
container_name: ${APP_NAME}-stack-api
ports:
- "7125:7125"
networks:
- dev_net
npm:
build:
context: ./docker
dockerfile: Dockerfile
image: mainsail-stack-npm/1
volumes:
- ./:/home/node/mainsail
container_name: ${APP_NAME}-stack-npm
ports:
- "8080:8080"
depends_on:
- api
networks:
- dev_net
networks:
dev_net:
driver: bridge
-15
View File
@@ -1,15 +0,0 @@
FROM node:16-buster AS base
EXPOSE 8080
RUN apt-get update
RUN apt-get install -y zip
COPY start-npm /usr/local/bin/start-npm
RUN chmod +x /usr/local/bin/start-npm
USER node
WORKDIR /home/node/mainsail
ENTRYPOINT ["start-npm"]
-65
View File
@@ -1,65 +0,0 @@
FROM python:3-slim-buster AS base
RUN groupadd --force -g 1000 node
RUN useradd -ms /bin/bash --no-user-group -g 1000 -u 1000 node
RUN apt-get update
RUN apt-get install -y sudo wget cmake swig git virtualenv python-dev libffi-dev \
build-essential libncurses-dev libusb-dev avrdude gcc-avr binutils-avr avr-libc \
dfu-util libnewlib-arm-none-eabi gcc-arm-none-eabi binutils-arm-none-eabi libusb-1.0
RUN mkdir /src
WORKDIR /src
RUN wget http://download.savannah.nongnu.org/releases/simulavr/libsim_1.1.0_amd64.deb
RUN apt install /src/libsim_1.1.0_amd64.deb
RUN cat /etc/passwd
RUN echo 'node ALL=(ALL:ALL) NOPASSWD: ALL' > /etc/sudoers.d/node && \
chown node:node -R ./
#if systemd is installed, we need to backup the current systemctl command
#RUN mv /bin/systemctl /bin/systemctl.bak
RUN ln -s /bin/true /bin/systemctl
USER node
WORKDIR /home/node
RUN git clone https://github.com/klipper3d/klipper
WORKDIR /home/node/klipper
COPY api/simulavr.config /home/node/klipper/.config
RUN make
RUN cp /home/node/klipper/out/klipper.elf /home/node/klipper/simulavr.elf
RUN rm /home/node/klipper/.config
COPY api/linux.config /home/node/klipper/.config
RUN make clean
RUN make
RUN chmod +x /home/node/klipper/scripts/install-debian.sh
RUN /home/node/klipper/scripts/install-debian.sh
WORKDIR /home/node
RUN git clone https://github.com/Arksine/moonraker
WORKDIR /home/node/moonraker
RUN sed -E 's/check_klipper\(\)/check_klipper() { return 0; }\nold()/' /home/node/moonraker/scripts/install-moonraker.sh > /home/node/moonraker/scripts/install-moonraker2.sh
RUN chmod +x /home/node/moonraker/scripts/install-moonraker2.sh
RUN /home/node/moonraker/scripts/install-moonraker2.sh
#restore backed up systemctl command
#RUN sudo mv /bin/systemctl.bak /bin/systemctl
WORKDIR /home/node/
RUN git clone https://git.savannah.nongnu.org/git/simulavr.git
WORKDIR /home/node/simulavr
RUN make python
RUN make build -j8
USER root
RUN rm /bin/systemctl
RUN apt-get -y install supervisor
RUN ln -s /usr/bin/supervisorctl /bin/systemctl
RUN mkdir -p /var/log/supervisor
COPY api/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
COPY api/start-api /bin/start-api
RUN chmod +x /bin/start-api
ENTRYPOINT ["/bin/start-api"]
-25
View File
@@ -1,25 +0,0 @@
CONFIG_LOW_LEVEL_OPTIONS=y
# CONFIG_MACH_AVR is not set
# CONFIG_MACH_ATSAM is not set
# CONFIG_MACH_ATSAMD is not set
# CONFIG_MACH_LPC176X is not set
# CONFIG_MACH_STM32 is not set
# CONFIG_MACH_PRU is not set
CONFIG_MACH_LINUX=y
# CONFIG_MACH_SIMU is not set
CONFIG_STEP_DELAY=2
CONFIG_BOARD_DIRECTORY="linux"
CONFIG_CLOCK_FREQ=50000000
CONFIG_LINUX_SELECT=y
CONFIG_USB_VENDOR_ID=0x1d50
CONFIG_USB_DEVICE_ID=0x614e
CONFIG_USB_SERIAL_NUMBER="12345"
# CONFIG_CUSTOM_STEP_DELAY is not set
CONFIG_INITIAL_PINS=""
CONFIG_HAVE_GPIO=y
CONFIG_HAVE_GPIO_ADC=y
CONFIG_HAVE_GPIO_SPI=y
CONFIG_HAVE_GPIO_I2C=y
CONFIG_HAVE_GPIO_HARD_PWM=y
CONFIG_HAVE_GPIO_BITBANGING=y
CONFIG_INLINE_STEPPER_HACK=y
-50
View File
@@ -1,50 +0,0 @@
CONFIG_LOW_LEVEL_OPTIONS=y
CONFIG_MACH_AVR=y
# CONFIG_MACH_ATSAM is not set
# CONFIG_MACH_ATSAMD is not set
# CONFIG_MACH_LPC176X is not set
# CONFIG_MACH_STM32 is not set
# CONFIG_MACH_PRU is not set
# CONFIG_MACH_LINUX is not set
# CONFIG_MACH_SIMU is not set
CONFIG_AVR_SELECT=y
CONFIG_STEP_DELAY=-1
CONFIG_BOARD_DIRECTORY="avr"
# CONFIG_MACH_atmega2560 is not set
# CONFIG_MACH_atmega1280 is not set
# CONFIG_MACH_at90usb1286 is not set
# CONFIG_MACH_at90usb646 is not set
# CONFIG_MACH_atmega32u4 is not set
# CONFIG_MACH_atmega1284p is not set
CONFIG_MACH_atmega644p=y
# CONFIG_MACH_atmega328p is not set
# CONFIG_MACH_atmega328 is not set
# CONFIG_MACH_atmega168 is not set
CONFIG_MCU="atmega644p"
CONFIG_AVRDUDE_PROTOCOL="arduino"
# CONFIG_AVR_FREQ_16000000 is not set
CONFIG_AVR_FREQ_20000000=y
# CONFIG_AVR_FREQ_8000000 is not set
CONFIG_CLOCK_FREQ=20000000
CONFIG_AVR_CLKPR=-1
CONFIG_AVR_STACK_SIZE=256
CONFIG_AVR_WATCHDOG=y
CONFIG_SERIAL=y
CONFIG_AVR_SERIAL_UART0=y
# CONFIG_AVR_SERIAL_UART1 is not set
CONFIG_SERIAL_PORT=0
CONFIG_SIMULAVR=y
CONFIG_SERIAL_BAUD=250000
CONFIG_USB_VENDOR_ID=0x1d50
CONFIG_USB_DEVICE_ID=0x614e
CONFIG_USB_SERIAL_NUMBER="12345"
# CONFIG_CUSTOM_STEP_DELAY is not set
CONFIG_INITIAL_PINS=""
CONFIG_HAVE_GPIO=y
CONFIG_HAVE_GPIO_ADC=y
CONFIG_HAVE_GPIO_SPI=y
CONFIG_HAVE_GPIO_I2C=y
CONFIG_HAVE_GPIO_HARD_PWM=y
CONFIG_HAVE_GPIO_BITBANGING=y
CONFIG_HAVE_STRICT_TIMING=y
CONFIG_INLINE_STEPPER_HACK=y
-3
View File
@@ -1,3 +0,0 @@
#!/bin/bash
chown -hR node:node /home/node/klipper_logs
/usr/bin/supervisord
-38
View File
@@ -1,38 +0,0 @@
[supervisord]
#logfile=/tmp/supervisord.log ; (main log file;default $CWD/supervisord.log)
logfile_maxbytes=50MB ; (max main logfile bytes b4 rotation;default 50MB)
logfile_backups=10 ; (num of main logfile rotation backups;default 10)
loglevel=info ; (log level;default info; others: debug,warn,trace)
pidfile=/var/run/supervisord.pid ; (supervisord pidfile;default supervisord.pid)
nodaemon=true ; (start in foreground if true;default false)
minfds=1024 ; (min. avail startup file descriptors;default 1024)
minprocs=200 ; (min. avail process descriptors;default 200)
[program:simulavr]
command=bash -c 'sleep 10 && /home/node/klipper/scripts/avrsim.py -m atmega644 -s 20000000 -b 250000 /home/node/klipper/simulavr.elf'
environment=PYTHONPATH=/home/node/simulavr/build/pysimulavr/
user=node
process_name=simulavr
directory=/home/node
autostart=true
autorestart=true
redirect_stderr=true
[program:klipper]
command=/home/node/klippy-env/bin/python /home/node/klipper/klippy/klippy.py /home/node/klipper_config/printer.cfg -l /home/node/klipper_logs/klippy.log -a /tmp/klippy_uds
user=node
process_name=klipper
directory=/home/node
autostart=true
autorestart=true
redirect_stderr=true
[program:moonraker]
command=/home/node/moonraker-env/bin/python /home/node/moonraker/moonraker/moonraker.py -l /home/node/klipper_logs/moonraker.log -c /home/node/klipper_config/moonraker.conf
user=node
process_name=moonraker
directory=/home/node
autostart=true
autorestart=true
redirect_stderr=true
-14
View File
@@ -1,14 +0,0 @@
# moonraker.conf
[server]
host: 0.0.0.0
port: 7125
enable_debug_logging: True
config_path: /home/node/printer_config/
[authorization]
enabled: True
trusted_clients:
0.0.0.0/0
cors_domains:
*
-112
View File
@@ -1,112 +0,0 @@
[virtual_sdcard]
path: ~/gcode
[pause_resume]
[display_status]
[mcu]
serial: /tmp/pseudoserial
restart_method: arduino
baud: 250000
[stepper_x]
step_pin: PD7
dir_pin: !PC5
enable_pin: !PD6
microsteps: 16
rotation_distance: 40
endstop_pin: ^PC2
position_endstop: 0
position_max: 235
homing_speed: 50
homing_retract_dist: 0
[stepper_y]
step_pin: PC6
dir_pin: !PC7
enable_pin: !PD6
microsteps: 16
rotation_distance: 40
endstop_pin: ^PC3
position_endstop: 0
position_max: 235
homing_speed: 50
homing_retract_dist: 0
[stepper_z]
step_pin: PB3
dir_pin: PB2
enable_pin: !PA5
microsteps: 16
rotation_distance: 8
endstop_pin: ^PC4
position_endstop: 0.0
position_max: 250
homing_retract_dist: 0
[extruder]
max_extrude_only_distance: 100.0
step_pin: PB1
dir_pin: !PB0
enable_pin: !PD6
microsteps: 16
rotation_distance: 33.683
nozzle_diameter: 0.400
filament_diameter: 1.750
heater_pin: PD5
sensor_type: EPCOS 100K B57560G104F
sensor_pin: PA7
control: watermark
min_temp: 0
max_temp: 250
min_extrude_temp: 50
[heater_bed]
heater_pin: PD4
sensor_type: EPCOS 100K B57560G104F
sensor_pin: PA6
control: watermark
min_temp: 0
max_temp: 130
[fan]
pin: PB4
[heater_fan nozzle_fan]
pin: PB5
off_below: 0.0
shutdown_speed: 1.0
max_power: 1.0
[controller_fan mcu_fan]
pin: PB6
off_below: 0.2
shutdown_speed: 1.0
max_power: 1.0
[printer]
kinematics: cartesian
max_velocity: 300
max_accel: 3000
max_z_velocity: 5
max_z_accel: 100
#[display]
#lcd_type: st7920
#cs_pin: PA3
#sclk_pin: PA1
#sid_pin: PC1
#encoder_pins: ^PD2, ^PD3
#click_pin: ^!PC0
# The print bed can move so far to the front, that the nozzle can reach the
# plastic cover of the print bed heater cable (only when the bed is moved by
# hand). By homing the Y axis before the X axis, it is ensured the nozzle will
# not melt through the plastic part.
# BEWARE: You will lose the ability to home axes individually. The printer will
# always home all axes for every G28 command.
#[homing_override]
#gcode:
# G28 Y0
# G28 X0
# G28 Z0
-17
View File
@@ -1,17 +0,0 @@
#!/usr/bin/env bash
export APP_NAME=mainsail
if [ $# -gt 0 ]; then
if [ "$1" == "restart" ]; then
docker-compose restart "$2"
elif [ "$1" == "bash" ]; then
docker exec -it "$APP_NAME-stack-$2" bash
elif [ "$1" == "npm-build" ]; then
docker exec "$APP_NAME-stack-npm" npm run build
else
docker-compose "$@"
fi
else
docker-compose ps
fi
-5
View File
@@ -1,5 +0,0 @@
#!/usr/bin/env bash
if [ ! -d 'node_modules' ]; then
npm ci
fi
npm run serve
-10
View File
@@ -1,10 +0,0 @@
CNAME
# Ignore metadata generated by Jekyll
_site/
.sass-cache/
.jekyll-cache/
.jekyll-metadata
# Ignore folders generated by Bundler
.bundle/
vendor/
-35
View File
@@ -1,35 +0,0 @@
source "https://rubygems.org"
# Hello! This is where you manage which Jekyll version is used to run.
# When you want to use a different version, change it below, save the
# file and run `bundle install`. Run Jekyll with `bundle exec`, like so:
#
# bundle exec jekyll serve
#
# This will help ensure the proper Jekyll version is running.
# Happy Jekylling!
#gem "jekyll", "~> 4.2.0"
# This is the default theme for new Jekyll sites. You may change this to anything you like.
#gem "minima", "~> 2.5"
# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
# uncomment the line below. To upgrade, run `bundle update github-pages`.
gem "github-pages", group: :jekyll_plugins
# If you have any plugins, put them here!
group :jekyll_plugins do
gem "jekyll-feed", "~> 0.12"
gem "jekyll-remote-theme"
gem "jekyll-redirect-from"
end
# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
# and associated library.
platforms :mingw, :x64_mingw, :mswin, :jruby do
gem "tzinfo", "~> 1.2"
gem "tzinfo-data"
end
# Performance-booster for watching directories on Windows
gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin]
-284
View File
@@ -1,284 +0,0 @@
GEM
remote: https://rubygems.org/
specs:
activesupport (6.0.4.1)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 0.7, < 2)
minitest (~> 5.1)
tzinfo (~> 1.1)
zeitwerk (~> 2.2, >= 2.2.2)
addressable (2.8.0)
public_suffix (>= 2.0.2, < 5.0)
coffee-script (2.4.1)
coffee-script-source
execjs
coffee-script-source (1.11.1)
colorator (1.1.0)
commonmarker (0.17.13)
ruby-enum (~> 0.5)
concurrent-ruby (1.1.9)
dnsruby (1.61.7)
simpleidn (~> 0.1)
em-websocket (0.5.2)
eventmachine (>= 0.12.9)
http_parser.rb (~> 0.6.0)
ethon (0.14.0)
ffi (>= 1.15.0)
eventmachine (1.2.7)
execjs (2.8.1)
faraday (1.7.0)
faraday-em_http (~> 1.0)
faraday-em_synchrony (~> 1.0)
faraday-excon (~> 1.1)
faraday-httpclient (~> 1.0.1)
faraday-net_http (~> 1.0)
faraday-net_http_persistent (~> 1.1)
faraday-patron (~> 1.0)
faraday-rack (~> 1.0)
multipart-post (>= 1.2, < 3)
ruby2_keywords (>= 0.0.4)
faraday-em_http (1.0.0)
faraday-em_synchrony (1.0.0)
faraday-excon (1.1.0)
faraday-httpclient (1.0.1)
faraday-net_http (1.0.1)
faraday-net_http_persistent (1.2.0)
faraday-patron (1.0.0)
faraday-rack (1.0.0)
ffi (1.15.3)
forwardable-extended (2.6.0)
gemoji (3.0.1)
github-pages (218)
github-pages-health-check (= 1.17.2)
jekyll (= 3.9.0)
jekyll-avatar (= 0.7.0)
jekyll-coffeescript (= 1.1.1)
jekyll-commonmark-ghpages (= 0.1.6)
jekyll-default-layout (= 0.1.4)
jekyll-feed (= 0.15.1)
jekyll-gist (= 1.5.0)
jekyll-github-metadata (= 2.13.0)
jekyll-mentions (= 1.6.0)
jekyll-optional-front-matter (= 0.3.2)
jekyll-paginate (= 1.1.0)
jekyll-readme-index (= 0.3.0)
jekyll-redirect-from (= 0.16.0)
jekyll-relative-links (= 0.6.1)
jekyll-remote-theme (= 0.4.3)
jekyll-sass-converter (= 1.5.2)
jekyll-seo-tag (= 2.7.1)
jekyll-sitemap (= 1.4.0)
jekyll-swiss (= 1.0.0)
jekyll-theme-architect (= 0.2.0)
jekyll-theme-cayman (= 0.2.0)
jekyll-theme-dinky (= 0.2.0)
jekyll-theme-hacker (= 0.2.0)
jekyll-theme-leap-day (= 0.2.0)
jekyll-theme-merlot (= 0.2.0)
jekyll-theme-midnight (= 0.2.0)
jekyll-theme-minimal (= 0.2.0)
jekyll-theme-modernist (= 0.2.0)
jekyll-theme-primer (= 0.6.0)
jekyll-theme-slate (= 0.2.0)
jekyll-theme-tactile (= 0.2.0)
jekyll-theme-time-machine (= 0.2.0)
jekyll-titles-from-headings (= 0.5.3)
jemoji (= 0.12.0)
kramdown (= 2.3.1)
kramdown-parser-gfm (= 1.1.0)
liquid (= 4.0.3)
mercenary (~> 0.3)
minima (= 2.5.1)
nokogiri (>= 1.10.4, < 2.0)
rouge (= 3.26.0)
terminal-table (~> 1.4)
github-pages-health-check (1.17.2)
addressable (~> 2.3)
dnsruby (~> 1.60)
octokit (~> 4.0)
public_suffix (>= 2.0.2, < 5.0)
typhoeus (~> 1.3)
html-pipeline (2.14.0)
activesupport (>= 2)
nokogiri (>= 1.4)
http_parser.rb (0.6.0)
i18n (0.9.5)
concurrent-ruby (~> 1.0)
jekyll (3.9.0)
addressable (~> 2.4)
colorator (~> 1.0)
em-websocket (~> 0.5)
i18n (~> 0.7)
jekyll-sass-converter (~> 1.0)
jekyll-watch (~> 2.0)
kramdown (>= 1.17, < 3)
liquid (~> 4.0)
mercenary (~> 0.3.3)
pathutil (~> 0.9)
rouge (>= 1.7, < 4)
safe_yaml (~> 1.0)
jekyll-avatar (0.7.0)
jekyll (>= 3.0, < 5.0)
jekyll-coffeescript (1.1.1)
coffee-script (~> 2.2)
coffee-script-source (~> 1.11.1)
jekyll-commonmark (1.3.1)
commonmarker (~> 0.14)
jekyll (>= 3.7, < 5.0)
jekyll-commonmark-ghpages (0.1.6)
commonmarker (~> 0.17.6)
jekyll-commonmark (~> 1.2)
rouge (>= 2.0, < 4.0)
jekyll-default-layout (0.1.4)
jekyll (~> 3.0)
jekyll-feed (0.15.1)
jekyll (>= 3.7, < 5.0)
jekyll-gist (1.5.0)
octokit (~> 4.2)
jekyll-github-metadata (2.13.0)
jekyll (>= 3.4, < 5.0)
octokit (~> 4.0, != 4.4.0)
jekyll-mentions (1.6.0)
html-pipeline (~> 2.3)
jekyll (>= 3.7, < 5.0)
jekyll-optional-front-matter (0.3.2)
jekyll (>= 3.0, < 5.0)
jekyll-paginate (1.1.0)
jekyll-readme-index (0.3.0)
jekyll (>= 3.0, < 5.0)
jekyll-redirect-from (0.16.0)
jekyll (>= 3.3, < 5.0)
jekyll-relative-links (0.6.1)
jekyll (>= 3.3, < 5.0)
jekyll-remote-theme (0.4.3)
addressable (~> 2.0)
jekyll (>= 3.5, < 5.0)
jekyll-sass-converter (>= 1.0, <= 3.0.0, != 2.0.0)
rubyzip (>= 1.3.0, < 3.0)
jekyll-sass-converter (1.5.2)
sass (~> 3.4)
jekyll-seo-tag (2.7.1)
jekyll (>= 3.8, < 5.0)
jekyll-sitemap (1.4.0)
jekyll (>= 3.7, < 5.0)
jekyll-swiss (1.0.0)
jekyll-theme-architect (0.2.0)
jekyll (> 3.5, < 5.0)
jekyll-seo-tag (~> 2.0)
jekyll-theme-cayman (0.2.0)
jekyll (> 3.5, < 5.0)
jekyll-seo-tag (~> 2.0)
jekyll-theme-dinky (0.2.0)
jekyll (> 3.5, < 5.0)
jekyll-seo-tag (~> 2.0)
jekyll-theme-hacker (0.2.0)
jekyll (> 3.5, < 5.0)
jekyll-seo-tag (~> 2.0)
jekyll-theme-leap-day (0.2.0)
jekyll (> 3.5, < 5.0)
jekyll-seo-tag (~> 2.0)
jekyll-theme-merlot (0.2.0)
jekyll (> 3.5, < 5.0)
jekyll-seo-tag (~> 2.0)
jekyll-theme-midnight (0.2.0)
jekyll (> 3.5, < 5.0)
jekyll-seo-tag (~> 2.0)
jekyll-theme-minimal (0.2.0)
jekyll (> 3.5, < 5.0)
jekyll-seo-tag (~> 2.0)
jekyll-theme-modernist (0.2.0)
jekyll (> 3.5, < 5.0)
jekyll-seo-tag (~> 2.0)
jekyll-theme-primer (0.6.0)
jekyll (> 3.5, < 5.0)
jekyll-github-metadata (~> 2.9)
jekyll-seo-tag (~> 2.0)
jekyll-theme-slate (0.2.0)
jekyll (> 3.5, < 5.0)
jekyll-seo-tag (~> 2.0)
jekyll-theme-tactile (0.2.0)
jekyll (> 3.5, < 5.0)
jekyll-seo-tag (~> 2.0)
jekyll-theme-time-machine (0.2.0)
jekyll (> 3.5, < 5.0)
jekyll-seo-tag (~> 2.0)
jekyll-titles-from-headings (0.5.3)
jekyll (>= 3.3, < 5.0)
jekyll-watch (2.2.1)
listen (~> 3.0)
jemoji (0.12.0)
gemoji (~> 3.0)
html-pipeline (~> 2.2)
jekyll (>= 3.0, < 5.0)
kramdown (2.3.1)
rexml
kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0)
liquid (4.0.3)
listen (3.7.0)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
mercenary (0.3.6)
mini_portile2 (2.6.1)
minima (2.5.1)
jekyll (>= 3.5, < 5.0)
jekyll-feed (~> 0.9)
jekyll-seo-tag (~> 2.1)
minitest (5.14.4)
multipart-post (2.1.1)
nokogiri (1.12.5)
mini_portile2 (~> 2.6.1)
racc (~> 1.4)
octokit (4.21.0)
faraday (>= 0.9)
sawyer (~> 0.8.0, >= 0.5.3)
pathutil (0.16.2)
forwardable-extended (~> 2.6)
public_suffix (4.0.6)
racc (1.5.2)
rb-fsevent (0.11.0)
rb-inotify (0.10.1)
ffi (~> 1.0)
rexml (3.2.5)
rouge (3.26.0)
ruby-enum (0.9.0)
i18n
ruby2_keywords (0.0.5)
rubyzip (2.3.2)
safe_yaml (1.0.5)
sass (3.7.4)
sass-listen (~> 4.0.0)
sass-listen (4.0.0)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
sawyer (0.8.2)
addressable (>= 2.3.5)
faraday (> 0.8, < 2.0)
simpleidn (0.2.1)
unf (~> 0.1.4)
terminal-table (1.8.0)
unicode-display_width (~> 1.1, >= 1.1.1)
thread_safe (0.3.6)
typhoeus (1.4.0)
ethon (>= 0.9.0)
tzinfo (1.2.9)
thread_safe (~> 0.1)
unf (0.1.4)
unf_ext
unf_ext (0.0.7.7)
unicode-display_width (1.7.0)
zeitwerk (2.4.2)
PLATFORMS
ruby
DEPENDENCIES
github-pages
jekyll-feed (~> 0.12)
jekyll-remote-theme
tzinfo (~> 1.2)
tzinfo-data
wdm (~> 0.1.1)
BUNDLED WITH
2.1.4
+1 -1
View File
@@ -1 +1 @@
Welcome to the Mainsail documentation. The [index](https://docs.mainsail.xyz) of the docs is here.
Welcome to the Mainsail documentation. The [index](http://meteyou.github.io/mainsail) of the docs is here.
+1 -8
View File
@@ -2,14 +2,10 @@ title: "Mainsail"
tagline: A web interface for Klipper
description: Mainsail is a lightweight & responsive web interface for the Klipper 3D printer firmware. It communicates with Moonraker (Klipper-API) from Arksine.
logo: "/assets/img/logo-mainsail.png"
# theme: just-the-docs
theme: just-the-docs
remote_theme: pmarsceill/just-the-docs
color_scheme: "mainsail"
search_enabled: true
aux_links:
"Mainsail on GitHub":
- "//github.com/mainsail-crew/mainsail"
aux_links_new_tab: true
defaults:
-
@@ -17,6 +13,3 @@ defaults:
path: "" # an empty string here means all files in the project
values:
image: assets/img/rtfm.png
plugins:
- jekyll-redirect-from
-506
View File
@@ -1,506 +0,0 @@
[
{
"login": "meteyou",
"id": 8167632,
"node_id": "MDQ6VXNlcjgxNjc2MzI=",
"avatar_url": "https://avatars.githubusercontent.com/u/8167632?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/meteyou",
"html_url": "https://github.com/meteyou",
"followers_url": "https://api.github.com/users/meteyou/followers",
"following_url": "https://api.github.com/users/meteyou/following{/other_user}",
"gists_url": "https://api.github.com/users/meteyou/gists{/gist_id}",
"starred_url": "https://api.github.com/users/meteyou/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/meteyou/subscriptions",
"organizations_url": "https://api.github.com/users/meteyou/orgs",
"repos_url": "https://api.github.com/users/meteyou/repos",
"events_url": "https://api.github.com/users/meteyou/events{/privacy}",
"received_events_url": "https://api.github.com/users/meteyou/received_events",
"type": "User",
"site_admin": false,
"contributions": 653
},
{
"login": "freasy",
"id": 5220632,
"node_id": "MDQ6VXNlcjUyMjA2MzI=",
"avatar_url": "https://avatars.githubusercontent.com/u/5220632?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/freasy",
"html_url": "https://github.com/freasy",
"followers_url": "https://api.github.com/users/freasy/followers",
"following_url": "https://api.github.com/users/freasy/following{/other_user}",
"gists_url": "https://api.github.com/users/freasy/gists{/gist_id}",
"starred_url": "https://api.github.com/users/freasy/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/freasy/subscriptions",
"organizations_url": "https://api.github.com/users/freasy/orgs",
"repos_url": "https://api.github.com/users/freasy/repos",
"events_url": "https://api.github.com/users/freasy/events{/privacy}",
"received_events_url": "https://api.github.com/users/freasy/received_events",
"type": "User",
"site_admin": false,
"contributions": 57
},
{
"login": "winbin",
"id": 9819264,
"node_id": "MDQ6VXNlcjk4MTkyNjQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/9819264?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/winbin",
"html_url": "https://github.com/winbin",
"followers_url": "https://api.github.com/users/winbin/followers",
"following_url": "https://api.github.com/users/winbin/following{/other_user}",
"gists_url": "https://api.github.com/users/winbin/gists{/gist_id}",
"starred_url": "https://api.github.com/users/winbin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/winbin/subscriptions",
"organizations_url": "https://api.github.com/users/winbin/orgs",
"repos_url": "https://api.github.com/users/winbin/repos",
"events_url": "https://api.github.com/users/winbin/events{/privacy}",
"received_events_url": "https://api.github.com/users/winbin/received_events",
"type": "User",
"site_admin": false,
"contributions": 22
},
{
"login": "le3tspeak",
"id": 21110785,
"node_id": "MDQ6VXNlcjIxMTEwNzg1",
"avatar_url": "https://avatars.githubusercontent.com/u/21110785?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/le3tspeak",
"html_url": "https://github.com/le3tspeak",
"followers_url": "https://api.github.com/users/le3tspeak/followers",
"following_url": "https://api.github.com/users/le3tspeak/following{/other_user}",
"gists_url": "https://api.github.com/users/le3tspeak/gists{/gist_id}",
"starred_url": "https://api.github.com/users/le3tspeak/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/le3tspeak/subscriptions",
"organizations_url": "https://api.github.com/users/le3tspeak/orgs",
"repos_url": "https://api.github.com/users/le3tspeak/repos",
"events_url": "https://api.github.com/users/le3tspeak/events{/privacy}",
"received_events_url": "https://api.github.com/users/le3tspeak/received_events",
"type": "User",
"site_admin": false,
"contributions": 16
},
{
"login": "lixxbox",
"id": 5130466,
"node_id": "MDQ6VXNlcjUxMzA0NjY=",
"avatar_url": "https://avatars.githubusercontent.com/u/5130466?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lixxbox",
"html_url": "https://github.com/lixxbox",
"followers_url": "https://api.github.com/users/lixxbox/followers",
"following_url": "https://api.github.com/users/lixxbox/following{/other_user}",
"gists_url": "https://api.github.com/users/lixxbox/gists{/gist_id}",
"starred_url": "https://api.github.com/users/lixxbox/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lixxbox/subscriptions",
"organizations_url": "https://api.github.com/users/lixxbox/orgs",
"repos_url": "https://api.github.com/users/lixxbox/repos",
"events_url": "https://api.github.com/users/lixxbox/events{/privacy}",
"received_events_url": "https://api.github.com/users/lixxbox/received_events",
"type": "User",
"site_admin": false,
"contributions": 12
},
{
"login": "translucentfocus",
"id": 26986716,
"node_id": "MDQ6VXNlcjI2OTg2NzE2",
"avatar_url": "https://avatars.githubusercontent.com/u/26986716?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/translucentfocus",
"html_url": "https://github.com/translucentfocus",
"followers_url": "https://api.github.com/users/translucentfocus/followers",
"following_url": "https://api.github.com/users/translucentfocus/following{/other_user}",
"gists_url": "https://api.github.com/users/translucentfocus/gists{/gist_id}",
"starred_url": "https://api.github.com/users/translucentfocus/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/translucentfocus/subscriptions",
"organizations_url": "https://api.github.com/users/translucentfocus/orgs",
"repos_url": "https://api.github.com/users/translucentfocus/repos",
"events_url": "https://api.github.com/users/translucentfocus/events{/privacy}",
"received_events_url": "https://api.github.com/users/translucentfocus/received_events",
"type": "User",
"site_admin": false,
"contributions": 8
},
{
"login": "Birkemosen",
"id": 12812702,
"node_id": "MDQ6VXNlcjEyODEyNzAy",
"avatar_url": "https://avatars.githubusercontent.com/u/12812702?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Birkemosen",
"html_url": "https://github.com/Birkemosen",
"followers_url": "https://api.github.com/users/Birkemosen/followers",
"following_url": "https://api.github.com/users/Birkemosen/following{/other_user}",
"gists_url": "https://api.github.com/users/Birkemosen/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Birkemosen/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Birkemosen/subscriptions",
"organizations_url": "https://api.github.com/users/Birkemosen/orgs",
"repos_url": "https://api.github.com/users/Birkemosen/repos",
"events_url": "https://api.github.com/users/Birkemosen/events{/privacy}",
"received_events_url": "https://api.github.com/users/Birkemosen/received_events",
"type": "User",
"site_admin": false,
"contributions": 7
},
{
"login": "eliteSchwein",
"id": 39838619,
"node_id": "MDQ6VXNlcjM5ODM4NjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/39838619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eliteSchwein",
"html_url": "https://github.com/eliteSchwein",
"followers_url": "https://api.github.com/users/eliteSchwein/followers",
"following_url": "https://api.github.com/users/eliteSchwein/following{/other_user}",
"gists_url": "https://api.github.com/users/eliteSchwein/gists{/gist_id}",
"starred_url": "https://api.github.com/users/eliteSchwein/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/eliteSchwein/subscriptions",
"organizations_url": "https://api.github.com/users/eliteSchwein/orgs",
"repos_url": "https://api.github.com/users/eliteSchwein/repos",
"events_url": "https://api.github.com/users/eliteSchwein/events{/privacy}",
"received_events_url": "https://api.github.com/users/eliteSchwein/received_events",
"type": "User",
"site_admin": false,
"contributions": 6
},
{
"login": "randellhodges",
"id": 7727467,
"node_id": "MDQ6VXNlcjc3Mjc0Njc=",
"avatar_url": "https://avatars.githubusercontent.com/u/7727467?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/randellhodges",
"html_url": "https://github.com/randellhodges",
"followers_url": "https://api.github.com/users/randellhodges/followers",
"following_url": "https://api.github.com/users/randellhodges/following{/other_user}",
"gists_url": "https://api.github.com/users/randellhodges/gists{/gist_id}",
"starred_url": "https://api.github.com/users/randellhodges/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/randellhodges/subscriptions",
"organizations_url": "https://api.github.com/users/randellhodges/orgs",
"repos_url": "https://api.github.com/users/randellhodges/repos",
"events_url": "https://api.github.com/users/randellhodges/events{/privacy}",
"received_events_url": "https://api.github.com/users/randellhodges/received_events",
"type": "User",
"site_admin": false,
"contributions": 4
},
{
"login": "cadriel",
"id": 205520,
"node_id": "MDQ6VXNlcjIwNTUyMA==",
"avatar_url": "https://avatars.githubusercontent.com/u/205520?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cadriel",
"html_url": "https://github.com/cadriel",
"followers_url": "https://api.github.com/users/cadriel/followers",
"following_url": "https://api.github.com/users/cadriel/following{/other_user}",
"gists_url": "https://api.github.com/users/cadriel/gists{/gist_id}",
"starred_url": "https://api.github.com/users/cadriel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cadriel/subscriptions",
"organizations_url": "https://api.github.com/users/cadriel/orgs",
"repos_url": "https://api.github.com/users/cadriel/repos",
"events_url": "https://api.github.com/users/cadriel/events{/privacy}",
"received_events_url": "https://api.github.com/users/cadriel/received_events",
"type": "User",
"site_admin": false,
"contributions": 3
},
{
"login": "FrYakaTKoP",
"id": 10913183,
"node_id": "MDQ6VXNlcjEwOTEzMTgz",
"avatar_url": "https://avatars.githubusercontent.com/u/10913183?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/FrYakaTKoP",
"html_url": "https://github.com/FrYakaTKoP",
"followers_url": "https://api.github.com/users/FrYakaTKoP/followers",
"following_url": "https://api.github.com/users/FrYakaTKoP/following{/other_user}",
"gists_url": "https://api.github.com/users/FrYakaTKoP/gists{/gist_id}",
"starred_url": "https://api.github.com/users/FrYakaTKoP/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/FrYakaTKoP/subscriptions",
"organizations_url": "https://api.github.com/users/FrYakaTKoP/orgs",
"repos_url": "https://api.github.com/users/FrYakaTKoP/repos",
"events_url": "https://api.github.com/users/FrYakaTKoP/events{/privacy}",
"received_events_url": "https://api.github.com/users/FrYakaTKoP/received_events",
"type": "User",
"site_admin": false,
"contributions": 3
},
{
"login": "kageurufu",
"id": 259751,
"node_id": "MDQ6VXNlcjI1OTc1MQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/259751?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kageurufu",
"html_url": "https://github.com/kageurufu",
"followers_url": "https://api.github.com/users/kageurufu/followers",
"following_url": "https://api.github.com/users/kageurufu/following{/other_user}",
"gists_url": "https://api.github.com/users/kageurufu/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kageurufu/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kageurufu/subscriptions",
"organizations_url": "https://api.github.com/users/kageurufu/orgs",
"repos_url": "https://api.github.com/users/kageurufu/repos",
"events_url": "https://api.github.com/users/kageurufu/events{/privacy}",
"received_events_url": "https://api.github.com/users/kageurufu/received_events",
"type": "User",
"site_admin": false,
"contributions": 3
},
{
"login": "Rejdukien",
"id": 2448290,
"node_id": "MDQ6VXNlcjI0NDgyOTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/2448290?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rejdukien",
"html_url": "https://github.com/Rejdukien",
"followers_url": "https://api.github.com/users/Rejdukien/followers",
"following_url": "https://api.github.com/users/Rejdukien/following{/other_user}",
"gists_url": "https://api.github.com/users/Rejdukien/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Rejdukien/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Rejdukien/subscriptions",
"organizations_url": "https://api.github.com/users/Rejdukien/orgs",
"repos_url": "https://api.github.com/users/Rejdukien/repos",
"events_url": "https://api.github.com/users/Rejdukien/events{/privacy}",
"received_events_url": "https://api.github.com/users/Rejdukien/received_events",
"type": "User",
"site_admin": false,
"contributions": 3
},
{
"login": "dependabot[bot]",
"id": 49699333,
"node_id": "MDM6Qm90NDk2OTkzMzM=",
"avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dependabot%5Bbot%5D",
"html_url": "https://github.com/apps/dependabot",
"followers_url": "https://api.github.com/users/dependabot%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/dependabot%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/dependabot%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/dependabot%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dependabot%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/dependabot%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/dependabot%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/dependabot%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/dependabot%5Bbot%5D/received_events",
"type": "Bot",
"site_admin": false,
"contributions": 3
},
{
"login": "CodingJustForRun",
"id": 71041835,
"node_id": "MDQ6VXNlcjcxMDQxODM1",
"avatar_url": "https://avatars.githubusercontent.com/u/71041835?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/CodingJustForRun",
"html_url": "https://github.com/CodingJustForRun",
"followers_url": "https://api.github.com/users/CodingJustForRun/followers",
"following_url": "https://api.github.com/users/CodingJustForRun/following{/other_user}",
"gists_url": "https://api.github.com/users/CodingJustForRun/gists{/gist_id}",
"starred_url": "https://api.github.com/users/CodingJustForRun/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/CodingJustForRun/subscriptions",
"organizations_url": "https://api.github.com/users/CodingJustForRun/orgs",
"repos_url": "https://api.github.com/users/CodingJustForRun/repos",
"events_url": "https://api.github.com/users/CodingJustForRun/events{/privacy}",
"received_events_url": "https://api.github.com/users/CodingJustForRun/received_events",
"type": "User",
"site_admin": false,
"contributions": 2
},
{
"login": "Lanovar",
"id": 59284012,
"node_id": "MDQ6VXNlcjU5Mjg0MDEy",
"avatar_url": "https://avatars.githubusercontent.com/u/59284012?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Lanovar",
"html_url": "https://github.com/Lanovar",
"followers_url": "https://api.github.com/users/Lanovar/followers",
"following_url": "https://api.github.com/users/Lanovar/following{/other_user}",
"gists_url": "https://api.github.com/users/Lanovar/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Lanovar/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Lanovar/subscriptions",
"organizations_url": "https://api.github.com/users/Lanovar/orgs",
"repos_url": "https://api.github.com/users/Lanovar/repos",
"events_url": "https://api.github.com/users/Lanovar/events{/privacy}",
"received_events_url": "https://api.github.com/users/Lanovar/received_events",
"type": "User",
"site_admin": false,
"contributions": 2
},
{
"login": "th33xitus",
"id": 31533186,
"node_id": "MDQ6VXNlcjMxNTMzMTg2",
"avatar_url": "https://avatars.githubusercontent.com/u/31533186?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/th33xitus",
"html_url": "https://github.com/th33xitus",
"followers_url": "https://api.github.com/users/th33xitus/followers",
"following_url": "https://api.github.com/users/th33xitus/following{/other_user}",
"gists_url": "https://api.github.com/users/th33xitus/gists{/gist_id}",
"starred_url": "https://api.github.com/users/th33xitus/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/th33xitus/subscriptions",
"organizations_url": "https://api.github.com/users/th33xitus/orgs",
"repos_url": "https://api.github.com/users/th33xitus/repos",
"events_url": "https://api.github.com/users/th33xitus/events{/privacy}",
"received_events_url": "https://api.github.com/users/th33xitus/received_events",
"type": "User",
"site_admin": false,
"contributions": 2
},
{
"login": "sir-thanksalot",
"id": 36886251,
"node_id": "MDQ6VXNlcjM2ODg2MjUx",
"avatar_url": "https://avatars.githubusercontent.com/u/36886251?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sir-thanksalot",
"html_url": "https://github.com/sir-thanksalot",
"followers_url": "https://api.github.com/users/sir-thanksalot/followers",
"following_url": "https://api.github.com/users/sir-thanksalot/following{/other_user}",
"gists_url": "https://api.github.com/users/sir-thanksalot/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sir-thanksalot/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sir-thanksalot/subscriptions",
"organizations_url": "https://api.github.com/users/sir-thanksalot/orgs",
"repos_url": "https://api.github.com/users/sir-thanksalot/repos",
"events_url": "https://api.github.com/users/sir-thanksalot/events{/privacy}",
"received_events_url": "https://api.github.com/users/sir-thanksalot/received_events",
"type": "User",
"site_admin": false,
"contributions": 1
},
{
"login": "pusewicz",
"id": 940,
"node_id": "MDQ6VXNlcjk0MA==",
"avatar_url": "https://avatars.githubusercontent.com/u/940?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pusewicz",
"html_url": "https://github.com/pusewicz",
"followers_url": "https://api.github.com/users/pusewicz/followers",
"following_url": "https://api.github.com/users/pusewicz/following{/other_user}",
"gists_url": "https://api.github.com/users/pusewicz/gists{/gist_id}",
"starred_url": "https://api.github.com/users/pusewicz/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/pusewicz/subscriptions",
"organizations_url": "https://api.github.com/users/pusewicz/orgs",
"repos_url": "https://api.github.com/users/pusewicz/repos",
"events_url": "https://api.github.com/users/pusewicz/events{/privacy}",
"received_events_url": "https://api.github.com/users/pusewicz/received_events",
"type": "User",
"site_admin": false,
"contributions": 1
},
{
"login": "rufo",
"id": 2745,
"node_id": "MDQ6VXNlcjI3NDU=",
"avatar_url": "https://avatars.githubusercontent.com/u/2745?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rufo",
"html_url": "https://github.com/rufo",
"followers_url": "https://api.github.com/users/rufo/followers",
"following_url": "https://api.github.com/users/rufo/following{/other_user}",
"gists_url": "https://api.github.com/users/rufo/gists{/gist_id}",
"starred_url": "https://api.github.com/users/rufo/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rufo/subscriptions",
"organizations_url": "https://api.github.com/users/rufo/orgs",
"repos_url": "https://api.github.com/users/rufo/repos",
"events_url": "https://api.github.com/users/rufo/events{/privacy}",
"received_events_url": "https://api.github.com/users/rufo/received_events",
"type": "User",
"site_admin": true,
"contributions": 1
},
{
"login": "shinuza",
"id": 137940,
"node_id": "MDQ6VXNlcjEzNzk0MA==",
"avatar_url": "https://avatars.githubusercontent.com/u/137940?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shinuza",
"html_url": "https://github.com/shinuza",
"followers_url": "https://api.github.com/users/shinuza/followers",
"following_url": "https://api.github.com/users/shinuza/following{/other_user}",
"gists_url": "https://api.github.com/users/shinuza/gists{/gist_id}",
"starred_url": "https://api.github.com/users/shinuza/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/shinuza/subscriptions",
"organizations_url": "https://api.github.com/users/shinuza/orgs",
"repos_url": "https://api.github.com/users/shinuza/repos",
"events_url": "https://api.github.com/users/shinuza/events{/privacy}",
"received_events_url": "https://api.github.com/users/shinuza/received_events",
"type": "User",
"site_admin": false,
"contributions": 1
},
{
"login": "morganfw",
"id": 5797249,
"node_id": "MDQ6VXNlcjU3OTcyNDk=",
"avatar_url": "https://avatars.githubusercontent.com/u/5797249?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/morganfw",
"html_url": "https://github.com/morganfw",
"followers_url": "https://api.github.com/users/morganfw/followers",
"following_url": "https://api.github.com/users/morganfw/following{/other_user}",
"gists_url": "https://api.github.com/users/morganfw/gists{/gist_id}",
"starred_url": "https://api.github.com/users/morganfw/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/morganfw/subscriptions",
"organizations_url": "https://api.github.com/users/morganfw/orgs",
"repos_url": "https://api.github.com/users/morganfw/repos",
"events_url": "https://api.github.com/users/morganfw/events{/privacy}",
"received_events_url": "https://api.github.com/users/morganfw/received_events",
"type": "User",
"site_admin": false,
"contributions": 1
},
{
"login": "ru-ace",
"id": 10783157,
"node_id": "MDQ6VXNlcjEwNzgzMTU3",
"avatar_url": "https://avatars.githubusercontent.com/u/10783157?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ru-ace",
"html_url": "https://github.com/ru-ace",
"followers_url": "https://api.github.com/users/ru-ace/followers",
"following_url": "https://api.github.com/users/ru-ace/following{/other_user}",
"gists_url": "https://api.github.com/users/ru-ace/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ru-ace/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ru-ace/subscriptions",
"organizations_url": "https://api.github.com/users/ru-ace/orgs",
"repos_url": "https://api.github.com/users/ru-ace/repos",
"events_url": "https://api.github.com/users/ru-ace/events{/privacy}",
"received_events_url": "https://api.github.com/users/ru-ace/received_events",
"type": "User",
"site_admin": false,
"contributions": 1
},
{
"login": "dewi-ny-je",
"id": 2866139,
"node_id": "MDQ6VXNlcjI4NjYxMzk=",
"avatar_url": "https://avatars.githubusercontent.com/u/2866139?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dewi-ny-je",
"html_url": "https://github.com/dewi-ny-je",
"followers_url": "https://api.github.com/users/dewi-ny-je/followers",
"following_url": "https://api.github.com/users/dewi-ny-je/following{/other_user}",
"gists_url": "https://api.github.com/users/dewi-ny-je/gists{/gist_id}",
"starred_url": "https://api.github.com/users/dewi-ny-je/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dewi-ny-je/subscriptions",
"organizations_url": "https://api.github.com/users/dewi-ny-je/orgs",
"repos_url": "https://api.github.com/users/dewi-ny-je/repos",
"events_url": "https://api.github.com/users/dewi-ny-je/events{/privacy}",
"received_events_url": "https://api.github.com/users/dewi-ny-je/received_events",
"type": "User",
"site_admin": false,
"contributions": 1
}
]
-152
View File
@@ -1,152 +0,0 @@
{
"axios": {
"licenses": "MIT",
"repository": "https://github.com/axios/axios",
"licenseUrl": "https://github.com/axios/axios/raw/master/LICENSE",
"parents": "mainsail"
},
"core-js": {
"licenses": "MIT",
"repository": "https://github.com/zloirock/core-js",
"licenseUrl": "https://github.com/zloirock/core-js/raw/master/LICENSE",
"parents": "mainsail"
},
"echarts-gl": {
"licenses": "BSD",
"repository": "https://github.com/ecomfe/echarts-gl",
"licenseUrl": "https://github.com/ecomfe/echarts-gl/raw/master/LICENSE",
"parents": "mainsail"
},
"echarts": {
"licenses": "Apache-2.0",
"repository": "https://github.com/apache/echarts",
"licenseUrl": "https://github.com/apache/echarts/raw/master/LICENSE",
"parents": "mainsail"
},
"monaco-editor-textmate": {
"licenses": "MIT",
"repository": "https://github.com/NeekSandhu/monaco-editor-textmate",
"licenseUrl": "https://github.com/NeekSandhu/monaco-editor-textmate/raw/master/LICENSE",
"parents": "mainsail"
},
"monaco-editor": {
"licenses": "MIT",
"repository": "https://github.com/Microsoft/monaco-editor",
"licenseUrl": "https://github.com/microsoft/monaco-editor/raw/main/LICENSE.md",
"parents": "mainsail"
},
"monaco-textmate": {
"licenses": "MIT",
"repository": "https://github.com/NeekSandhu/monaco-textmate",
"licenseUrl": "https://github.com/NeekSandhu/monaco-textmate/raw/master/LICENSE.md",
"parents": "mainsail"
},
"monaco-themes": {
"licenses": "MIT",
"repository": "https://github.com/brijeshb42/monaco-themes",
"licenseUrl": "https://github.com/brijeshb42/monaco-themes/raw/master/LICENSE",
"parents": "mainsail"
},
"object-assign-deep": {
"licenses": "MIT",
"repository": "https://github.com/saikojosh/Object-Assign-Deep",
"licenseUrl": "https://github.com/saikojosh/Object-Assign-Deep",
"parents": "mainsail"
},
"onigasm": {
"licenses": "MIT",
"repository": "https://github.com/NeekSandhu/onigasm",
"licenseUrl": "https://github.com/NeekSandhu/onigasm/raw/master/LICENSE",
"parents": "mainsail"
},
"plotly.js": {
"licenses": "MIT",
"repository": "https://github.com/plotly/plotly.js",
"licenseUrl": "https://github.com/plotly/plotly.js/raw/master/LICENSE",
"parents": "mainsail"
},
"semver": {
"licenses": "ISC",
"repository": "https://github.com/npm/node-semver",
"licenseUrl": "https://github.com/npm/node-semver/raw/master/LICENSE",
"parents": "mainsail"
},
"vue-context": {
"licenses": "MIT",
"repository": "https://github.com/rawilk/vue-context",
"licenseUrl": "https://github.com/rawilk/vue-context/raw/master/LICENSE",
"parents": "mainsail"
},
"vue-github-api": {
"licenses": "MIT",
"repository": "https://gitlab.com/clorichel/vue-github-api",
"licenseUrl": "https://gitlab.com/clorichel/vue-github-api",
"parents": "mainsail"
},
"vue-headful": {
"licenses": "MIT",
"repository": "https://github.com/troxler/vue-headful",
"licenseUrl": "https://github.com/troxler/vue-headful/raw/master/LICENSE",
"parents": "mainsail"
},
"vue-i18n": {
"licenses": "MIT",
"repository": "https://github.com/kazupon/vue-i18n",
"licenseUrl": "https://github.com/kazupon/vue-i18n/raw/master/LICENSE",
"parents": "mainsail"
},
"vue-load-image": {
"licenses": "MIT",
"repository": "https://github.com/john015/vue-load-image",
"licenseUrl": "https://github.com/john015/vue-load-image/raw/master/LICENSE",
"parents": "mainsail"
},
"vue-observe-visibility": {
"licenses": "MIT",
"repository": "https://github.com/Akryum/vue-observe-visibility",
"licenseUrl": "https://github.com/Akryum/vue-observe-visibility",
"parents": "mainsail"
},
"vue-plotly": {
"licenses": "MIT",
"repository": "https://github.com/David-Desmaisons/vue-plotly",
"licenseUrl": "https://github.com/David-Desmaisons/vue-plotly/raw/master/LICENSE",
"parents": "mainsail"
},
"vue-resource": {
"licenses": "MIT",
"repository": "https://github.com/pagekit/vue-resource",
"licenseUrl": "https://github.com/pagekit/vue-resource/raw/master/LICENSE",
"parents": "mainsail"
},
"vue-simple-upload": {
"licenses": "MIT",
"repository": "https://github.com/saivarunk/vue-simple-upload",
"licenseUrl": "https://github.com/saivarunk/vue-simple-upload/raw/master/LICENCE",
"parents": "mainsail"
},
"vue-toast-notification": {
"licenses": "MIT",
"repository": "https://github.com/ankurk91/vue-toast-notification",
"licenseUrl": "https://github.com/ankurk91/vue-toast-notification/raw/master/LICENSE.txt",
"parents": "mainsail"
},
"vue": {
"licenses": "MIT",
"repository": "https://github.com/vuejs/vue",
"licenseUrl": "https://github.com/vuejs/vue/raw/master/LICENSE",
"parents": "mainsail"
},
"vuetify": {
"licenses": "MIT",
"repository": "https://github.com/vuetifyjs/vuetify",
"licenseUrl": "https://github.com/vuetifyjs/vuetify/raw/master/LICENSE.md",
"parents": "mainsail"
},
"vuex": {
"licenses": "MIT",
"repository": "https://github.com/vuejs/vuex",
"licenseUrl": "https://github.com/vuejs/vuex/raw/master/LICENSE",
"parents": "mainsail"
}
}
-6
View File
@@ -1,6 +0,0 @@
name,short_note,author,repo
Dracula,,steadyjaw,dracula-mainsail-theme
Cyberpunk,,Dario-Ciceri,cp2077-mainsail-theme
Mainsail x Voron Toolhead,Various toolhead images inside the theme folder can be renamed to 'sidebar-background.png',eriroh,Mainsail-x-Voron-Toolhead-Theme
Rat Rig (unofficial), includes various sidebar images which can be renamed to ‘sidebar-background.png’,Raabi91,ratrig-mainsail-theme
Cryd,,cryd-s,Mainsail-Theme-by-Cryd
1 name short_note author repo
2 Dracula steadyjaw dracula-mainsail-theme
3 Cyberpunk Dario-Ciceri cp2077-mainsail-theme
4 Mainsail x Voron Toolhead Various toolhead images inside the theme folder can be renamed to 'sidebar-background.png' eriroh Mainsail-x-Voron-Toolhead-Theme
5 Rat Rig (unofficial) includes various sidebar images which can be renamed to ‘sidebar-background.png’ Raabi91 ratrig-mainsail-theme
6 Cryd cryd-s Mainsail-Theme-by-Cryd
-205
View File
@@ -1,205 +0,0 @@
---
layout: table_wrappers
---
<!DOCTYPE html>
<html lang="{{ site.lang | default: 'en-US' }}">
{% include head.html %}
<head>
<script src="/assets/js/images.js"></script>
</head>
<body>
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;">
<symbol id="svg-link" viewBox="0 0 24 24">
<title>Link</title>
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-link">
<path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path>
</svg>
</symbol>
<symbol id="svg-search" viewBox="0 0 24 24">
<title>Search</title>
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-search">
<circle cx="11" cy="11" r="8"></circle><line x1="21" y1="21" x2="16.65" y2="16.65"></line>
</svg>
</symbol>
<symbol id="svg-menu" viewBox="0 0 24 24">
<title>Menu</title>
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-menu">
<line x1="3" y1="12" x2="21" y2="12"></line><line x1="3" y1="6" x2="21" y2="6"></line><line x1="3" y1="18" x2="21" y2="18"></line>
</svg>
</symbol>
<symbol id="svg-arrow-right" viewBox="0 0 24 24">
<title>Expand</title>
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right">
<polyline points="9 18 15 12 9 6"></polyline>
</svg>
</symbol>
<symbol id="svg-doc" viewBox="0 0 24 24">
<title>Document</title>
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-file">
<path d="M13 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z"></path><polyline points="13 2 13 9 20 9"></polyline>
</svg>
</symbol>
</svg>
<div class="side-bar">
<div class="site-header">
<a href="{{ '/' | absolute_url }}" class="site-title lh-tight">{% include title.html %}</a>
<a href="#" id="menu-button" class="site-button">
<svg viewBox="0 0 24 24" class="icon"><use xlink:href="#svg-menu"></use></svg>
</a>
</div>
<nav role="navigation" aria-label="Main" id="site-nav" class="site-nav">
{% if site.just_the_docs.collections %}
{% assign collections_size = site.just_the_docs.collections | size %}
{% for collection_entry in site.just_the_docs.collections %}
{% assign collection_key = collection_entry[0] %}
{% assign collection_value = collection_entry[1] %}
{% assign collection = site[collection_key] %}
{% if collection_value.nav_exclude != true %}
{% if collections_size > 1 %}
<div class="nav-category">{{ collection_value.name }}</div>
{% endif %}
{% include nav.html pages=collection %}
{% endif %}
{% endfor %}
{% else %}
{% include nav.html pages=site.html_pages %}
{% endif %}
</nav>
<footer class="site-footer">
This site uses <a href="https://github.com/pmarsceill/just-the-docs">Just the Docs</a>, a documentation theme for Jekyll.
</footer>
</div>
<div class="main" id="top">
<div id="main-header" class="main-header">
{% if site.search_enabled != false %}
<div class="search">
<div class="search-input-wrap">
<input type="text" id="search-input" class="search-input" tabindex="0" placeholder="Search {{ site.title }}" aria-label="Search {{ site.title }}" autocomplete="off">
<label for="search-input" class="search-label"><svg viewBox="0 0 24 24" class="search-icon"><use xlink:href="#svg-search"></use></svg></label>
</div>
<div id="search-results" class="search-results"></div>
</div>
{% endif %}
{% include header_custom.html %}
{% if site.aux_links %}
<nav aria-label="Auxiliary" class="aux-nav">
<ul class="aux-nav-list">
{% for link in site.aux_links %}
<li class="aux-nav-list-item">
<a href="{{ link.last }}" class="site-button"
{% if site.aux_links_new_tab %}
target="_blank" rel="noopener noreferrer"
{% endif %}
>
{{ link.first }}
</a>
</li>
{% endfor %}
</ul>
</nav>
{% endif %}
</div>
<div id="main-content-wrap" class="main-content-wrap">
{% unless page.url == "/" %}
{% if page.parent %}
{%- for node in pages_list -%}
{%- if node.parent == nil -%}
{%- if page.parent == node.title or page.grand_parent == node.title -%}
{%- assign first_level_url = node.url | absolute_url -%}
{%- endif -%}
{%- if node.has_children -%}
{%- assign children_list = pages_list | where: "parent", node.title -%}
{%- for child in children_list -%}
{%- if page.url == child.url or page.parent == child.title -%}
{%- assign second_level_url = child.url | absolute_url -%}
{%- endif -%}
{%- endfor -%}
{%- endif -%}
{%- endif -%}
{%- endfor -%}
<nav aria-label="Breadcrumb" class="breadcrumb-nav">
<ol class="breadcrumb-nav-list">
{% if page.grand_parent %}
<li class="breadcrumb-nav-list-item"><a href="{{ first_level_url }}">{{ page.grand_parent }}</a></li>
<li class="breadcrumb-nav-list-item"><a href="{{ second_level_url }}">{{ page.parent }}</a></li>
{% else %}
<li class="breadcrumb-nav-list-item"><a href="{{ first_level_url }}">{{ page.parent }}</a></li>
{% endif %}
<li class="breadcrumb-nav-list-item"><span>{{ page.title }}</span></li>
</ol>
</nav>
{% endif %}
{% endunless %}
<div id="main-content" class="main-content" role="main">
{% if site.heading_anchors != false %}
{% include vendor/anchor_headings.html html=content beforeHeading="true" anchorBody="<svg viewBox=\"0 0 16 16\" aria-hidden=\"true\"><use xlink:href=\"#svg-link\"></use></svg>" anchorClass="anchor-heading" anchorAttrs="aria-labelledby=\"%html_id%\"" %}
{% else %}
{{ content }}
{% endif %}
{% if page.has_children == true and page.has_toc != false %}
<hr>
<h2 class="text-delta">Table of contents</h2>
<ul>
{%- assign children_list = pages_list | where: "parent", page.title | where: "grand_parent", page.parent -%}
{% for child in children_list %}
<li>
<a href="{{ child.url | absolute_url }}">{{ child.title }}</a>{% if child.summary %} - {{ child.summary }}{% endif %}
</li>
{% endfor %}
</ul>
{% endif %}
{% capture footer_custom %}
{%- include footer_custom.html -%}
{% endcapture %}
{% if footer_custom != "" or site.last_edit_timestamp or site.gh_edit_link %}
<hr>
<footer>
{% if site.back_to_top %}
<p><a href="#top" id="back-to-top">{{ site.back_to_top_text }}</a></p>
{% endif %}
{{ footer_custom }}
{% if site.last_edit_timestamp or site.gh_edit_link %}
<div class="d-flex mt-2">
{% if site.last_edit_timestamp and site.last_edit_time_format and page.last_modified_date %}
<p class="text-small text-grey-dk-000 mb-0 mr-2">
Page last modified: <span class="d-inline-block">{{ page.last_modified_date | date: site.last_edit_time_format }}</span>.
</p>
{% endif %}
{% if
site.gh_edit_link and
site.gh_edit_link_text and
site.gh_edit_repository and
site.gh_edit_branch and
site.gh_edit_view_mode
%}
<p class="text-small text-grey-dk-000 mb-0">
<a href="{{ site.gh_edit_repository }}/{{ site.gh_edit_view_mode }}/{{ site.gh_edit_branch }}{% if site.gh_edit_source %}/{{ site.gh_edit_source }}{% endif %}/{{ page.path }}" id="edit-this-page">{{ site.gh_edit_link_text }}</a>
</p>
{% endif %}
</div>
{% endif %}
</footer>
{% endif %}
</div>
</div>
{% if site.search_enabled != false %}
{% if site.search.button %}
<a href="#" id="search-button" class="search-button">
<svg viewBox="0 0 24 24" class="icon"><use xlink:href="#svg-search"></use></svg>
</a>
{% endif %}
<div class="search-overlay"></div>
{% endif %}
</div>
</body>
</html>
-94
View File
@@ -1,95 +1 @@
$link-color: $red-300;
$btn-primary-color: $red-300;
.success, .info, .warning, .alert {
margin: 16px 0px;
padding: 20px;
position: relative;
border-radius: 3px;
width: 100%;
display: block;
background: #f5f6fa;
border: 1px solid hsl(0, 0%, 85%);
border-left: 4px solid;
padding-left: 3.5em;
}
.success {
border-left-color: rgb(38, 203, 124);
}
.info {
border-left-color: rgb(56, 132, 255);
}
.warning {
border-left-color: rgb(247, 125, 5);
}
.alert {
border-left-color: rgb(255, 70, 66);
}
.success::before, .info::before, .warning::before, .alert::before {
display: inline-block;
position: absolute;
left: 1.0em;
width: 1.5em;
height: 1.5em;
vertical-align: middle;
margin: 0px 10px 0px 0px;
}
.success::before {
content: url("/assets/img/success.svg");
}
.info::before {
content: url("/assets/img/info.svg");
}
.warning::before {
content: url("/assets/img/warning.svg");
}
.alert::before {
content: url("/assets/img/alert.svg");
}
.youtube-container {
position: relative;
width: 100%;
height: 0;
padding-bottom: 56.25%; /* 9/16 */
}
.youtube-container > iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.key {
padding: 0px 5px;
border-radius: 3px;
border: 1px solid;
border-color: hsl(0,0%,70%);
background-color: hsl(0,0%,98%);
font-style: normal;
font-size: 14px;
}
.screenshot {
animation: fadein 1.0s;
}
@keyframes fadein {
0% {
opacity: 0;
border-radius: 100%;
transform: scale(.3);
}
50% {
border-radius: 0%;
transform: scale(1);
}
100% {
opacity: 1;
}
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.0 KiB

-1
View File
@@ -1 +0,0 @@
<svg preserveAspectRatio="xMidYMid meet" fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor" style="color: rgb(255, 70, 66);" class="icon-7f6730be--text-3f89f380"><g><path d="M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z"/><line x1="12" y1="9" x2="12" y2="13"/><line x1="12" y1="17" x2="12" y2="17"/></g></svg>

Before

Width:  |  Height:  |  Size: 454 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 63 KiB

-1
View File
@@ -1 +0,0 @@
<svg preserveAspectRatio="xMidYMid meet" fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" stroke="none" style="color: rgb(56, 132, 255);" class="icon-7f6730be--text-3f89f380"><g><path d="M12.2 8.98c.06-.01.12-.03.18-.06.06-.02.12-.05.18-.09l.15-.12c.18-.19.29-.45.29-.71 0-.06-.01-.13-.02-.19a.603.603 0 0 0-.06-.19.757.757 0 0 0-.09-.18c-.03-.05-.08-.1-.12-.15-.28-.27-.72-.37-1.09-.21-.13.05-.23.12-.33.21-.04.05-.09.1-.12.15-.04.06-.07.12-.09.18-.03.06-.05.12-.06.19-.01.06-.02.13-.02.19 0 .26.11.52.29.71.1.09.2.16.33.21.12.05.25.08.38.08.06 0 .13-.01.2-.02M13 16v-4a1 1 0 1 0-2 0v4a1 1 0 1 0 2 0M12 3c-4.962 0-9 4.038-9 9 0 4.963 4.038 9 9 9 4.963 0 9-4.037 9-9 0-4.962-4.037-9-9-9m0 20C5.935 23 1 18.065 1 12S5.935 1 12 1c6.066 0 11 4.935 11 11s-4.934 11-11 11" fill-rule="evenodd"></path></g></svg>

Before

Width:  |  Height:  |  Size: 874 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 532 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 131 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 692 KiB

After

Width:  |  Height:  |  Size: 382 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 90 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 75 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 82 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 82 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 85 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 85 KiB

-1
View File
@@ -1 +0,0 @@
<svg preserveAspectRatio="xMidYMid meet" fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor" style="color: rgb(38, 203, 124);" class="icon-7f6730be--text-3f89f380"><g><path d="M22 11.07V12a10 10 0 1 1-5.93-9.14"></path><polyline points="23 3 12 14 9 11"></polyline></g></svg>

Before

Width:  |  Height:  |  Size: 376 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 30 KiB

-1
View File
@@ -1 +0,0 @@
<svg preserveAspectRatio="xMidYMid meet" fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor" style="color: rgb(247, 125, 5);" class="icon-7f6730be--text-3f89f380"><g><circle cx="12" cy="12" r="10"></circle><line x1="12" y1="8" x2="12" y2="12"></line><line x1="12" y1="16" x2="12" y2="16"></line></g></svg>

Before

Width:  |  Height:  |  Size: 406 B

-58
View File
@@ -1,58 +0,0 @@
function get_filesize(id, url, extension = "png") {
url = url+"."+extension;
return new Promise((resolve, reject) => {
var xhr = new XMLHttpRequest();
xhr.open("HEAD", url, true);
xhr.onreadystatechange = function() {
if (this.readyState == this.DONE) {
resolve({id: id, size: parseInt(xhr.getResponseHeader("Content-Length")), url: url, extension: extension})
}
};
xhr.send();
})
}
function set_image(id, url, max_size = 20000) {
Promise.all([
get_filesize(id, url, "png"),
get_filesize(id, url, "jpg"),
//get_filesize(id, url, "jpeg"),
//get_filesize(id, url, "gif"),
]).then(data => {
let sortbySize = function(data) {
return data.filter(data => data.size > 2000).sort((a, b) => a.size - b.size);
}
let result = sortbySize(data)
//console.log(result)
if (result[0].size <= max_size) {
set_src(result[0].id, result[0].size, result[0].url);
} else {
replace_image(result[0].id, result[0].url, max_size);
}
})
}
function set_src(id, size, url) {
screenshot = document.getElementById(id);
screenshot.src = url;
screenshot.classList.add("screenshot");
}
function replace_image(id, url, max_size) {
screenshot = document.getElementById(id);
var div = document.createElement('div');
var a = document.createElement('a');
a.appendChild(document.createTextNode(" here"));
a.href = url;
a.target = "_blank";
div.appendChild(document.createTextNode("The file size of the screenshot has exceeded " + max_size / 1000 + "kB. For a screenshot click "));
div.appendChild(a);
div.appendChild(document.createTextNode("."));
screenshot.parentNode.replaceChild(div, screenshot);
}
-142
View File
@@ -1,142 +0,0 @@
---
layout: default
title: Configuration
nav_order: 5
has_children: false
permalink: /configuration
redirect_from:
- /necessary-configuration
---
# Required configuration
**Mainsail requires a minimum configuration to function properly and will display a warning at startup if the required parts are not found in your configuration file(s).**
{: .warning}
The following configuration elements are mandatory and must be configured for Mainsail to operate correctly:
* [Virtual SD Card](configuration#virtual_sdcard)
* [Display Status](configuration#display_status)
* [Pause / Resume](configuration#pause_resume)
* [GCode Macros](configuration#pause--resume--cancel)
The following configuration elements are optional, including making tweaks and alterations to Klipper's default commands:
* [Custom Commands](configuration#customisation)
## Virtual SD Card
The `Virtual SD Card` allows gcode file uploads.
```yaml
[virtual_sdcard]
path: ~/gcode_files
```
## Display Status
`Display Status` is required for messages in your status panel, if you don't have `[display]` in your configuration.
```yaml
[display_status]
```
## Pause, Resume, Cancel
These macros enable pause and resume in Klipper.
```yaml
[pause_resume]
```
# Macros
## Add pause / resume / cancel functionality
You can modify the below macros to fit your needs.
{% raw %}
```yaml
[gcode_macro PAUSE]
description: Pause the actual running print
rename_existing: PAUSE_BASE
gcode:
##### set defaults #####
{% set x = params.X|default(230) %} #edit to your park position
{% set y = params.Y|default(230) %} #edit to your park position
{% set z = params.Z|default(10)|float %} #edit to your park position
{% set e = params.E|default(1) %} #edit to your retract length
##### calculate save lift position #####
{% set max_z = printer.toolhead.axis_maximum.z|float %}
{% set act_z = printer.toolhead.position.z|float %}
{% set lift_z = z|abs %}
{% if act_z < (max_z - lift_z) %}
{% set z_safe = lift_z %}
{% else %}
{% set z_safe = max_z - act_z %}
{% endif %}
##### end of definitions #####
PAUSE_BASE
G91
{% if printer.extruder.can_extrude|lower == 'true' %}
G1 E-{e} F2100
{% else %}
{action_respond_info("Extruder not hot enough")}
{% endif %}
{% if "xyz" in printer.toolhead.homed_axes %}
G1 Z{z_safe}
G90
G1 X{x} Y{y} F6000
{% else %}
{action_respond_info("Printer not homed")}
{% endif %}
```
```yaml
[gcode_macro RESUME]
description: Resume the actual running print
rename_existing: RESUME_BASE
gcode:
##### set defaults #####
{% set e = params.E|default(1) %} #edit to your retract length
#### get VELOCITY parameter if specified ####
{% if 'VELOCITY' in params|upper %}
{% set get_params = ('VELOCITY=' + params.VELOCITY) %}
{%else %}
{% set get_params = "" %}
{% endif %}
##### end of definitions #####
G91
{% if printer.extruder.can_extrude|lower == 'true' %}
G1 E{e} F2100
{% else %}
{action_respond_info("Extruder not hot enough")}
{% endif %}
RESUME_BASE {get_params}
```
```yaml
[gcode_macro CANCEL_PRINT]
description: Cancel the actual running print
rename_existing: CANCEL_PRINT_BASE
gcode:
TURN_OFF_HEATERS
CANCEL_PRINT_BASE
```
{% endraw %}
# Optional
## Customisation
Klipper has a number of preset commands that are also just macros.
The default configuration of these may not suit your needs or preferences, though they are usually a good place to start. It's possible to adjust these by including them in your config, along with any additional code you would like to run.
## Example
Adjusting the `BED_MESH_CALIBRATE` command, which is found in the menu at Sidebar > Heightmap > Calibrate.
{% raw %}
```yaml
[gcode_macro BED_MESH_CALIBRATE]
rename_existing: BASE_BED_MESH_CALIBRATE
gcode:
#before the original gcode
BED_MESH_CLEAR
QUAD_GANTRY_LEVEL
G1 X125 Y125 Z5 F6000
#the original gcode
BASE_BED_MESH_CALIBRATE
#after the original gcode
```
{% endraw %}
-41
View File
@@ -1,41 +0,0 @@
---
layout: default
title: Credits
nav_order: 100
has_children: false
permalink: /credits
description: >-
Credits for our contributors
---
# {{ page.title }}
{: .no_toc }
<!-- {{ page.description }} -->
We would like acknowledge the valuable contributions that many people and projects have made to Mainsail, especially the following:
- contributors, who help make Mainsail better
- testers, who help find bugs in Mainsail, so they can be quickly fixed
- supporters via Patreon and Ko-fi
We would like to thank the projects Mainsail is built on, especially [Klipper](https://github.com/KevinOConnor/klipper){:target="_blank"}, [Moonraker](https://github.com/Arksine/moonraker){:target="_blank"}, and [MainsailOS](https://github.com/mainsail-crew/MainsailOS/){:target="_blank"}.
**THANK YOU for your continued support.**
- TOC
{:toc}
# Contributors
| contributor | link |
|:--------|:-----|
{% for contributor in site.data.contributors %}{% if contributor.login != "meteyou" and contributor.login != "dependabot[bot]" %}|![]({{ contributor.avatar_url }}){: style="width: 20px; vertical-align: bottom;"} **{{ contributor.login }}**|[{{ contributor.html_url }}]({{ contributor.html_url }}){:target="_blank"}|
{% endif %}{% endfor %}
# Licenses
| project | license | link |
|:--------|:-------:|:-----|
{% for deps in site.data.licenses %}| **{{ deps[0] }}**<br>{{ deps[1].description }} | [{{ deps[1].licenses }}]({{ deps[1].licenseUrl }}){:target="_blank"} | [{{ deps[1].repository }}]({{ deps[1].repository }}){:target="_blank"} |
{% endfor %}
+54
View File
@@ -0,0 +1,54 @@
---
layout: default
title: Custom CSS
parent: Customizing
nav_order: 99
permalink: /customizing/custom-css
---
## Custom-CSS
The custom.css file allows you to customize the appearance of Mainsail
without the need of rebuilding it. All you need to do is to place a file
named "custom.css" into the configuration directory ".theme" and define
your css rules in there.
![file-screenshot](../assets/img/customizing/screenshot-custom-css.png "custom.css file")
![example result](../assets/img/customizing/screenshot-custom-css-example-result.png "custom.css result")
### How to CSS
You need to be familiar with the CSS (**C**ascading **S**tyle **S**heets) syntax.
There are many resources to learn CSS online, for example:
- https://www.w3schools.com/css/default.asp
#### find the Element selector (example based on Chrome Browser)
Use your browser's built-in developer tools to find the right selector of the element you want to add your own flair to.
Open the developer tools:
right click anywhere on the page and select "inspect" (or F12 on the keyboard)
![open dev-tools](../assets/img/customizing/screenshot-custom-css-inspect.png "open dev-tools")
1. Activate the "inspector"
2. Select the desired element
3. Find the selector
4. Use the style editor and fiddle arround
![find element](../assets/img/customizing/screenshot-custom-css-find-element.png "find the right element")
![fiddle](../assets/img/customizing/screenshot-custom-css-fiddle.png "fiddle")
When you have achieved your desired appearance copy the full "section" including selector and curly braces
![fiddle 2](../assets/img/customizing/screenshot-custom-css-fiddle-2.png "fiddle 2")
Then copy it to the "custom.css" file (you can keep everything or only what you have added)
![example](../assets/img/customizing/screenshot-custom-css-example.png "custom.css example")
NOTE: After saving, your browser may need a uncached reload to show the change (https://en.wikipedia.org/wiki/Wikipedia:Bypass_your_cache#Bypassing_cache)
+15
View File
@@ -0,0 +1,15 @@
---
layout: default
title: Favicons
parent: Customizing
nav_order: 3
permalink: /customizing/favicons
---
## Custom favicon
Upload the images with the name "favicon-16x16.png" and "favicon-32x32.png"
to the .theme folder. Allowed extension is only .png. The "favicon-32x32.png"
is required. The "favicon-16x16.png" is optional. Maybe a hard refresh is
necessary (CTRL+SHIFT+F5 on windows or CMD+SHIFT+R on mac).
![screenshot](../assets/img/customizing/screenshot-favicons.png)
+22
View File
@@ -0,0 +1,22 @@
---
layout: default
title: Customizing
nav_order: 6
has_children: true
permalink: /customizing
---
# Customizing
Feel free to customize Mainsail to your preferences. At the moment there
are not many possibilities, but i will expand them continuously. If some features
are not yet listed below, please create a FR (feature request) on Github.
### currently supported functions
- [change sidebar logo](sidebar.md)
- [change sidebar background](sidebar.md)
- [change favicon](favicon.md)
- [upload custom.css](custom-css.md)
### cooming soon
- change primary color (all blue buttons atm)
+16
View File
@@ -0,0 +1,16 @@
---
layout: default
title: Prepare
parent: Customizing
nav_order: 1
permalink: /customizing/prepare
---
## Prepare theme
To prepare mainsail to use themes, you only have to create the ".theme" directory. Go into
"Settings" > "Machine" and check if you have enabled "Hidden files". Then you can create a
directory with the name ".theme". Important is the "." on the beginning. All further customizing
files, will be placed in this directory.
![screenshot](../assets/img/customizing/screenshot-display-hidden-files.png)
+22
View File
@@ -0,0 +1,22 @@
---
layout: default
title: Sidebar
parent: Customizing
nav_order: 2
permalink: /customizing/sidebar
---
## Sidebar customizing
### Change sidebar logo
Upload an image with the name "sidebar-logo" to the .theme folder.
Allowed file extensions for the image are: .svg, .jpg, .png and .gif.
![screenshot](../assets/img/customizing/screenshot-sidebar-logo.png)
### Change sidebar background image
Upload an image with the name "sidebar-background" to the .theme folder.
Allowed file extensions for the image are: .jpg, .png and .gif. The
recommended image size is 300x1000px.
![screenshot](../assets/img/customizing/screenshot-sidebar-background.png)
-42
View File
@@ -1,42 +0,0 @@
---
layout: default
title: Data Privacy
nav_order: 99
has_children: false
permalink: /data-privacy
has_toc: false
---
# Data Privacy
Mainsail understands the need for data privacy and it has been designed to only run in your browser locally.
The following table applies to Mainsail when installed locally or accessed remotely at [my.mainsail.xyz](http://my.mainsail.xyz).
| YES | NO |
| :--------------: | :---------------: |
| Store static files in browser storage (.html, .js, .css) | ‘Telemetry’ |
| Communicate directly with your printer via the Moonraker API | Send or transfer any data externally |
## Will my data be safe if I use the hosted version?
Accessing [my.mainsail.xyz](http://my.mainsail.xyz) stores the .html, .js and .css files for Mainsail locally in your brower's storage in exactly the same way that an instance running on your local hardware would do. There is no functional difference or concerns between accessing Mainsail locally or in a remotely public hosted instance.
Running Mainsail both locally and remotely in parallel is also possible.
# Third party software
Mainsail does not modify any third party packages and does not control Data Privacy for any third party packages you choose to install.
If you are concerned, please review the privacy policies for the following third party software:
* [RaspberryOS](https://www.raspberrypi.org/privacy/)
* Klipper
* Moonraker
Please contact the developers of any of the above software if you have any concerns.
It is worth noting that Klipper, Moonraker and RaspberryOS are open source software. This does not bring a guarantee of privacy and security, but the source code is available and open to peer review.
{: .info}
The Raspberry Foundation is a registered charity in the United Kingdom with extensive Privacy and Safeguarding policies.
{: .info}
-46
View File
@@ -1,46 +0,0 @@
---
layout: default
title: Docker
parent: Development
has_children: false
permalink: /development/docker
description: >-
Setup docker and docker-compose for quick full stack mainsail development with simulavr without any real printer
---
# {{ page.title }}
{{ page.description }}
## Setup
Install docker and docker-compose on your desired machine.
### Debian/Ubuntu
```shell
sudo apt install docker docker-compose
```
### Mac
https://docs.docker.com/docker-for-mac/install/
### Windows
https://docs.docker.com/docker-for-windows/install/
## Start
1. Look into the docker/config folder. Copy the ".example" without the "example ending".
2. Edit the configs to your likings. They are inital setup for a minimal setup environment with simulavr.
3. In the root directory of mainsail run
```shell
docker/run up
```
## Development
### Commands
```shell
docker/run ps # showing running containers
docker/run restart <api/npm> # restarting container
# api: restarting complete api container with simulavr/moonraker/klipper services,
# npm: restarting nodejs container with running 'npm run serve'
docker/run bash <api/npm> # spawning bash shell inside container
```
Restarting the api container will happen a lot, because simulavr WILL crash a lot! Timings within simulavr are not precise and klipper will bug alot about that.
## Todo
1. The current implementation of simulavr/moonraker/klipper is kinda naiv, because docker wont run with systemd.
I will fix that in later versions of the docker container, so you can restart specific containers and omit simulavr and bind a real connected printer for example.
-11
View File
@@ -1,11 +0,0 @@
---
layout: default
title: Development
nav_order: 15
has_children: true
permalink: /development
description: development guide
---
# {{ page.title }}
{{ page.description }}
-40
View File
@@ -1,40 +0,0 @@
---
layout: default
title: Localization
parent: Development
has_children: false
permalink: /development/localization
description: >-
Mainsail uses [vue-i18n](https://kazupon.github.io/vue-i18n/) for its localization.
All Locales can be found in the `/src/locales` directory in JSON format.
---
# {{ page.title }}
{{ page.description }}
## How to contribute
You can contribute in a couple of different ways:
1. Create/Update translations using an i18n translation tool.<br />
(For Example: [BabelEdit](https://www.codeandweb.com/babeledit), [i18N-Manager](https://www.electronjs.org/apps/i18n-manager))
2. Create/Update translations using [VSCode](https://code.visualstudio.com/) and [i18n Ally](https://github.com/lokalise/i18n-ally).
If you have a finished translation file, you can make a [PR (pull request)](https://github.com/mainsail-crew/mainsail/pulls)
on github or create an [issue](https://github.com/mainsail-crew/mainsail/issues) on github and attach the translation.
## Testing
### Test your translations live
You can follow [this guide](https://docs.mainsail.xyz/development/standalone)
to start Mainsail in a "Debug Mode" and check your translation live. Alternatively
you can also use a docker container, instructions can be found
[here](https://docs.mainsail.xyz/development/docker).
### Check the translation with vue-i18n-extract
Mainsail comes with [vue-i18n-extract](https://github.com/pixari/vue-i18n-extract) in the dev dependency,
with this tool, you can check your translation for missing or unused entries.
```shell
npm install # only once and if you updated/installed packages
npm run i18n-extract # starting i18n-extract to check all translation files
```
-51
View File
@@ -1,51 +0,0 @@
---
layout: default
title: Standalone
parent: Development
has_children: false
permalink: /development/standalone
description: >-
Setup the project and start developing with your local printer(s)
---
# {{ page.title }}
{{ page.description }}
## Setup
Make a copy of the `.env.development.local.example` and omit the .example.
In the new file edit it to reflect your desired printer:
```dotenv
#for your printer with moonraker running on 192.168.0.15
VUE_APP_HOSTNAME=192.168.0.15
```
In moonraker you need to add your local ip at the cors_domains:
```yaml
cors_domains:
http://<your local ip>:<local port>
```
access the local running dev environment with `http://<your local ip>:<local port>`.
(for example: `http://localhost:8080`)
### Prepare nodejs using nvm
POSIX-compliant shell (sh, dash, ksh, zsh, bash)
unix, macOS, and windows WSL
```shell
wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash
nvm install node
```
make sure you run node >=15.9.0
```shell
node -v
```
#### Troubleshoot
follow this guide if you encouter problems with nvm
https://github.com/nvm-sh/nvm#troubleshooting-on-linux
## Start
```shell
npm install # only once and if you updated/installed packages
npm run serve # starting current build with hot module reloading
```
-13
View File
@@ -1,13 +0,0 @@
---
layout: default
title: FAQ
nav_order: 110
has_children: true
permalink: /faq/
has_toc: false
---
# Frequently Askes Questions
We are still gathering some "frequently asked questions" and will publish them here soon.
The primary reason why this section already exists, is because of the Klipper warnings in the subcategory, that needed to be fixed fast.
@@ -1,48 +0,0 @@
---
layout: default
title: Command format mismatch
parent: Klipper Errors
grand_parent: FAQ
nav_order: 10
has_children: false
permalink: /faq/klipper_errors/command_format_mismatch
has_toc: false
description: >-
You have updated Klipper and now you get this cryptic error message? We would like to help...
---
# Klipper Error - Command format mismatch
You have updated Klipper and now you get this cryptic error message?
![Command format mismatch](../../assets/img/faq/errors/mcu_error.png)
This is an error and needs to be fixed to make Mainsail and Klipper work again.
{: .info}
## TL;DR
Klipper on your host and on your MCU have different versions.
Recompile and flash your MCUs and it will work again. Please also pay attention to the "Linux MCU", if you had e.g. an adxl345 in use.
The following links should help you to solve the problem:
[Klipper SD-Card Updates](https://www.klipper3d.org/SDCard_Updates.html){:target="_blank"}
[Klipper Building and flashing the micro-controller](https://www.klipper3d.org/Installation.html#building-and-flashing-the-micro-controller){:target="_blank"}
## More detailed
Klipper consists of two parts:
The software on your host (e.g. Raspberry Pi) and the firmware on your microcontroller (MCU).
Under normal circumstances, Klipper (on your host) can simply be updated from Mainsail without any problems and everything will work as expected.
From time to time it happens that there are changes in Klipper that make it necessary to update all your MCUs. Assuming you have run a Klipper update and Klipper on your host now supports commands that your MCUs does not understand. Then you will get the above error message.
Fortunately, these kind of updates don't happen very often, but now it has happened to you. ;-)
In order to solve the problem, you need to update all your MCUs. We are talking about multiple MCUs here, as people tend to forget that they have multiple microcontrollers in use. One of these candidates is the "Linux MCU" that many people install on their Raspberry Pi to measure resonances with an adxl345.
Detailed information on how to update the firmware can be found in the Klipper Documentation linked above (under TL;DR).
As far as we know, work is in progress to let Klipper update the firmware on its own.
{: .info}
-9
View File
@@ -1,9 +0,0 @@
---
layout: default
title: Klipper Errors
parent: FAQ
nav_order: 50
has_children: true
permalink: /faq/klipper_errors
has_toc: false
---
@@ -1,95 +0,0 @@
---
layout: default
title: Deprecated Options
parent: Klipper Warnings
grand_parent: FAQ
nav_order: 20
has_children: false
permalink: /faq/klipper_warnings/deprecated_option
has_toc: false
---
# Deprecated Options
###### default_parameter
## Removal of `default_parameter_` for gcode macros.
In the past, default parameters for gcode macros were defined like so:
```yaml
[gcode_macro PRINT_START]
default_parameter_EXTRUDER: 230
gcode:
...
```
This would define a macro called `PRINT_START` that can be called with an `EXTRUDER` parameter like so: `PRINT_START EXTRUDER=200`. If no value is passed for `EXTRUDER` the default value of 230 is used. This style of default parameters has been deprecated. Instead, define your macro like so:
{% raw %}
```yaml
[gcode_macro PRINT_START]
gcode:
{% set EXTRUDER_TEMP = params.EXTRUDER|default(230)|int %}
```
{% endraw %}
Take note of the following important aspects:
- Parameters passed to gcode macros are stored in the `params` object. So if your macro is called with `VALUE=50`, `params.VALUE` will contain the value 50. After the deprecation, only the `params` object will contain these values.
- Make sure to name your "set variable" something else as the name of the variable in the `params` object (see how I used `EXTRUDER_TEMP` for the "set variable" and `EXTRUDER` for the actual macro parameter above) to avoid confusion and possible parsing errors.
- If you want to pass a default, add `|default(<default value>)` to the end of the params variable (see above, where my default value is 10).
- To ensure that `EXTRUDER_TEMP` will have an integer value, add `|int` to the end of the command, to turn passed parameters (if they exist) and the default into an integer. Depending on what kind of parameter you're passing, there are `|int` `|float` `|bool` or `|string` converters available. Make sure that you convert to int if you want to compare the values in your gcode macro.
The above description was provided by our community member [FHeilmann](https://github.com/FHeilmann){:target="_blank"} and we have his permission to publish it here. Thanks a lot!
[Source](https://gist.github.com/FHeilmann/a8097b3e908e85de7255bbe6246ddfd5){:target="_blank"}.
{: .info}
###### step_distance
## Removal of `step_distance`
`step_distance` describes the distance covered by a certain axis with 1 stepper (micro-)step. The downside of this parameter (and one of the reasons for its removal, is that if one were to change the microstepping of a stepper, the step_distance changes as well. Klipper therefore removed the `step_distance` parameter in favor of `rotation_distance` and `full_steps_per_rotation`. These two parameters are unaffected by microstepping, and can be easily determined by inspecting the used hardware.
Perform the following steps to convert your config:
- comment out the old `step_distance` parameter
- add three new parameters:
- `full_steps_per_rotation` this is 400 for 0.9 degree stepper motors and 200 for 1.8 degree stepper motors.
- `rotation_distance` this can be determined either according to hardware, or by converting the old `step_distance` using math.
- `gear_ratio` can additionally be used to describe an axis that uses a reduction gear (like the Voron-2 Z axis)
- The easiest way to obtain the correct values for `rotation_distance` and `gear_ratio` is to check the official Voron printer github repositories. All example configs have been updated to include the correct values for the new parameters. Keep in mind that you'll still have to calibrate your extruder steps/mm if you choose to copy the values for the extruder. Instructions on how to convert and recalibrate the extruder values can be found [here](https://github.com/Klipper3d/klipper/blob/master/docs/Rotation_Distance.md#extruder).
- The formulas to convert `step_distance` to `rotation distance` can be found [here](https://github.com/Klipper3d/klipper/blob/master/docs/Rotation_Distance.md#obtaining-rotation_distance-from-steps_per_mm-or-step_distance)
- Guidance on how to inspect your hardware to determine your conversion distance can be found [here](https://github.com/Klipper3d/klipper/blob/master/docs/Rotation_Distance.md#obtaining-rotation_distance-by-inspecting-the-hardware). Make sure to also consider any reduction gearing, if applicable, by checking [this section](https://github.com/Klipper3d/klipper/blob/master/docs/Rotation_Distance.md#using-a-gear_ratio) as well.
- For every stepper, except your extruder, you should end up with even numbers (e.g. 40 instead of 39.9683).
The above description was provided by our community member [FHeilmann](https://github.com/FHeilmann){:target="_blank"} and we have his permission to publish it here. Thanks a lot!
[Source](https://gist.github.com/FHeilmann/a8097b3e908e85de7255bbe6246ddfd5){:target="_blank"}.
{: .info}
###### pin_map
## Removal of `pin_map`
For Voron printers, this is only relevant if you're running an arduino based controller board and use pins named similar to `ar19` etc. These pin declarations are no longer valid and need to be replaced with their hardware pin identifiers. To find the appropriate hardware pin identifier perform a google image search for your board plus `pinout`. E.g.:
`arduino mega 2560 pinout`
which will yield images such as this one:
![image](https://user-images.githubusercontent.com/4352664/138724260-5813281d-d62d-4b0c-87ee-1f64d301c15f.png)
There, find the pin you're trying to replace. The old pin maps use the digital number of the pin. For example, if your old pin was `ar10`, looking at the image you will find that the `D10` pin corresponds to `PB4`. Replace all pins in your config accordingly, and finally remove the `pin_map:` configuration parameter from your `mcu` section.
Alternatively, you can copy an appropriate `[board_pins]` block from [this location](https://github.com/Klipper3d/klipper/blob/master/config/sample-aliases.cfg) to your config. If you're using multiple arduinos, make sure to add the appropriate mcu to each block like so:
```yaml
[board_pins arduino-mega]
mcu: mcu
```
The above description was provided by our community member [FHeilmann](https://github.com/FHeilmann){:target="_blank"} and we have his permission to publish it here. Thanks a lot!
[Source](https://gist.github.com/FHeilmann/a8097b3e908e85de7255bbe6246ddfd5){:target="_blank"}.
{: .info}
###### pid_integral_max
## Removal of `pid_integral_max`
Remove any instances of `pid_integral_max` from your config.
The above description was provided by our community member [FHeilmann](https://github.com/FHeilmann){:target="_blank"} and we have his permission to publish it here. Thanks a lot!
[Source](https://gist.github.com/FHeilmann/a8097b3e908e85de7255bbe6246ddfd5){:target="_blank"}.
{: .info}
@@ -1,33 +0,0 @@
---
layout: default
title: Deprecated Values
parent: Klipper Warnings
grand_parent: FAQ
nav_order: 10
has_children: false
permalink: /faq/klipper_warnings/deprecated_value
has_toc: false
---
# Deprecated Values
###### NTC 100K beta 3950
## Removal of `NTC 100K beta 3950` sensor type.
The "NTC 100K beta 3950" temperature sensor is _deprecated_ and will be removed in the near future.
In order to solve the problem search in your config for `sensor_type: NTC 100K beta 3950` and replace it with `sensor_type: Generic 3950`.
Most users will find the "Generic 3950" temperature sensor more accurate. Anyway you can continue to use the older (typically less accurate) definition. Therefor define a custom thermistor with `temperature1: 25`, `resistance1: 100000`, and `beta: 3950`.
[Source](https://www.klipper3d.org/Config_Changes.html){:target="_blank"} Klipper Configuration Changes
{: .info}
###### rpi_temperature
## Removal of `rpi_temperature` sensor alias.
Replace `sensor_type: rpi_temperature` by `sensor_type: temperature_host` everywhere in your config.
The above description was provided by our community member [FHeilmann](https://github.com/FHeilmann){:target="_blank"} and we have his permission to publish it here. Thanks a lot!
[Source](https://gist.github.com/FHeilmann/a8097b3e908e85de7255bbe6246ddfd5){:target="_blank"}.
{: .info}
-9
View File
@@ -1,9 +0,0 @@
---
layout: default
title: Klipper Warnings
parent: FAQ
nav_order: 10
has_children: true
permalink: /faq/klipper_warnings
has_toc: false
---
BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 93 KiB

+8 -37
View File
@@ -5,48 +5,19 @@ nav_order: 1
has_children: false
---
# Welcome to Mainsail!
Mainsail makes Klipper more accessible by adding a lightweight, responsive web user interface, centred around an intuitive and consistent design philosophy.
{: .fs-5 }
# Welcome to the Mainsail docs!
[Getting Started](/setup){: .btn .btn-primary }
[GitHub](https://github.com/mainsail-crew/mainsail){: .btn}{:target="_blank"}
[Release Notes](https://github.com/mainsail-crew/mainsail/releases){: .btn}{:target="_blank"}
Mainsail is a lightweight & responsive web interface for the Klipper 3D printer firmware. It communicates with Moonraker (Klipper-API) from Arksine.
## Screenshots
![Dashboard](assets/img/screenshot.png)
[Setup Guide](/setup){: .btn}
[Release Notes](https://github.com/meteyou/mainsail/releases){: .btn}{:target="_blank"}
## Features
- Responsive web interface, optimized for desktops, tablets and mobile devices
- Supports multiple 3D printers (Printer Farm)
- Localization (i18n)
- File Manager (G-Code and config files)
- File Editor (G-Code and config files)
- Print History and Statistics
- Job Queue
- Temperature Presets (with custom gcode)
- Bed Mesh visualisation
- G-Code Viewer
- Multi-Webcam support
- Timelapse integration
- Control power devices such as relays, TPLink and Tasmota devices, and more
- Powerful Macro-Management
- Configurable dashboard
- Customizable user interface including logos, backgrounds, and custom CSS
- Exclude objects (not yet officially supported by Klipper)
## Help and Support
Do you need help or just want to talk? Join our active community on Discord.
Have you found a bug? Please create an Issue in GitHub and let us know.
For support join us on Discord, or open an issue on Github.
[Discord](https://discord.gg/skWTwTD){: .btn}{:target="_blank"}
[GitHub Issues](https://github.com/mainsail-crew/mainsail/issues){: .btn}{:target="_blank"}
[Github](https://github.com/meteyou/mainsail){: .btn}{:target="_blank"}
## Support Mainsail
Mainsail is primarily developed and maintained by `meteyou`. To keep the project going he invests his free time, almost every day. To motivate him (☕🍺😜) there are several ways to support him:
- [Patreon (recurring)](https://patreon.com/meteyou){:target="_blank"}
- [Ko-Fi (one-time)](https://ko-fi.com/mainsail){:target="_blank"}
Please also support all of our maintainers and contributors.
{: .info}
## Screenshots
![Dashboard](assets/img/screenshot.png)
+89
View File
@@ -0,0 +1,89 @@
---
layout: default
title: Necessary Configuration
nav_order: 5
has_children: false
permalink: /necessary-configuration
---
Mainsail requires a minimum configuration to function properly. It should give you a warning at startup if the required parts are not found in your configuration.
## Required configuration
### virtual_sdcard
This allows gcode file uploads.
```yaml
[virtual_sdcard]
path: ~/gcode_files
```
### display_status
This is required for messages in your status panel, if you don't have a `[display]` in your configuration.
```yaml
[display_status]
```
### pause / resume / cancel
This enables pause / resume in mainsail.
```yaml
[pause_resume]
```
## Macros
### for pause /resume / cancel functionality
These should be modified to your own needs.
```yaml
[gcode_macro PAUSE]
rename_existing: BASE_PAUSE
default_parameter_X: 230 #edit to your park position
default_parameter_Y: 230 #edit to your park position
default_parameter_Z: 10 #edit to your park position
default_parameter_E: 1 #edit to your retract length
gcode:
SAVE_GCODE_STATE NAME=PAUSE_state
BASE_PAUSE
G91
G1 E-{E} F2100
G1 Z{Z}
G90
G1 X{X} Y{Y} F6000
```
```yaml
[gcode_macro RESUME]
rename_existing: BASE_RESUME
default_parameter_E: 1 #edit to your retract length
gcode:
G91
G1 E{E} F2100
G90
RESTORE_GCODE_STATE NAME=PAUSE_state MOVE=1
BASE_RESUME
```
```yaml
[gcode_macro CANCEL_PRINT]
rename_existing: BASE_CANCEL_PRINT
gcode:
TURN_OFF_HEATERS
CLEAR_PAUSE
SDCARD_RESET_FILE
BASE_CANCEL_PRINT
```
## Optional
### customize klipper default commands
for example, if you want to adjust the `BED_MESH_CALIBRATE` command, which you can run from "heightmap > calibrate".
```yaml
[gcode_macro BED_MESH_CALIBRATE]
rename_existing: BASE_BED_MESH_CALIBRATE
gcode:
#before the original gcode
BED_MESH_CLEAR
QUAD_GANTRY_LEVEL
G1 X125 Y125 Z5 F6000
#the original gcode
BASE_BED_MESH_CALIBRATE
#after the original gcode
```
-123
View File
@@ -1,123 +0,0 @@
---
layout: default
title: Necessary Configuration
nav_exclude: true
has_children: false
permalink: /necessary-configuration
---
Mainsail requires a minimum configuration to function properly. It should give you a warning at startup if the required parts are not found in your configuration.
# Required configuration
## virtual_sdcard
This allows gcode file uploads.
```yaml
[virtual_sdcard]
path: ~/gcode_files
```
## display_status
This is required for messages in your status panel, if you don't have a `[display]` in your configuration.
```yaml
[display_status]
```
## pause / resume / cancel
This enables pause / resume in mainsail.
```yaml
[pause_resume]
```
# Macros
## for pause / resume / cancel functionality
These should be modified to your own needs.
{% raw %}
```yaml
[gcode_macro PAUSE]
description: Pause the actual running print
rename_existing: PAUSE_BASE
gcode:
##### set defaults #####
{% set x = params.X|default(230) %} #edit to your park position
{% set y = params.Y|default(230) %} #edit to your park position
{% set z = params.Z|default(10)|float %} #edit to your park position
{% set e = params.E|default(1) %} #edit to your retract length
##### calculate save lift position #####
{% set max_z = printer.toolhead.axis_maximum.z|float %}
{% set act_z = printer.toolhead.position.z|float %}
{% set lift_z = z|abs %}
{% if act_z < (max_z - lift_z) %}
{% set z_safe = lift_z %}
{% else %}
{% set z_safe = max_z - act_z %}
{% endif %}
##### end of definitions #####
PAUSE_BASE
G91
{% if printer.extruder.can_extrude|lower == 'true' %}
G1 E-{e} F2100
{% else %}
{action_respond_info("Extruder not hot enough")}
{% endif %}
{% if "xyz" in printer.toolhead.homed_axes %}
G1 Z{z_safe}
G90
G1 X{x} Y{y} F6000
{% else %}
{action_respond_info("Printer not homed")}
{% endif %}
```
```yaml
[gcode_macro RESUME]
description: Resume the actual running print
rename_existing: RESUME_BASE
gcode:
##### set defaults #####
{% set e = params.E|default(1) %} #edit to your retract length
#### get VELOCITY parameter if specified ####
{% if 'VELOCITY' in params|upper %}
{% set get_params = ('VELOCITY=' + params.VELOCITY) %}
{%else %}
{% set get_params = "" %}
{% endif %}
##### end of definitions #####
G91
{% if printer.extruder.can_extrude|lower == 'true' %}
G1 E{e} F2100
{% else %}
{action_respond_info("Extruder not hot enough")}
{% endif %}
RESUME_BASE {get_params}
```
```yaml
[gcode_macro CANCEL_PRINT]
description: Cancel the actual running print
rename_existing: CANCEL_PRINT_BASE
gcode:
TURN_OFF_HEATERS
CANCEL_PRINT_BASE
```
{% endraw %}
# Optional
## customize klipper default commands
for example, if you want to adjust the `BED_MESH_CALIBRATE` command, which you can run from "heightmap > calibrate".
{% raw %}
```yaml
[gcode_macro BED_MESH_CALIBRATE]
rename_existing: BASE_BED_MESH_CALIBRATE
gcode:
#before the original gcode
BED_MESH_CLEAR
QUAD_GANTRY_LEVEL
G1 X125 Y125 Z5 F6000
#the original gcode
BASE_BED_MESH_CALIBRATE
#after the original gcode
```
{% endraw %}
-44
View File
@@ -1,44 +0,0 @@
---
layout: default
title: Preview
nav_exclude: true
permalink: /preview
description: >-
We would like to give you a little sneak peak on the next big thing.
---
# Sneak Peak
Some users have asked which new features are planned for Mainsail 2.0. So we would like to give you a little sneak peak.
# Ground breaking changes
We have completely rethought the system of Mainsail and MainsailOS and will further bring the OS aspect to the focus. This will include a **complete design overhaul** to integrate **the all new help assistant**.
Due to the major changes we will probably jump directly to **Mainsail 2000** instead of 2.0.
![logo](/assets/img/preview/logo2k.png){: style="display: block; margin-left: auto; margin-right: auto; width: 50%;"}
# New UI
- Works especially well on small displays. For example, with a resolution of 800x600 pixels.
- Dark theme was tossed overboard. This provides new possibilities in design.
- The new menu arrangement is especially targeted at mobile devices and short thumbs.
![logo](/assets/img/preview/Mainsail2k.png)
![logo](/assets/img/preview/menu2k.gif)
# Easy to customize
Throw your own wallpaper in the folder and you are ready to go.
![logo](/assets/img/preview/Wallpaper2k.png)
# Clippy, our Smart Assistant
Mainsails new smart assistant *Clippy* is always there to help and advise.
![logo](/assets/img/preview/Clippy2k.gif)
He may be receiving support from *Wizard* in the near future, who could help you with your printing problems.
![logo](/assets/img/preview/Merlin2k.png)
+4 -4
View File
@@ -5,7 +5,7 @@ parent: Quicktips
has_children: false
permalink: /quicktips/additional-sensors
description: >-
You can integrate additional sensors [supported by Klipper](https://www.klipper3d.org/Config_Reference.html#temperature-sensors) into the temperature graph in Mainsail.
Integrate additional sensors into the temperature graph. For example Raspberry Pi, MCU, BMExxx, HTU21D, LM75 and more..
---
# {{ page.title }}
@@ -13,18 +13,18 @@ description: >-
## Raspberry Pi temperature sensor
Append the following section to your `printer.cfg`:
Append the following section to your printer.cfg:
```yaml
[temperature_sensor raspberry_pi]
sensor_type: temperature_host
sensor_type: rpi_temperature
min_temp: 10
max_temp: 100
```
## ATSAM, ATAMD, and STM32 temperature sensor
Append the following section to your `printer.cfg`:
Append the following section to your printer.cfg:
```yaml
[temperature_sensor mcu_temp]
+5 -5
View File
@@ -5,22 +5,22 @@ parent: Quicktips
has_children: false
permalink: /quicktips/console-shortcuts
description: >-
Keyboard shortcuts are available for those who prefer shortcuts.
Similar to a terminal of your OS, there are some keyboard shortcuts in Mainsail that make your everyday life easier.
---
# {{ page.title }}
{{ page.description }}
## List of Commands
## Help command
Issue a `HELP` command in the console to get a list of all available commands.
Issue a `HELP` command to get a list of possible commands.
## Autocomplete
You can start typing a command and then complete it with the Tab key. If there are several possibilities, a list of choices will be displayed.
You can start typing a command and then complete it with the tab-key. If there are several possibilities, you will get a list of choices.
![](../assets/img/quicktips/console-shortcuts/tab_complete.gif)
## Scroll through commands
Use the &uarr; up and &darr; down arrow keys to scroll through previously used commands in the console.
Using the &uarr; up / &darr; down arrow keys you can scroll through previous commands.
Loaded 100 of 488 files, more files were not shown because too many files have changed in this diff. Show more