diff --git a/docs/configurations/necessary-cfg.md b/docs/configurations/necessary-cfg.md index a8ad0a88..c659f88a 100644 --- a/docs/configurations/necessary-cfg.md +++ b/docs/configurations/necessary-cfg.md @@ -11,7 +11,7 @@ permalink: /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: +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) @@ -22,28 +22,28 @@ The following configuration elements are optional, including making tweaks and a * [Custom Commands](configuration#customisation) ## Virtual SD Card -This allows gcode file uploads. +The `Virtual SD Card` 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. +`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 -This enables pause / resume in mainsail. +These macros enable pause and resume in Klipper. ```yaml [pause_resume] ``` # Macros -## for pause / resume / cancel functionality -These should be modified to your own needs. +## Add pause / resume / cancel functionality +You can modify the below macros to fit your needs. {% raw %} ```yaml [gcode_macro PAUSE] @@ -118,12 +118,12 @@ gcode: # Optional ## Customisation -Klipper has many canned/preset commands that are themselves just macros. +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 whatever code you would like to run. +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 can be run from the Sidebar > Heightmap > Calibrate. +Adjusting the `BED_MESH_CALIBRATE` command, which is found in the menu at Sidebar > Heightmap > Calibrate. {% raw %} ```yaml [gcode_macro BED_MESH_CALIBRATE] diff --git a/docs/index.md b/docs/index.md index b4c07afa..bb4ddaaa 100644 --- a/docs/index.md +++ b/docs/index.md @@ -6,7 +6,7 @@ has_children: false --- # Welcome to Mainsail! -Mainsail aims to make Klipper more accessible to end users through a lightweight, responsive web ui, centred around an intuitive and consistent design philsophy. +Mainsail makes Klipper more accessible by adding a lightweight, responsive web user interface, centred around an intuitive and consistent design philosophy.. {: .fs-5 } [Getting Started](/setup){: .btn .btn-primary } @@ -17,30 +17,30 @@ Mainsail aims to make Klipper more accessible to end users through a lightweight ![Dashboard](assets/img/screenshot.png) ## Features -- Optimized for desktops, tablets and mobile devices +- 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 / Stats +- Print History and Statistics - Temperature Presets (with custom gcode) - Bed Mesh Leveling - Multi-Webcam support -- Control power devices (relays, TPLink, Tasmota, ..) -- Customizable UI (logos, backgrounds & even custom css) +- Control power devices such as relays, TPLink and Tasmota devices, and more +- Customizable user interface including logos, backgrounds, and custom CSS -## Get support & assistance -Do you need help or just want to talk? Join us on discord. We have a very active community. -Have you found a bug? Then we would like you to create an Issue on GitHub. +## 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. [Discord](https://discord.gg/skWTwTD){: .btn}{:target="_blank"} [GitHub Issues](https://github.com/mainsail-crew/mainsail/issues){: .btn}{:target="_blank"} -## Support this project -The project 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 the project. +## 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"} -However, we would also like to ask you to support the regular contributors. +Please also support all of our maintainers and contributors. {: .info} diff --git a/docs/setup-guide/index.md b/docs/setup-guide/index.md index 9780821b..8fd41cc5 100644 --- a/docs/setup-guide/index.md +++ b/docs/setup-guide/index.md @@ -9,18 +9,17 @@ has_toc: false # Setup Guides ## Local installation -Decide which route you want to follow for the installation. There are several ways to install Mainsail on a Raspberry Pi: +You will need to choose which way you want to install Mainsail on a Raspberry Pi: - [MainsailOS](mainsail-os.md) recommended - A prebuilt image for your Raspberry Pi. Flash it and you are almost ready to go. + A prebuilt image for your Raspberry Pi. Preconfigured and requires the least amount of setup. - [KIAUH](kiauh.md) - _Klipper Installation And Update Helper_ - A script toolbox to install and keep Klipper, Moonraker and Mainsail up to date. It contains many additional features and is the way to go for multiprinter setups. + A script toolbox to install and update Klipper, Moonraker and Mainsail. KIAUH contains additional features and is recommended for multi-printer setups. - [Manual Setup](manual-setup/index.md) - The rocky road. If you want to know how everything is set up by hand, you will get all the information here. + The rocky road for the daring. For those who want to know how everything is set up manually. ## Hosted -Setup [remote access](../quicktips/remote-access) without installing/configuring a web server! -{: .info} +You an also setup [remote access](../quicktips/remote-access) without installing or configuring a web server. -A hosted instance of Mainsail can be found and used at [my.mainsail.xyz](http://my.mainsail.xyz), check out the [documentation](mainsail-hosted) for usage and configuration. +You can test and review a hosted version of Mainsail at [my.mainsail.xyz](http://my.mainsail.xyz). Please read the [documentation](mainsail-hosted) for usage and configuration. diff --git a/docs/setup-guide/kiauh.md b/docs/setup-guide/kiauh.md index a1a3de7f..eafa6756 100644 --- a/docs/setup-guide/kiauh.md +++ b/docs/setup-guide/kiauh.md @@ -8,8 +8,8 @@ permalink: /setup/kiauh --- # Installing Mainsail with KIAUH -[KIAUH](https://github.com/th33xitus/kiauh) is a handy tool that helps you install or upgrade Klipper, Moonraker, Mainsail and various other extensions easily and comfortably. +[KIAUH](https://github.com/th33xitus/kiauh) is a tool that helps you install or upgrade Klipper, Moonraker, Mainsail, and other extensions. ![](../assets/img/setup/kiauh.png) -For more information and get to the guide click [here](https://github.com/th33xitus/kiauh). \ No newline at end of file +You can visit [KIAUH on GitHub](https://github.com/th33xitus/kiauh) to learn more and view its documentation. \ No newline at end of file diff --git a/docs/setup-guide/mainsail-hosted.md b/docs/setup-guide/mainsail-hosted.md index beaa5cfa..1d84d3e9 100644 --- a/docs/setup-guide/mainsail-hosted.md +++ b/docs/setup-guide/mainsail-hosted.md @@ -13,25 +13,22 @@ permalink: /setup/mainsail-hosted Mainsail and MainsailOS respect [Data Privacy](../data-privacy). {: .info} -The hosted version of mainsail can be used: - -* On the same (local) network as your printer. -* On a remote (different) network to your printer (requires the configuration of [remote access](../quicktips/remote-access)). +The hosted version of Mainsail can be used on the same local network with your printer or on a different remote to network and requires you to setup [remote access](../quicktips/remote-access). ## Requirements -- MainsailOS and KIAUH are preconfigured to meet the requirements for the hosted service to work. -- If you have a manual installation, then the following requirements must be met: - * Klipper must be installed. - * Moonraker must be installed. - * my.mainsail.xyz must be configured as a CORS domain in moonraker.conf. +- MainsailOS and KIAUH are preconfigured to meet the requirements for the hosted service. +- If you have a manual installation, the following requirements must be met: + * Klipper + * Moonraker + * `my.mainsail.xyz` must be configured as a CORS domain in `moonraker.conf`. -## Editing moonraker.conf +### Editing moonraker.conf for remote access -Further information can be found in the Moonraker [documentation](https://moonraker.readthedocs.io/en/latest/configuration/#authorization) +You can learn more about editing Moonraker's authorization [configuration documentation here.](https://moonraker.readthedocs.io/en/latest/configuration/#authorization) {: .info} -To allow [my.mainsail.xyz](http://my.mainsail.xyz) to access your local installation, navigate to moonraker.conf open it and add the following code: +To configure [my.mainsail.xyz](http://my.mainsail.xyz) for access with your local installation, open `moonraker.conf` and add the following `authorization` section: ```yml [authorization] diff --git a/docs/setup-guide/mainsail-os.md b/docs/setup-guide/mainsail-os.md index 39804e2f..1e1ceb39 100644 --- a/docs/setup-guide/mainsail-os.md +++ b/docs/setup-guide/mainsail-os.md @@ -10,13 +10,13 @@ permalink: /setup/mainsail-os # Installing MainsailOS -MainsailOS builds upon RaspberryOS-Lite by incorporating Klipper, Moonraker and Mainsail into one disc image, making them more accessible and quicker to setup than before. +MainsailOS builds upon Raspberry Pi OS Lite by including Klipper, Moonraker, and Mainsail into the disc image, making setup quick and Mainsail easier to use with Klipper and Moonraker. -Complex/custom configurations may be better suited to a [manual](manual-setup/index.md) installation of Mainsail. +Advanced users may want more complex and custom configurations and Mainsail can be [manually installed](manual-setup/index.md). -If you are familiar with the flashing process, then please use your preferred method as you normally would. +If you are familiar with process to flash the firmware, then please use your preferred method as you normally would. -If however you are unfamiliar with the flashing process then we have documented two methods to flash MainsailOS to your SD card: +If however you are unfamiliar with the flashing process we have documented two methods to flash MainsailOS to your SD card: * [Raspberry Pi Imager](mainsailos/pi-imager) (cross-platform, easiest) recommended * [Balena Etcher](mainsailos/balena-etcher) (requires manual setup) diff --git a/docs/setup-guide/pre-flight.md b/docs/setup-guide/pre-flight.md index d316249e..2a74c456 100644 --- a/docs/setup-guide/pre-flight.md +++ b/docs/setup-guide/pre-flight.md @@ -10,14 +10,14 @@ permalink: /setup/pre-flight # Preflight Checklist -A quick run-through to check no important steps have been missed during installation and configuration. +You may wish to review the list below to make sure you have not missed any important steps during the setup process. -| Installed software components: | Configured: | Performed: | +| Installed software components: | Configured: | Completed: | | :-- | :-- | :-- | | ✅ MainsailOS
**OR**
✅ Klipper
✅ Moonraker
✅ Mainsail
| ✅ Network
✅ [Configured printer.cfg](mainsailos/klipper-setup)
✅ [Included mainsail.cfg](mainsailos/first-boot#mainsailcfg)| ✅ Updates
✅ Klipper verification(s)| -# Time to print +# Time to print! -If you've covered all the steps, you should now have a complete software stack ready to perform calibration prints! +If you have performed all of the installation steps, your installation should be complete and you are ready to start calibrating and printing with your 3D printer. **Thank you for choosing Mainsail** diff --git a/docs/update-guide/index.md b/docs/update-guide/index.md index b230b184..0431677d 100644 --- a/docs/update-guide/index.md +++ b/docs/update-guide/index.md @@ -7,9 +7,10 @@ permalink: /update/ has_toc: false --- -There are currently two methods to update either via the web interface, or manually. +There are two methods to update Mainsail: from Mainsail's interface in your web browser or by manually updating. -- [Update Manager](update-manager) recommended - A built in update utility found in the web ui, under the machine tab. -- [Manual Update](manual-update) - Guides on manual update methods for each component; Klipper, Moonraker and Mainsail. + +- [Update Manager Guide](update-manager) (Recommended) + Update Klipper, Moonraker and Mainsail in your web browser using Mainsail. This is the recommended method. +- [Manual Update Guide](manual-update) + Review the included guides on how to manually update each component, including Klipper, Moonraker, and Mainsail. diff --git a/docs/update-guide/klipper.md b/docs/update-guide/klipper.md index 10aadd0a..4504ac83 100644 --- a/docs/update-guide/klipper.md +++ b/docs/update-guide/klipper.md @@ -8,16 +8,18 @@ permalink: /update/klipper ## Klipper ### Update from Repository + +To update Klipper directly from its repository, run the following command in a terminal: + ```bash cd ~/klipper git pull ``` -Restart Klipper (`sudo service klipper restart`) and check the `klippy.log`, if Klipper starts -correctly and then continue the guide. +Restart Klipper using the command `sudo service klipper restart` and check the `klippy.log`. if Klipper started correctly without any errors you may continue. -### Klipper config changes -If you have issues after update your Klipper instance, you can check config changes [here](https://github.com/KevinOConnor/klipper/blob/master/docs/Config_Changes.md). +### Klipper configuration changes +If you have any issues after updating your Klipper instance, you can check the configuration changes [here](https://github.com/KevinOConnor/klipper/blob/master/docs/Config_Changes.md). --- [< table of contents](index.md){: .btn } [next step >](moonraker.md){: .btn} diff --git a/docs/update-guide/mainsail.md b/docs/update-guide/mainsail.md index ffb379d9..87072440 100644 --- a/docs/update-guide/mainsail.md +++ b/docs/update-guide/mainsail.md @@ -6,20 +6,26 @@ nav_order: 4 permalink: /update/mainsail --- -## Mainsail +## Updating Mainsail + +To update Mainsail manually, run the commands below in your terminal: + ```bash cd ~/mainsail rm -R ./* wget -q -O mainsail.zip https://github.com/mainsail-crew/mainsail/releases/latest/download/mainsail.zip && unzip mainsail.zip && rm mainsail.zip ``` -### Move gui.json from gcodes to klipper_config -This is only necessary if you update from 0.2.2 to 0.2.3 or higher. If you use MainsailOS, the virtual_sdcard directory is `gcode_files` instead of `sdcard`. +### Updating from 0.2.2 to 0.2.3 or higher + +If you are updating from Mainsail version 0.2.2 to a newer version, you must move the file `gui.json` from the `gcodes` directory to the `klipper_config' directory. + +This is only necessary when updating from 0.2.2 to 0.2.3 or higher. If you use MainsailOS, the virtual_sdcard directory is `gcode_files` instead of `sdcard`. ``` mv ~/sdcard/gui.json ~/klipper_config/ ``` -Now it should be possible to open the interface: `http:///`. +You should now be able to open Mainsail in your web browser at `http:///`. --- [< previous step](moonraker.md){: .btn } diff --git a/docs/update-guide/moonraker.md b/docs/update-guide/moonraker.md index d55a4931..01a568db 100644 --- a/docs/update-guide/moonraker.md +++ b/docs/update-guide/moonraker.md @@ -6,21 +6,26 @@ nav_order: 3 permalink: /update/moonraker --- -## Moonraker +## Updating Moonraker + +To update Moonraker directly from its repository, run the following command in a terminal: + ```bash cd ~/moonraker git pull ``` -Restart Moonraker (`sudo service moonraker restart`) and open the url `http://:7125/printer/info` in your browser. +Restart Moonraker using the command `sudo service moonraker restart` and open the URL `http://:7125/printer/info` in your browser. -If you see a content like this +Your printer is updated and ready if you see the following message: ``` {"result": {"hostname": "voron250", "error_detected": false, "version": "v0.8.0-643-g528f9f25", "is_ready": true, "message": "Printer is ready", "cpu": "4 core ARMv7 Processor rev 4 (v7l)"}} ``` -### Add Moonraker update manager -To use the update manager in Mainsail you have to add this in your moonraker.conf: +### Add Moonraker to the update manager + +If you want to update Moonraker using the update manager, you need to add the following section to your printer's `moonraker.conf`: + ``` [update_manager] @@ -30,21 +35,21 @@ repo: mainsail-crew/mainsail path: ~/mainsail ``` -### Change Moonraker to systemd service (December 6th 2020) -Moonraker is now installed as a systemd service. If `moonraker.conf` is not located in the home directory, the command will looks something like the following: +### Moonraker as a systemd service +As of December 2020, Moonraker is added as a systemd service during installation. If `moonraker.conf` is not located in the home directory, run this command in your terminal: ```bash ~/moonraker/scripts/install-moonraker.sh -f -c /home/pi/klipper_config/moonraker.conf ``` -This allows logging to stdout which can be viewed with the `journalctl -u moonraker command`. +This allows logging to `stdout` which can be viewed with the command `journalctl -u moonraker` in your terminal. -### Update Moonraker dependence -This is only nessasary, if you see missing modules in the moonraker log. +### Update Moonraker's dependencies +Updating Moonraker's dependecencies manually is only needed if you see missing modules in the Moonraker log. You can run the following command to update Moonraker's dependencies: ```bash ~/moonraker/scripts/install-moonraker.sh -r ``` -### Moonraker config changes -If you have issues after update your Moonraker instance, you can check config changes [here](https://github.com/Arksine/moonraker/blob/master/docs/user_changes.md). +### Moonraker configuration changes +If you have issues after updating Moonraker, please review the list of changes requiring user intervention [here](https://github.com/Arksine/moonraker/blob/master/docs/user_changes.md). --- [< previous step](klipper.md){: .btn } [next step >](mainsail.md){: .btn } diff --git a/docs/update-guide/update-manager.md b/docs/update-guide/update-manager.md index 93d04fb1..6fc134fb 100644 --- a/docs/update-guide/update-manager.md +++ b/docs/update-guide/update-manager.md @@ -9,18 +9,18 @@ permalink: /update/update-manager # Update Manager -You can find further information on this topic by checking out the [Moonraker documentation](https://github.com/Arksine/moonraker/blob/master/docs/configuration.md#update_manager){:target="_blank"}. +You can find further information on this topic in the [Moonraker documentation](https://github.com/Arksine/moonraker/blob/master/docs/configuration.md#update_manager){:target="_blank"}. {: .info} -## Enabling the feature +## Enabling Update Manager -To use the built in Update Manager it must first be enabled by editing the moonraker.conf file: +To use the built in Update Manager it must first be enabled by editing the `moonraker.conf` file. From a terminal navigate to Klipper's configuration directory and edit the configuration file: ```bash cd ~/klipper_config sudo nano moonraker.conf ``` -Add the following section to your printers moonraker.conf: +Add the following section to your printer's `moonraker.conf`: ```yaml [update_manager] @@ -36,18 +36,20 @@ Restart Moonraker: sudo systemctl restart moonraker ``` -## Using the Web UI +## Using Mainsail to Update -With the manager enabled reload the web ui and select the 'machine' tab from the sidebar. You should now see the Update Manager panel. +With the update manager enabled, reload your web browser and select the 'Machine' tab from the sidebar. You should now see the Update Manager panel. -Holding shift whilst clicking the browser's refresh button (or pressing ctrl+f5) will force it to reload the page fully (without the cache). +Holding shift while clicking the browser's refresh button (or pressing Control + F5) will force it to reload the page fully without the cache. {: .info} -Typically the update order is top to bottom. +The update order is top to bottom. ![screenshot-updates-required](../assets/img/update/screenshot-update-manager-example-not-up-to-date.png) -To update a component, click the ![screenshot-update-button](../assets/img/update/screenshot-update-manager-button-rounded.png) button. +To update a component, click the 'UPDATE' button next to the component you wish to update: -A new window will launch and the component will be updated. When the update is finished, the window can be closed. +![screenshot-update-button](../assets/img/update/screenshot-update-manager-button-rounded.png) + +A popover window will launch and the component will be updated. When the update is finished, you can close the window.