diff --git a/docs/Configuration.md b/docs/Configuration.md index 44735e93..66b80409 100644 --- a/docs/Configuration.md +++ b/docs/Configuration.md @@ -13,7 +13,7 @@ Write in the file only the options that need to be changed, and restart KlipperS ## Include files -```ini +```{ .ini .no-copy } [include conf.d/*.conf] # 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 The options listed here are not changeable from within the ui. -```ini +```{ .ini .no-copy } [main] # Time in seconds before the Job Status page closes itself after a successful job/print # 0 means disabled @@ -47,7 +47,7 @@ screen_off_devices: example1, example2 ## Printer Options Multiple printers can be defined -```ini +```{ .ini .no-copy } # 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 @@ -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 menu item is configured as follows: -```ini +```{ .ini .no-copy } [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 @@ -168,7 +168,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: -```yaml +```{ .yaml .no-copy } printer.extruders.count # Number of extruders printer.temperature_devices.count # Number of temperature related devices that are not extruders 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: -```yaml+jinja +```{ .yaml+jinja .no-copy } [menu __main homing] name: Homing icon: home diff --git a/docs/Troubleshooting/Network.md b/docs/Troubleshooting/Network.md index 581d388a..4ba5f214 100644 --- a/docs/Troubleshooting/Network.md +++ b/docs/Troubleshooting/Network.md @@ -11,7 +11,7 @@ dpkg -s network-manager if the response is the following: -```bash +```sh 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: -```conf +```ini [main] auth-polkit=false ``` diff --git a/mkdocs.yml b/mkdocs.yml index 6d11e551..cf44e0bb 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -41,6 +41,7 @@ theme: name: material language: en features: + - content.code.copy - content.code.annotate - content.tooltips - navigation.expand