docs: fix build, re-skin and improve

This commit is contained in:
alfrix committed 2022-06-01 16:21:56 -03:00
1 parent 6b432c167f
commit 5437eaead0
11 files changed
+210 -127

No files matched your search

+9 -9
View File
@@ -6,14 +6,14 @@ create a blank file in `~/klipper_config/KlipperScreen.conf`, if the file alread
Write in the file only the options that need to be changed, and restart KlipperScreen.
## Include files
```
```py
[include conf.d/*.conf]
# Include another configuration file. Wildcards (*) will expand to match anything.
```
## Main Options
```
```py
[main]
# Invert axis in move panel. Default is False. Change to true to invert
invert_x: False
@@ -48,7 +48,7 @@ use_default_menu: True
## Printer Options
Multiple printers can be defined
```
```py
# Define printer and name. Name is anything after the first printer word
[printer Ender 3 Pro]
# Define the moonraker host/port if different from 127.0.0.1 and 7125
@@ -92,7 +92,7 @@ use_dpms: True
```
## Preheat Options
```
```py
[preheat my_temp_setting]
# Temperature for the heated bed
bed: 40
@@ -109,13 +109,13 @@ gcode: MY_HEATSOAK_MACRO
There is a special preheat setting named cooldown to do additional things when the _cooldown_ button is pressed
for example:
```
```py
[preheat cooldown]
gcode: M107
```
## Bed Screws
```
```py
[bed_screws]
# Rotation is useful if the screen is not directly in front of the machine.
# Valid values are 0 90 180 270
@@ -129,7 +129,7 @@ button press. There are two menus available in KlipperScreen, __main and __print
printer is idle. The __print menu is accessible from the printing status page.
A menu item is configured as follows:
```
```py
[menu __main my_menu_item]
# To build a sub-menu of this menu item, you would next use [menu __main my_menu_item sub_menu_item]
name: Item Name
@@ -148,7 +148,7 @@ enable: {{ printer.power_devices.count > 0 }}
Available panels are listed here: [docs/panels.md](Panels.md)
Certain variables are available for conditional testing of the enable statement:
```
```py
printer.bltouch # Available if bltouch section defined in config
printer.gcode_macros.count # Number of gcode macros
printer.idle_timeout # Idle timeout section
@@ -159,7 +159,7 @@ printer.power_devices.count # Number of power devices configured in Moonraker
A sample configuration of a main menu would be as follows:
```
```py
[menu __main homing]
name: Homing
icon: home