docs: add copy content feature
This commit is contained in:
parent
759d3973ef
commit
9077bd0064
@ -13,7 +13,7 @@ Write in the file only the options that need to be changed, and restart KlipperS
|
|||||||
|
|
||||||
|
|
||||||
## Include files
|
## Include files
|
||||||
```ini
|
```{ .ini .no-copy }
|
||||||
[include conf.d/*.conf]
|
[include conf.d/*.conf]
|
||||||
# Include another configuration file. Wildcards (*) will expand to match anything.
|
# Include another configuration file. Wildcards (*) will expand to match anything.
|
||||||
```
|
```
|
||||||
@ -21,7 +21,7 @@ Write in the file only the options that need to be changed, and restart KlipperS
|
|||||||
|
|
||||||
## Main Options
|
## Main Options
|
||||||
The options listed here are not changeable from within the ui.
|
The options listed here are not changeable from within the ui.
|
||||||
```ini
|
```{ .ini .no-copy }
|
||||||
[main]
|
[main]
|
||||||
# Time in seconds before the Job Status page closes itself after a successful job/print
|
# Time in seconds before the Job Status page closes itself after a successful job/print
|
||||||
# 0 means disabled
|
# 0 means disabled
|
||||||
@ -47,7 +47,7 @@ screen_off_devices: example1, example2
|
|||||||
|
|
||||||
## Printer Options
|
## Printer Options
|
||||||
Multiple printers can be defined
|
Multiple printers can be defined
|
||||||
```ini
|
```{ .ini .no-copy }
|
||||||
# Define printer and name. Name is anything after the first printer word
|
# Define printer and name. Name is anything after the first printer word
|
||||||
[printer Ender 3 Pro]
|
[printer Ender 3 Pro]
|
||||||
# Define the moonraker host/port if different from 127.0.0.1 and 7125
|
# Define the moonraker host/port if different from 127.0.0.1 and 7125
|
||||||
@ -143,7 +143,7 @@ printer is idle. The __print menu is accessible from the printing status page.
|
|||||||
A predefined set of menus is already provided and it's recommended to be used
|
A predefined set of menus is already provided and it's recommended to be used
|
||||||
|
|
||||||
A menu item is configured as follows:
|
A menu item is configured as follows:
|
||||||
```ini
|
```{ .ini .no-copy }
|
||||||
[menu __main my_menu_item]
|
[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]
|
# To build a sub-menu of this menu item, you would next use [menu __main my_menu_item sub_menu_item]
|
||||||
name: Item Name
|
name: Item Name
|
||||||
@ -168,7 +168,7 @@ enable: {{ printer.power_devices.count > 0 }}
|
|||||||
Available panels are listed here: [docs/panels.md](Panels.md)
|
Available panels are listed here: [docs/panels.md](Panels.md)
|
||||||
|
|
||||||
Certain variables are available for conditional testing of the enable statement:
|
Certain variables are available for conditional testing of the enable statement:
|
||||||
```yaml
|
```{ .yaml .no-copy }
|
||||||
printer.extruders.count # Number of extruders
|
printer.extruders.count # Number of extruders
|
||||||
printer.temperature_devices.count # Number of temperature related devices that are not extruders
|
printer.temperature_devices.count # Number of temperature related devices that are not extruders
|
||||||
printer.fans.count # Number of fans
|
printer.fans.count # Number of fans
|
||||||
@ -195,7 +195,7 @@ printer.pause_resume # Pause resume section of Klipper
|
|||||||
|
|
||||||
|
|
||||||
A sample configuration of a main menu would be as follows:
|
A sample configuration of a main menu would be as follows:
|
||||||
```yaml+jinja
|
```{ .yaml+jinja .no-copy }
|
||||||
[menu __main homing]
|
[menu __main homing]
|
||||||
name: Homing
|
name: Homing
|
||||||
icon: home
|
icon: home
|
||||||
|
@ -11,7 +11,7 @@ dpkg -s network-manager
|
|||||||
|
|
||||||
if the response is the following:
|
if the response is the following:
|
||||||
|
|
||||||
```bash
|
```sh
|
||||||
dpkg-query: the package 'network-manager' is not installed
|
dpkg-query: the package 'network-manager' is not installed
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -42,7 +42,7 @@ sudo nano /etc/NetworkManager/conf.d/any-user.conf
|
|||||||
|
|
||||||
in the editor paste this:
|
in the editor paste this:
|
||||||
|
|
||||||
```conf
|
```ini
|
||||||
[main]
|
[main]
|
||||||
auth-polkit=false
|
auth-polkit=false
|
||||||
```
|
```
|
||||||
|
@ -41,6 +41,7 @@ theme:
|
|||||||
name: material
|
name: material
|
||||||
language: en
|
language: en
|
||||||
features:
|
features:
|
||||||
|
- content.code.copy
|
||||||
- content.code.annotate
|
- content.code.annotate
|
||||||
- content.tooltips
|
- content.tooltips
|
||||||
- navigation.expand
|
- navigation.expand
|
||||||
|
Loading…
x
Reference in New Issue
Block a user