diff --git a/docs/ChangeLog/20210828.md b/docs/ChangeLog/20210828.md
index f84169cc94..18b1d92b0c 100644
--- a/docs/ChangeLog/20210828.md
+++ b/docs/ChangeLog/20210828.md
@@ -10,11 +10,11 @@ It is also now possible to define combos that have keys overlapping with other c
### Key Overrides ([#11422](https://github.com/qmk/qmk_firmware/pull/11422)) {#key-overrides}
-QMK now has a new feature: [key overrides](../feature_key_overrides). This feature allows for overriding the output of key combinations involving modifiers. As an example, pressing Shift+2 normally results in an @ on US-ANSI keyboard layouts -- the new key overrides allow for adding similar functionality, but for any modifier + key press.
+QMK now has a new feature: [key overrides](../features/key_overrides). This feature allows for overriding the output of key combinations involving modifiers. As an example, pressing Shift+2 normally results in an @ on US-ANSI keyboard layouts -- the new key overrides allow for adding similar functionality, but for any modifier + key press.
To illustrate, it's now possible to use the key overrides feature to translate Shift + Backspace into Delete -- an often-requested example of where this functionality comes in handy.
-There's far more to describe that what lives in this changelog, so head over to the [key overrides documentation](../feature_key_overrides) for more examples and info.
+There's far more to describe that what lives in this changelog, so head over to the [key overrides documentation](../features/key_overrides) for more examples and info.
### Digitizer support ([#12851](https://github.com/qmk/qmk_firmware/pull/12851))
diff --git a/docs/ChangeLog/20211127.md b/docs/ChangeLog/20211127.md
index d810be505a..5ca68c3999 100644
--- a/docs/ChangeLog/20211127.md
+++ b/docs/ChangeLog/20211127.md
@@ -31,7 +31,7 @@ QMK now has core-supplied support for the following pointing device peripherals:
| `POINTING_DEVICE_DRIVER = pimoroni_trackball` | Pimoroni Trackball |
| `POINTING_DEVICE_DRIVER = pmw3360` | PMW 3360 |
-See the new documentation for the [Pointing Device](../feature_pointing_device) feature for more information on specific configuration for each driver.
+See the new documentation for the [Pointing Device](../features/pointing_device) feature for more information on specific configuration for each driver.
### Dynamic Tapping Term ([#11036](https://github.com/qmk/qmk_firmware/pull/11036)) {#dynamic-tapping-term}
@@ -116,7 +116,7 @@ Related to the previous section -- RGB Matrix modes have now been made to be opt
Most keyboards keep their original functionality, but over time the QMK maintainers have found that removal of animations ends up being the quickest way to free up space... and some keyboards have had animations such as reactive effects disabled by default in order to still fit within the flash space available.
-The full list of configurables to turn specific animations back on can be found at on the [RGB Matrix documentation](../feature_rgb_matrix#rgb-matrix-effects) page.
+The full list of configurables to turn specific animations back on can be found at on the [RGB Matrix documentation](../features/rgb_matrix#rgb-matrix-effects) page.
### OLED task refactoring ([#14864](https://github.com/qmk/qmk_firmware/pull/14864)) {#oled-task-refactor}
diff --git a/docs/ChangeLog/20220226.md b/docs/ChangeLog/20220226.md
index f0cbbc0603..a10b6447ea 100644
--- a/docs/ChangeLog/20220226.md
+++ b/docs/ChangeLog/20220226.md
@@ -12,7 +12,7 @@ Something something *Lets go gamers!*
Pointing devices can now be shared across a split keyboard with support for a single pointing device or a pointing device on each side.
-See the [Pointing Device](../feature_pointing_device) documentation for further configuration options.
+See the [Pointing Device](../features/pointing_device) documentation for further configuration options.
## Changes Requiring User Action {#changes-requiring-user-action}
diff --git a/docs/ChangeLog/20220528.md b/docs/ChangeLog/20220528.md
index 31347c9c00..ae84f163d4 100644
--- a/docs/ChangeLog/20220528.md
+++ b/docs/ChangeLog/20220528.md
@@ -8,7 +8,7 @@ This is a new feature that allows for capslock-like functionality that turns its
For instance, if you wish to type "QMK" without holding shift the entire time, you can either tap both left and right shift, or double-tap shift, to turn on _Caps Word_ -- then type `qmk` (lowercase) without holding shift. Once you hit any key other than `a`--`z`, `0`--`9`, `-`, `_`, delete, or backspace, this will go back to normal typing!
-There are other activation mechanisms as well as configurable options like timeout and the like -- see the [Caps Word documentation](../feature_caps_word) for more information.
+There are other activation mechanisms as well as configurable options like timeout and the like -- see the [Caps Word documentation](../features/caps_word) for more information.
### Quantum Painter ([#10174](https://github.com/qmk/qmk_firmware/pull/10174)) {#quantum-painter}
@@ -26,7 +26,7 @@ Quantum Painter is not supported on AVR due to complexity and size constraints.
### Encoder Mapping ([#13286](https://github.com/qmk/qmk_firmware/pull/13286)) {#encoder-mapping}
-One of the long-standing complaints with Encoders is that there has been no easy way to configure them in user keymaps. [#13286](https://github.com/qmk/qmk_firmware/pull/13286) added support for [Encoder Mapping](../feature_encoders#encoder-map), which allows users to define encoder functionality in a similar way to their normal keymap.
+One of the long-standing complaints with Encoders is that there has been no easy way to configure them in user keymaps. [#13286](https://github.com/qmk/qmk_firmware/pull/13286) added support for [Encoder Mapping](../features/encoders#encoder-map), which allows users to define encoder functionality in a similar way to their normal keymap.
::: warning
This is not yet supported by QMK Configurator. It is also unlikely to ever be supported by VIA.
diff --git a/docs/ChangeLog/20220827.md b/docs/ChangeLog/20220827.md
index d58db91272..6d9f82f36a 100644
--- a/docs/ChangeLog/20220827.md
+++ b/docs/ChangeLog/20220827.md
@@ -83,7 +83,7 @@ The now-EOL kbfirmware allowed people who aren't set up with QMK the ability to
QMK has had the ability to write to internal MCU flash in order to emulate EEPROM for some time now, but it was only limited to a small number of MCUs. The base HAL used by QMK for a large number of ARM devices provides a "proper" embedded MCU flash driver, so _@tzarc_ decoupled the wear-leveling algorithm from the old flash writing code, improved it, wrote some tests, and enabled its use for a much larger number of other devices... including RP2040's XIP flash, and external SPI NOR Flash.
-See the [EEPROM Driver](../eeprom_driver) documentation for more information.
+See the [EEPROM Driver](../drivers/eeprom) documentation for more information.
### Pointing Device Improvements ([#16371](https://github.com/qmk/qmk_firmware/pull/16371), [#17111](https://github.com/qmk/qmk_firmware/pull/17111), [#17176](https://github.com/qmk/qmk_firmware/pull/17176), [#17482](https://github.com/qmk/qmk_firmware/pull/17482), [#17776](https://github.com/qmk/qmk_firmware/pull/17776), [#17613](https://github.com/qmk/qmk_firmware/pull/17613)) {#pointing-device-improvements}
diff --git a/docs/ChangeLog/20221126.md b/docs/ChangeLog/20221126.md
index 25cf1d592d..41b0ad0a6b 100644
--- a/docs/ChangeLog/20221126.md
+++ b/docs/ChangeLog/20221126.md
@@ -4,7 +4,7 @@
### Autocorrect ([#15699](https://github.com/qmk/qmk_firmware/pull/15699)) {#autocorrect}
-_@getreuer_ in their infinite wisdom decided that autocorrect was a feature needed by QMK. As is customary, _@drashna_ adapted it to core and got it into a state that everyone else can use it. See [Feature: Autocorrect](../feature_autocorrect) for more ifnormation (grin).
+_@getreuer_ in their infinite wisdom decided that autocorrect was a feature needed by QMK. As is customary, _@drashna_ adapted it to core and got it into a state that everyone else can use it. See [Feature: Autocorrect](../features/autocorrect) for more ifnormation (grin).
## Changes Requiring User Action {#changes-requiring-user-action}
@@ -132,7 +132,7 @@ The equivalent transformations should be done for LED Matrix boards.
### Unicode mode refactoring {#unicode-mode-renaming}
-Unicode modes were renamed in order to prevent collision with equivalent keycodes. The available values for `UNICODE_SELECTED_MODES` changed -- see [Feature: Unicode](../feature_unicode#setting-the-input-mode) for the new list of values and how to configure them.
+Unicode modes were renamed in order to prevent collision with equivalent keycodes. The available values for `UNICODE_SELECTED_MODES` changed -- see [Feature: Unicode](../features/unicode#setting-the-input-mode) for the new list of values and how to configure them.
## Notable core changes {#notable-core}
diff --git a/docs/ChangeLog/20230226.md b/docs/ChangeLog/20230226.md
index ee56068604..87ff924264 100644
--- a/docs/ChangeLog/20230226.md
+++ b/docs/ChangeLog/20230226.md
@@ -106,7 +106,7 @@ void leader_end_user(void) {
}
```
-For more information please see the [Leader Key documentation](../feature_leader_key).
+For more information please see the [Leader Key documentation](../features/leader_key).
### Updated Keyboard Codebases {#updated-keyboard-codebases}
diff --git a/docs/ChangeLog/20230528.md b/docs/ChangeLog/20230528.md
index 40ab3a420c..77ad6209b0 100644
--- a/docs/ChangeLog/20230528.md
+++ b/docs/ChangeLog/20230528.md
@@ -24,7 +24,7 @@ Of note for keyboard designers:
A new pair of keys has been added to QMK -- namely `QK_REPEAT_KEY` and `QK_ALT_REPEAT_KEY` (shortened: `QK_REP`/`QK_AREP`). These allow you to repeat the last key pressed, or in the case of the alternate key, press the "opposite" of the last key. For example, if you press `KC_LEFT`, pressing `QK_REPEAT_KEY` afterwards repeats `KC_LEFT`, but pressing `QK_ALT_REPEAT_KEY` instead sends `KC_RIGHT`.
-The full list of default alternate keys is available on the [Repeat Key](../feature_repeat_key) documentation.
+The full list of default alternate keys is available on the [Repeat Key](../features/repeat_key) documentation.
To enable these keys, in your keymap's `rules.mk`, add:
@@ -93,7 +93,7 @@ Additionally, this ensures that builds on QMK Configurator produce some sort of
The "classic" OLED driver picked up support for additional sizes of OLED displays, support for the SH1107 controller, and SPI-based OLED support.
-Other configurable items are available and can be found on the [OLED Driver page](../feature_oled_driver).
+Other configurable items are available and can be found on the [OLED Driver page](../features/oled_driver).
## Full changelist {#full-changelist}
diff --git a/docs/ChangeLog/20230827.md b/docs/ChangeLog/20230827.md
index aecbcb0d8f..493ee84349 100644
--- a/docs/ChangeLog/20230827.md
+++ b/docs/ChangeLog/20230827.md
@@ -42,7 +42,7 @@ AVR sees minimal (if any) benefit -- `double` was interpreted as `float` on AVR
### Remove encoder in-matrix workaround code ([#20389](https://github.com/qmk/qmk_firmware/pull/20389)) {#remove-encoder-in-matrix-workaround-code}
-Some keyboards "hacked" encoder support into spare slots in the key matrix in order to interoperate with VIA. This workaround is no longer necessary, and the code has been removed. If you have a keyboard that uses this workaround, you will need to update your keymap to use the new [Encoder Map](../feature_encoders#encoder-map) API instead.
+Some keyboards "hacked" encoder support into spare slots in the key matrix in order to interoperate with VIA. This workaround is no longer necessary, and the code has been removed. If you have a keyboard that uses this workaround, you will need to update your keymap to use the new [Encoder Map](../features/encoders#encoder-map) API instead.
### Unicodemap keycodes rename ([#21092](https://github.com/qmk/qmk_firmware/pull/21092)) {#unicodemap-keycodes-rename}
diff --git a/docs/ChangeLog/20240225.md b/docs/ChangeLog/20240225.md
index f4103c594e..1ebfbd2309 100644
--- a/docs/ChangeLog/20240225.md
+++ b/docs/ChangeLog/20240225.md
@@ -120,7 +120,7 @@ In some cases, accidental automatic activation of the mouse layer made it diffic
### DIP Switch Mapping ([#22543](https://github.com/qmk/qmk_firmware/pull/22543)) {#dip-switch-map}
-Much like Encoder Mapping, DIP Switch Mapping allows for specifying a table of actions to execute when a DIP switch state changes. See the [DIP Switch Documentation](../feature_dip_switch#dip-switch-map) for more information.
+Much like Encoder Mapping, DIP Switch Mapping allows for specifying a table of actions to execute when a DIP switch state changes. See the [DIP Switch Documentation](../features/dip_switch#dip-switch-map) for more information.
```c
#if defined(DIP_SWITCH_MAP_ENABLE)
diff --git a/docs/_sidebar.json b/docs/_sidebar.json
index f1b7c156e6..b41719e4b3 100644
--- a/docs/_sidebar.json
+++ b/docs/_sidebar.json
@@ -103,45 +103,45 @@
{
"text": "Advanced Keycodes",
"items": [
- { "text": "Command", "link": "/feature_command" },
- { "text": "Dynamic Macros", "link": "/feature_dynamic_macros" },
- { "text": "Grave Escape", "link": "/feature_grave_esc" },
- { "text": "Leader Key", "link": "/feature_leader_key" },
+ { "text": "Command", "link": "/features/command" },
+ { "text": "Dynamic Macros", "link": "/features/dynamic_macros" },
+ { "text": "Grave Escape", "link": "/features/grave_esc" },
+ { "text": "Leader Key", "link": "/features/leader_key" },
{ "text": "Mod-Tap", "link": "/mod_tap" },
{ "text": "Macros", "link": "/feature_macros" },
- { "text": "Mouse Keys", "link": "/feature_mouse_keys" },
- { "text": "Programmable Button", "link": "/feature_programmable_button" },
- { "text": "Repeat Key", "link": "/feature_repeat_key" },
- { "text": "Space Cadet Shift", "link": "/feature_space_cadet" },
+ { "text": "Mouse Keys", "link": "/features/mouse_keys" },
+ { "text": "Programmable Button", "link": "/features/programmable_button" },
+ { "text": "Repeat Key", "link": "/features/repeat_key" },
+ { "text": "Space Cadet Shift", "link": "/features/space_cadet" },
{ "text": "US ANSI Shifted Keys", "link": "/keycodes_us_ansi_shifted" }
]
},
{
"text": "Software Features",
"items": [
- { "text": "Auto Shift", "link": "/feature_auto_shift" },
- { "text": "Autocorrect", "link": "/feature_autocorrect" },
- { "text": "Caps Word", "link": "/feature_caps_word" },
- { "text": "Combos", "link": "/feature_combo" },
+ { "text": "Auto Shift", "link": "/features/auto_shift" },
+ { "text": "Autocorrect", "link": "/features/autocorrect" },
+ { "text": "Caps Word", "link": "/features/caps_word" },
+ { "text": "Combos", "link": "/features/combo" },
{ "text": "Debounce API", "link": "/feature_debounce_type" },
- { "text": "Digitizer", "link": "/feature_digitizer" },
+ { "text": "Digitizer", "link": "/features/digitizer" },
{ "text": "EEPROM", "link": "/feature_eeprom" },
- { "text": "Key Lock", "link": "/feature_key_lock" },
- { "text": "Key Overrides", "link": "/feature_key_overrides" },
+ { "text": "Key Lock", "link": "/features/key_lock" },
+ { "text": "Key Overrides", "link": "/features/key_overrides" },
{ "text": "Layers", "link": "/feature_layers" },
{ "text": "One Shot Keys", "link": "/one_shot_keys" },
- { "text": "OS Detection", "link": "/feature_os_detection" },
- { "text": "Raw HID", "link": "/feature_rawhid" },
- { "text": "Secure", "link": "/feature_secure" },
- { "text": "Send String", "link": "/feature_send_string" },
- { "text": "Sequencer", "link": "/feature_sequencer" },
- { "text": "Swap Hands", "link": "/feature_swap_hands" },
- { "text": "Tap Dance", "link": "/feature_tap_dance" },
+ { "text": "OS Detection", "link": "/features/os_detection" },
+ { "text": "Raw HID", "link": "/features/rawhid" },
+ { "text": "Secure", "link": "/features/secure" },
+ { "text": "Send String", "link": "/features/send_string" },
+ { "text": "Sequencer", "link": "/features/sequencer" },
+ { "text": "Swap Hands", "link": "/features/swap_hands" },
+ { "text": "Tap Dance", "link": "/features/tap_dance" },
{ "text": "Tap-Hold Configuration", "link": "/tap_hold" },
- { "text": "Tri Layer", "link": "/feature_tri_layer" },
- { "text": "Unicode", "link": "/feature_unicode" },
+ { "text": "Tri Layer", "link": "/features/tri_layer" },
+ { "text": "Unicode", "link": "/features/unicode" },
{ "text": "Userspace", "link": "/feature_userspace" },
- { "text": "WPM Calculation", "link": "/feature_wpm" }
+ { "text": "WPM Calculation", "link": "/features/wpm" }
]
},
{
@@ -157,35 +157,35 @@
{ "text": "Quantum Painter LVGL Integration", "link": "/quantum_painter_lvgl" }
]
},
- { "text": "HD44780 LCD Driver", "link": "/feature_hd44780" },
- { "text": "ST7565 LCD Driver", "link": "/feature_st7565" },
- { "text": "OLED Driver", "link": "/feature_oled_driver" }
+ { "text": "HD44780 LCD Driver", "link": "/features/hd44780" },
+ { "text": "ST7565 LCD Driver", "link": "/features/st7565" },
+ { "text": "OLED Driver", "link": "/features/oled_driver" }
]
},
{
"text": "Lighting",
"items": [
- { "text": "Backlight", "link": "/feature_backlight" },
- { "text": "LED Matrix", "link": "/feature_led_matrix" },
- { "text": "RGB Lighting", "link": "/feature_rgblight" },
- { "text": "RGB Matrix", "link": "/feature_rgb_matrix" }
+ { "text": "Backlight", "link": "/features/backlight" },
+ { "text": "LED Matrix", "link": "/features/led_matrix" },
+ { "text": "RGB Lighting", "link": "/features/rgblight" },
+ { "text": "RGB Matrix", "link": "/features/rgb_matrix" }
]
},
- { "text": "Audio", "link": "/feature_audio" },
- { "text": "Bluetooth", "link": "/feature_bluetooth" },
- { "text": "Bootmagic Lite", "link": "/feature_bootmagic" },
+ { "text": "Audio", "link": "/features/audio" },
+ { "text": "Bluetooth", "link": "/features/bluetooth" },
+ { "text": "Bootmagic Lite", "link": "/features/bootmagic" },
{ "text": "Converters", "link": "/feature_converters" },
{ "text": "Custom Matrix", "link": "/custom_matrix" },
- { "text": "DIP Switch", "link": "/feature_dip_switch" },
- { "text": "Encoders", "link": "/feature_encoders" },
- { "text": "Haptic Feedback", "link": "/feature_haptic_feedback" },
- { "text": "Joystick", "link": "/feature_joystick" },
- { "text": "LED Indicators", "link": "/feature_led_indicators" },
- { "text": "MIDI", "link": "/feature_midi" },
- { "text": "Pointing Device", "link": "/feature_pointing_device" },
- { "text": "PS/2 Mouse", "link": "/feature_ps2_mouse" },
- { "text": "Split Keyboard", "link": "/feature_split_keyboard" },
- { "text": "Stenography", "link": "/feature_stenography" }
+ { "text": "DIP Switch", "link": "/features/dip_switch" },
+ { "text": "Encoders", "link": "/features/encoders" },
+ { "text": "Haptic Feedback", "link": "/features/haptic_feedback" },
+ { "text": "Joystick", "link": "/features/joystick" },
+ { "text": "LED Indicators", "link": "/features/led_indicators" },
+ { "text": "MIDI", "link": "/features/midi" },
+ { "text": "Pointing Device", "link": "/features/pointing_device" },
+ { "text": "PS/2 Mouse", "link": "/features/ps2_mouse" },
+ { "text": "Split Keyboard", "link": "/features/split_keyboard" },
+ { "text": "Stenography", "link": "/features/stenography" }
]
},
{
@@ -226,19 +226,19 @@
"text": "Drivers",
"link": "hardware_drivers",
"items": [
- { "text": "ADC Driver", "link": "/adc_driver" },
- { "text": "APA102 Driver", "link": "/apa102_driver" },
- { "text": "Audio Driver", "link": "/audio_driver" },
- { "text": "I2C Driver", "link": "/i2c_driver" },
- { "text": "SPI Driver", "link": "/spi_driver" },
- { "text": "WS2812 Driver", "link": "/ws2812_driver" },
- { "text": "EEPROM Driver", "link": "/eeprom_driver" },
- { "text": "Flash Driver", "link": "/flash_driver" },
- { "text": "'serial' Driver", "link": "/serial_driver" },
- { "text": "UART Driver", "link": "/uart_driver" }
+ { "text": "ADC Driver", "link": "/drivers/adc" },
+ { "text": "APA102 Driver", "link": "/drivers/apa102" },
+ { "text": "Audio Driver", "link": "/drivers/audio" },
+ { "text": "EEPROM Driver", "link": "/drivers/eeprom" },
+ { "text": "Flash Driver", "link": "/drivers/flash" },
+ { "text": "I2C Driver", "link": "/drivers/i2c" },
+ { "text": "'serial' Driver", "link": "/drivers/serial" },
+ { "text": "SPI Driver", "link": "/drivers/spi" },
+ { "text": "UART Driver", "link": "/drivers/uart" },
+ { "text": "WS2812 Driver", "link": "/drivers/ws2812" }
]
},
- { "text": "GPIO Controls", "link": "/gpio_control" },
+ { "text": "GPIO Controls", "link": "/drivers/gpio" },
{ "text": "Keyboard Guidelines", "link": "/hardware_keyboard_guidelines" }
]
},
diff --git a/docs/cli_commands.md b/docs/cli_commands.md
index 5a85356e70..7d74d8e617 100644
--- a/docs/cli_commands.md
+++ b/docs/cli_commands.md
@@ -749,7 +749,7 @@ options:
## `qmk generate-rgb-breathe-table`
-This command generates a lookup table (LUT) header file for the [RGB Lighting](feature_rgblight) feature's breathing animation. Place this file in your keyboard or keymap directory as `rgblight_breathe_table.h` to override the default LUT in `quantum/rgblight/`.
+This command generates a lookup table (LUT) header file for the [RGB Lighting](features/rgblight) feature's breathing animation. Place this file in your keyboard or keymap directory as `rgblight_breathe_table.h` to override the default LUT in `quantum/rgblight/`.
**Usage**:
diff --git a/docs/config_options.md b/docs/config_options.md
index 236649a0ea..a1ca8c8d50 100644
--- a/docs/config_options.md
+++ b/docs/config_options.md
@@ -207,7 +207,7 @@ If you define these options you will enable the associated feature, which may in
* `#define TAP_HOLD_CAPS_DELAY 80`
* Sets the delay for Tap Hold keys (`LT`, `MT`) when using `KC_CAPS_LOCK` keycode, as this has some special handling on MacOS. The value is in milliseconds, and defaults to 80 ms if not defined. For macOS, you may want to set this to 200 or higher.
* `#define KEY_OVERRIDE_REPEAT_DELAY 500`
- * Sets the key repeat interval for [key overrides](feature_key_overrides).
+ * Sets the key repeat interval for [key overrides](features/key_overrides).
* `#define LEGACY_MAGIC_HANDLING`
* Enables magic configuration handling for advanced keycodes (such as Mod Tap and Layer Tap)
@@ -217,14 +217,14 @@ If you define these options you will enable the associated feature, which may in
* `#define WS2812_DI_PIN D7`
* pin the DI on the WS2812 is hooked-up to
* `#define RGBLIGHT_LAYERS`
- * Lets you define [lighting layers](feature_rgblight#lighting-layers) that can be toggled on or off. Great for showing the current keyboard layer or caps lock state.
+ * Lets you define [lighting layers](features/rgblight#lighting-layers) that can be toggled on or off. Great for showing the current keyboard layer or caps lock state.
* `#define RGBLIGHT_MAX_LAYERS`
- * Defaults to 8. Can be expanded up to 32 if more [lighting layers](feature_rgblight#lighting-layers) are needed.
+ * Defaults to 8. Can be expanded up to 32 if more [lighting layers](features/rgblight#lighting-layers) are needed.
* Note: Increasing the maximum will increase the firmware size and slow sync on split keyboards.
* `#define RGBLIGHT_LAYER_BLINK`
- * Adds ability to [blink](feature_rgblight#lighting-layer-blink) a lighting layer for a specified number of milliseconds (e.g. to acknowledge an action).
+ * Adds ability to [blink](features/rgblight#lighting-layer-blink) a lighting layer for a specified number of milliseconds (e.g. to acknowledge an action).
* `#define RGBLIGHT_LAYERS_OVERRIDE_RGB_OFF`
- * If defined, then [lighting layers](feature_rgblight#overriding-rgb-lighting-onoff-status) will be shown even if RGB Light is off.
+ * If defined, then [lighting layers](features/rgblight#overriding-rgb-lighting-onoff-status) will be shown even if RGB Light is off.
* `#define RGBLIGHT_LED_COUNT 12`
* number of LEDs
* `#define RGBLIGHT_SPLIT`
@@ -358,7 +358,7 @@ There are a few different ways to set handedness for split keyboards (listed in
* `#define SPLIT_TRANSACTION_IDS_KB .....`
* `#define SPLIT_TRANSACTION_IDS_USER .....`
- * Allows for custom data sync with the slave when using the QMK-provided split transport. See [custom data sync between sides](feature_split_keyboard#custom-data-sync) for more information.
+ * Allows for custom data sync with the slave when using the QMK-provided split transport. See [custom data sync between sides](features/split_keyboard#custom-data-sync) for more information.
# The `rules.mk` File
diff --git a/docs/custom_quantum_functions.md b/docs/custom_quantum_functions.md
index ac21f0e039..729f0cd028 100644
--- a/docs/custom_quantum_functions.md
+++ b/docs/custom_quantum_functions.md
@@ -206,7 +206,7 @@ Similar to `matrix_scan_*`, these are called as often as the MCU can handle. To
### Example `void housekeeping_task_user(void)` implementation
-This example will show you how to use `void housekeeping_task_user(void)` to turn off [RGB Light](feature_rgblight). For RGB Matrix, the [builtin](feature_rgb_matrix#additional-configh-options) `RGB_MATRIX_TIMEOUT` should be used.
+This example will show you how to use `void housekeeping_task_user(void)` to turn off [RGB Light](features/rgblight). For RGB Matrix, the [builtin](features/rgb_matrix#additional-configh-options) `RGB_MATRIX_TIMEOUT` should be used.
First, add the following lines to your keymap's `config.h`:
diff --git a/docs/documentation_best_practices.md b/docs/documentation_best_practices.md
index d41ec28f19..bc64472e24 100644
--- a/docs/documentation_best_practices.md
+++ b/docs/documentation_best_practices.md
@@ -69,4 +69,4 @@ This page describes my cool feature. You can use my cool feature to make coffee
|KC_SUGAR||Order Sugar|
```
-Place your documentation into `docs/feature_.md`, and add that file to the appropriate place in `docs/_sidebar.json`. If you have added any keycodes be sure to add them to `docs/keycodes.md` with a link back to your feature page.
+Place your documentation into `docs/features/.md`, and add that file to the appropriate place in `docs/_sidebar.json`. If you have added any keycodes be sure to add them to `docs/keycodes.md` with a link back to your feature page.
diff --git a/docs/driver_installation_zadig.md b/docs/driver_installation_zadig.md
index ce16ada166..099376faeb 100644
--- a/docs/driver_installation_zadig.md
+++ b/docs/driver_installation_zadig.md
@@ -8,8 +8,8 @@ We recommend the use of the [Zadig](https://zadig.akeo.ie/) utility. If you have
## Installation
-Put your keyboard into bootloader mode, either by hitting the `QK_BOOT` keycode (which may be on a different layer), or by pressing the reset switch that's usually located on the underside of the board. If your keyboard has neither, try holding Escape or Space+`B` as you plug it in (see the [Bootmagic Lite](feature_bootmagic) docs for more details). Some boards use [Command](feature_command) instead of Bootmagic; in this case, you can enter bootloader mode by hitting Left Shift+Right Shift+`B` or Left Shift+Right Shift+Escape at any point while the keyboard is plugged in.
-Some keyboards may have specific instructions for entering the bootloader. For example, the [Bootmagic Lite](feature_bootmagic) key (default: Escape) might be on a different key, e.g. Left Control; or the magic combination for Command (default: Left Shift+Right Shift) might require you to hold something else, e.g. Left Control+Right Control. Refer to the board's README file if you are unsure.
+Put your keyboard into bootloader mode, either by hitting the `QK_BOOT` keycode (which may be on a different layer), or by pressing the reset switch that's usually located on the underside of the board. If your keyboard has neither, try holding Escape or Space+`B` as you plug it in (see the [Bootmagic Lite](features/bootmagic) docs for more details). Some boards use [Command](features/command) instead of Bootmagic; in this case, you can enter bootloader mode by hitting Left Shift+Right Shift+`B` or Left Shift+Right Shift+Escape at any point while the keyboard is plugged in.
+Some keyboards may have specific instructions for entering the bootloader. For example, the [Bootmagic Lite](features/bootmagic) key (default: Escape) might be on a different key, e.g. Left Control; or the magic combination for Command (default: Left Shift+Right Shift) might require you to hold something else, e.g. Left Control+Right Control. Refer to the board's README file if you are unsure.
To put a device in bootloader mode with USBaspLoader, tap the `RESET` button while holding down the `BOOT` button.
Alternatively, hold `BOOT` while inserting the USB cable.
diff --git a/docs/adc_driver.md b/docs/drivers/adc.md
similarity index 99%
rename from docs/adc_driver.md
rename to docs/drivers/adc.md
index a1ab5a5251..d89068c2ae 100644
--- a/docs/adc_driver.md
+++ b/docs/drivers/adc.md
@@ -1,6 +1,6 @@
# ADC Driver
-QMK can leverage the Analog-to-Digital Converter (ADC) on supported MCUs to measure voltages on certain pins. This can be useful for implementing things such as battery level indicators for Bluetooth keyboards, or volume controls using a potentiometer, as opposed to a [rotary encoder](feature_encoders).
+QMK can leverage the Analog-to-Digital Converter (ADC) on supported MCUs to measure voltages on certain pins. This can be useful for implementing things such as battery level indicators for Bluetooth keyboards, or volume controls using a potentiometer, as opposed to a [rotary encoder](../features/encoders).
This driver currently supports both AVR and a limited selection of ARM devices. The values returned are 10-bit integers (0-1023) mapped between 0V and VCC (usually 5V or 3.3V for AVR, 3.3V only for ARM), however on ARM there is more flexibility in control of operation through `#define`s if you need more precision.
diff --git a/docs/apa102_driver.md b/docs/drivers/apa102.md
similarity index 85%
rename from docs/apa102_driver.md
rename to docs/drivers/apa102.md
index 0f905e3f18..88868a73b5 100644
--- a/docs/apa102_driver.md
+++ b/docs/drivers/apa102.md
@@ -1,10 +1,10 @@
# APA102 Driver {#apa102-driver}
-This driver provides support for APA102 addressable RGB LEDs. They are similar to the [WS2812](ws2812_driver) LEDs, but have increased data and refresh rates.
+This driver provides support for APA102 addressable RGB LEDs. They are similar to the [WS2812](ws2812) LEDs, but have increased data and refresh rates.
## Usage {#usage}
-In most cases, the APA102 driver code is automatically included if you are using either the [RGBLight](feature_rgblight) or [RGB Matrix](feature_rgb_matrix) feature with the `apa102` driver set, and you would use those APIs instead.
+In most cases, the APA102 driver code is automatically included if you are using either the [RGBLight](../features/rgblight) or [RGB Matrix](../features/rgb_matrix) feature with the `apa102` driver set, and you would use those APIs instead.
However, if you need to use the driver standalone, add the following to your `rules.mk`:
diff --git a/docs/audio_driver.md b/docs/drivers/audio.md
similarity index 97%
rename from docs/audio_driver.md
rename to docs/drivers/audio.md
index 4a71b4f411..c764c97369 100644
--- a/docs/audio_driver.md
+++ b/docs/drivers/audio.md
@@ -1,6 +1,6 @@
# Audio Driver {#audio-driver}
-The [Audio feature](feature_audio) breaks the hardware specifics out into separate, exchangeable driver units, with a common interface to the audio-"core" - which itself handles playing songs and notes while tracking their progress in an internal state, initializing/starting/stopping the driver as needed.
+The [Audio feature](../features/audio) breaks the hardware specifics out into separate, exchangeable driver units, with a common interface to the audio-"core" - which itself handles playing songs and notes while tracking their progress in an internal state, initializing/starting/stopping the driver as needed.
Not all MCUs support every available driver, either the platform-support is not there (yet?) or the MCU simply does not have the required hardware peripheral.
diff --git a/docs/eeprom_driver.md b/docs/drivers/eeprom.md
similarity index 99%
rename from docs/eeprom_driver.md
rename to docs/drivers/eeprom.md
index 6d13377ed8..82630c501d 100644
--- a/docs/eeprom_driver.md
+++ b/docs/drivers/eeprom.md
@@ -133,7 +133,7 @@ If your MCU does not boot after swapping to the EFL wear-leveling driver, it's l
## Wear-leveling SPI Flash Driver Configuration {#wear_leveling-flash_spi-driver-configuration}
-This driver performs writes to an external SPI NOR Flash peripheral. It also requires a working configuration for the SPI NOR Flash peripheral -- see the [flash driver](flash_driver) documentation for more information.
+This driver performs writes to an external SPI NOR Flash peripheral. It also requires a working configuration for the SPI NOR Flash peripheral -- see the [flash driver](flash) documentation for more information.
Configurable options in your keyboard's `config.h`:
diff --git a/docs/flash_driver.md b/docs/drivers/flash.md
similarity index 100%
rename from docs/flash_driver.md
rename to docs/drivers/flash.md
diff --git a/docs/gpio_control.md b/docs/drivers/gpio.md
similarity index 100%
rename from docs/gpio_control.md
rename to docs/drivers/gpio.md
diff --git a/docs/i2c_driver.md b/docs/drivers/i2c.md
similarity index 99%
rename from docs/i2c_driver.md
rename to docs/drivers/i2c.md
index ccc21137b3..10949ed59e 100644
--- a/docs/i2c_driver.md
+++ b/docs/drivers/i2c.md
@@ -4,7 +4,7 @@ The I2C Master drivers used in QMK have a set of common functions to allow porta
## Usage {#usage}
-In most cases, the I2C Master driver code is automatically included if you are using a feature or driver which requires it, such as [OLED](feature_oled_driver).
+In most cases, the I2C Master driver code is automatically included if you are using a feature or driver which requires it, such as [OLED](../features/oled_driver).
However, if you need to use the driver standalone, add the following to your `rules.mk`:
diff --git a/docs/serial_driver.md b/docs/drivers/serial.md
similarity index 98%
rename from docs/serial_driver.md
rename to docs/drivers/serial.md
index ce2fc7a46c..364e951b86 100644
--- a/docs/serial_driver.md
+++ b/docs/drivers/serial.md
@@ -1,6 +1,6 @@
# 'serial' Driver
-The Serial driver powers the [Split Keyboard](feature_split_keyboard) feature. Several implementations are available that cater to the platform and capabilites of MCU in use. Note that none of the drivers support split keyboards with more than two halves.
+The Serial driver powers the [Split Keyboard](../features/split_keyboard) feature. Several implementations are available that cater to the platform and capabilites of MCU in use. Note that none of the drivers support split keyboards with more than two halves.
| Driver | AVR | ARM | Connection between halves |
| --------------------------------------- | ------------------ | ------------------ | --------------------------------------------------------------------------------------------- |
@@ -298,7 +298,7 @@ If you're having issues withe serial communication, you can enable debug message
```
::: tip
-The messages will be printed out to the `CONSOLE` output. For additional information, refer to [Debugging/Troubleshooting QMK](faq_debug).
+The messages will be printed out to the `CONSOLE` output. For additional information, refer to [Debugging/Troubleshooting QMK](../faq_debug).
:::
## Alternate Functions for selected STM32 MCUs
diff --git a/docs/spi_driver.md b/docs/drivers/spi.md
similarity index 99%
rename from docs/spi_driver.md
rename to docs/drivers/spi.md
index b77e2dbb46..ddc35de851 100644
--- a/docs/spi_driver.md
+++ b/docs/drivers/spi.md
@@ -4,7 +4,7 @@ The SPI Master drivers used in QMK have a set of common functions to allow porta
## Usage {#usage}
-In most cases, the SPI Master driver code is automatically included if you are using a feature or driver which requires it, such as [OLED](feature_oled_driver).
+In most cases, the SPI Master driver code is automatically included if you are using a feature or driver which requires it, such as [OLED](../features/oled_driver).
However, if you need to use the driver standalone, add the following to your `rules.mk`:
diff --git a/docs/uart_driver.md b/docs/drivers/uart.md
similarity index 100%
rename from docs/uart_driver.md
rename to docs/drivers/uart.md
diff --git a/docs/ws2812_driver.md b/docs/drivers/ws2812.md
similarity index 98%
rename from docs/ws2812_driver.md
rename to docs/drivers/ws2812.md
index c445e2dbf6..61addf1917 100644
--- a/docs/ws2812_driver.md
+++ b/docs/drivers/ws2812.md
@@ -10,7 +10,7 @@ The LEDs can be chained together, and the remaining data is passed on to the nex
## Usage {#usage}
-In most cases, the WS2812 driver code is automatically included if you are using either the [RGBLight](feature_rgblight) or [RGB Matrix](feature_rgb_matrix) feature with the `ws2812` driver set, and you would use those APIs instead.
+In most cases, the WS2812 driver code is automatically included if you are using either the [RGBLight](../features/rgblight) or [RGB Matrix](../features/rgb_matrix) feature with the `ws2812` driver set, and you would use those APIs instead.
However, if you need to use the driver standalone, add the following to your `rules.mk`:
diff --git a/docs/easy_maker.md b/docs/easy_maker.md
index 6a2f00686f..e94477322b 100644
--- a/docs/easy_maker.md
+++ b/docs/easy_maker.md
@@ -5,7 +5,7 @@ Have you ever needed an easy way to program a controller, such as a Proton C or
There are different styles of Easy Maker available depending on your needs:
* [Direct Pin](https://config.qmk.fm/#/?filter=ez_maker/direct) - Connect a single switch to a single pin
-* Direct Pin + Backlight (Coming Soon) - Like Direct Pin but dedicates a single pin to [Backlight](feature_backlight) control
+* Direct Pin + Backlight (Coming Soon) - Like Direct Pin but dedicates a single pin to [Backlight](features/backlight) control
* Direct Pin + Numlock (Coming Soon) - Like Direct Pin but dedicates a single pin to the Numlock LED
* Direct Pin + Capslock (Coming Soon) - Like Direct Pin but dedicates a single pin to the Capslock LED
* Direct Pin + Encoder (Coming Soon) - Like Direct Pin but uses 2 pins to add a single rotary encoder
diff --git a/docs/faq_build.md b/docs/faq_build.md
index 7fafff1066..54ed576c70 100644
--- a/docs/faq_build.md
+++ b/docs/faq_build.md
@@ -66,4 +66,4 @@ Due to how EEPROM works on ARM based chips, saved settings may no longer be vali
[Planck rev6 reset EEPROM](https://cdn.discordapp.com/attachments/473506116718952450/539284620861243409/planck_rev6_default.bin) can be used to force an eeprom reset. After flashing this image, flash your normal firmware again which should restore your keyboard to _normal_ working order.
[Preonic rev3 reset EEPROM](https://cdn.discordapp.com/attachments/473506116718952450/537849497313738762/preonic_rev3_default.bin)
-If bootmagic is enabled in any form, you should be able to do this too (see [Bootmagic docs](feature_bootmagic) and keyboard info for specifics on how to do this).
+If bootmagic is enabled in any form, you should be able to do this too (see [Bootmagic docs](features/bootmagic) and keyboard info for specifics on how to do this).
diff --git a/docs/faq_debug.md b/docs/faq_debug.md
index e22bc5d9ce..36374974df 100644
--- a/docs/faq_debug.md
+++ b/docs/faq_debug.md
@@ -4,7 +4,7 @@ This page details various common questions people have about troubleshooting the
## Debugging {#debugging}
-Your keyboard will output debug information if you have `CONSOLE_ENABLE = yes` in your `rules.mk`. By default the output is very limited, but you can turn on debug mode to increase the amount of debug output. Use the `DB_TOGG` keycode in your keymap, use the [Command](feature_command) feature to enable debug mode, or add the following code to your keymap.
+Your keyboard will output debug information if you have `CONSOLE_ENABLE = yes` in your `rules.mk`. By default the output is very limited, but you can turn on debug mode to increase the amount of debug output. Use the `DB_TOGG` keycode in your keymap, use the [Command](features/command) feature to enable debug mode, or add the following code to your keymap.
```c
void keyboard_post_init_user(void) {
diff --git a/docs/faq_keymap.md b/docs/faq_keymap.md
index 0070b6d1de..56ccc6f6cc 100644
--- a/docs/faq_keymap.md
+++ b/docs/faq_keymap.md
@@ -45,7 +45,7 @@ QMK has a couple of features which allow you to change the behavior of your keyb
Refer to the EEPROM clearing methods above, which should return those keys to normal operation. If that doesn't work, look here:
* [Magic Keycodes](keycodes_magic)
-* [Command](feature_command)
+* [Command](features/command)
## The Menu Key Isn't Working
@@ -86,7 +86,7 @@ Old vintage mechanical keyboards occasionally have lock switches but modern ones
## Input Special Characters Other Than ASCII like Cédille 'Ç'
-See the [Unicode](feature_unicode) feature.
+See the [Unicode](features/unicode) feature.
## `Fn` Key on macOS
@@ -130,7 +130,7 @@ https://github.com/tekezo/Karabiner/issues/403
## Esc and `
on a Single Key
-See the [Grave Escape](feature_grave_esc) feature.
+See the [Grave Escape](features/grave_esc) feature.
## Eject on Mac OSX
diff --git a/docs/feature_advanced_keycodes.md b/docs/feature_advanced_keycodes.md
index 50dc0bb281..7f5a10d1c1 100644
--- a/docs/feature_advanced_keycodes.md
+++ b/docs/feature_advanced_keycodes.md
@@ -160,7 +160,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
return true;
};
```
-Alternatively, this can be done with [Key Overrides](feature_key_overrides#simple-example).
+Alternatively, this can be done with [Key Overrides](features/key_overrides#simple-example).
# Advanced topics {#advanced-topics}
@@ -184,4 +184,4 @@ This page used to encompass a large set of features. We have moved many sections
## Key Overrides {#key-overrides}
-* [Key Overrides](feature_key_overrides)
+* [Key Overrides](features/key_overrides)
diff --git a/docs/feature_converters.md b/docs/feature_converters.md
index 9b2d027a66..229d1007ab 100644
--- a/docs/feature_converters.md
+++ b/docs/feature_converters.md
@@ -39,7 +39,7 @@ qmk flash -c -kb keebio/bdn9/rev1 -km default -e CONVERT_TO=proton_c
You can also add the same `CONVERT_TO=` to your keymap's `rules.mk`, which will accomplish the same thing.
::: tip
-If you get errors about `PORTB/DDRB`, etc not being defined, you'll need to convert the keyboard's code to use the [GPIO Controls](gpio_control) that will work for both ARM and AVR. This shouldn't affect the AVR builds at all.
+If you get errors about `PORTB/DDRB`, etc not being defined, you'll need to convert the keyboard's code to use the [GPIO Controls](drivers/gpio) that will work for both ARM and AVR. This shouldn't affect the AVR builds at all.
:::
### Conditional Configuration
@@ -118,11 +118,11 @@ The following defaults are based on what has been implemented for STM32 boards.
| Feature | Notes |
|----------------------------------------------|------------------------------------------------------------------------------------------------------------------|
-| [Audio](feature_audio) | Enabled |
-| [RGB Lighting](feature_rgblight) | Disabled |
-| [Backlight](feature_backlight) | Forces [task driven PWM](feature_backlight#software-pwm-driver) until ARM can provide automatic configuration |
+| [Audio](features/audio) | Enabled |
+| [RGB Lighting](features/rgblight) | Disabled |
+| [Backlight](features/backlight) | Forces [task driven PWM](features/backlight#software-pwm-driver) until ARM can provide automatic configuration |
| USB Host (e.g. USB-USB converter) | Not supported (USB host code is AVR specific and is not currently supported on ARM) |
-| [Split keyboards](feature_split_keyboard) | Partial - heavily dependent on enabled features |
+| [Split keyboards](features/split_keyboard) | Partial - heavily dependent on enabled features |
### Adafruit KB2040 {#kb2040}
@@ -130,10 +130,10 @@ The following defaults are based on what has been implemented for [RP2040](platf
| Feature | Notes |
|----------------------------------------------|------------------------------------------------------------------------------------------------------------------|
-| [RGB Lighting](feature_rgblight) | Enabled via `PIO` vendor driver |
-| [Backlight](feature_backlight) | Forces [task driven PWM](feature_backlight#software-pwm-driver) until ARM can provide automatic configuration |
+| [RGB Lighting](features/rgblight) | Enabled via `PIO` vendor driver |
+| [Backlight](features/backlight) | Forces [task driven PWM](features/backlight#software-pwm-driver) until ARM can provide automatic configuration |
| USB Host (e.g. USB-USB converter) | Not supported (USB host code is AVR specific and is not currently supported on ARM) |
-| [Split keyboards](feature_split_keyboard) | Partial via `PIO` vendor driver - heavily dependent on enabled features |
+| [Split keyboards](features/split_keyboard) | Partial via `PIO` vendor driver - heavily dependent on enabled features |
### SparkFun Pro Micro - RP2040, Blok, Bit-C PRO and Michi {#promicro_rp2040 }
diff --git a/docs/feature_eeprom.md b/docs/feature_eeprom.md
index 63026d3c10..2912407ac7 100644
--- a/docs/feature_eeprom.md
+++ b/docs/feature_eeprom.md
@@ -109,7 +109,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
}
}
```
-And lastly, you want to add the `eeconfig_init_user` function, so that when the EEPROM is reset, you can specify default values, and even custom actions. To force an EEPROM reset, use the `EE_CLR` keycode or [Bootmagic Lite](feature_bootmagic) functionallity. For example, if you want to set rgb layer indication by default, and save the default valued.
+And lastly, you want to add the `eeconfig_init_user` function, so that when the EEPROM is reset, you can specify default values, and even custom actions. To force an EEPROM reset, use the `EE_CLR` keycode or [Bootmagic Lite](features/bootmagic) functionallity. For example, if you want to set rgb layer indication by default, and save the default valued.
```c
void eeconfig_init_user(void) { // EEPROM is getting reset!
diff --git a/docs/feature_layers.md b/docs/feature_layers.md
index 77b6ef9531..fe9932fadb 100644
--- a/docs/feature_layers.md
+++ b/docs/feature_layers.md
@@ -27,7 +27,7 @@ For a similar reason, the `layer` argument of `LM()` is also limited to layers 0
|:---------------:|:----------------------:|:------------------------:|:----------------:|
| ❌ | ❌ | ❌ | ✅ |
-Expanding this would be complicated, at best. Moving to a 32-bit keycode would solve a lot of this, but would double the amount of space that the keymap matrix uses. And it could potentially cause issues, too. If you need to apply modifiers to your tapped keycode, [Tap Dance](feature_tap_dance#example-5-using-tap-dance-for-advanced-mod-tap-and-layer-tap-keys) can be used to accomplish this.
+Expanding this would be complicated, at best. Moving to a 32-bit keycode would solve a lot of this, but would double the amount of space that the keymap matrix uses. And it could potentially cause issues, too. If you need to apply modifiers to your tapped keycode, [Tap Dance](features/tap_dance#example-5-using-tap-dance-for-advanced-mod-tap-and-layer-tap-keys) can be used to accomplish this.
## Working with Layers {#working-with-layers}
@@ -104,7 +104,7 @@ This runs code every time that the layers get changed. This can be useful for l
### Example `layer_state_set_*` Implementation
-This example shows how to set the [RGB Underglow](feature_rgblight) lights based on the layer, using the Planck as an example.
+This example shows how to set the [RGB Underglow](features/rgblight) lights based on the layer, using the Planck as an example.
```c
layer_state_t layer_state_set_user(layer_state_t state) {
diff --git a/docs/feature_macros.md b/docs/feature_macros.md
index d5a830c0ef..055bb3ff8f 100644
--- a/docs/feature_macros.md
+++ b/docs/feature_macros.md
@@ -86,7 +86,7 @@ All objects have one required key: `action`. This tells QMK what the object does
Only basic keycodes (prefixed by `KC_`) are supported. Do not include the `KC_` prefix when listing keycodes.
* `beep`
- * Play a bell if the keyboard has [audio enabled](feature_audio).
+ * Play a bell if the keyboard has [audio enabled](features/audio).
* Example: `{"action": "beep"}`
* `delay`
* Pause macro playback. Duration is specified in milliseconds (ms).
@@ -108,7 +108,7 @@ Only basic keycodes (prefixed by `KC_`) are supported. Do not include the `KC_`
### `SEND_STRING()` & `process_record_user`
-See also: [Send String](feature_send_string)
+See also: [Send String](features/send_string)
Sometimes you want a key to type out words or phrases. For the most common situations, we've provided `SEND_STRING()`, which will type out a string (i.e. a sequence of characters) for you. All ASCII characters that are easily translatable to a keycode are supported (e.g. `qmk 123\n\t`).
diff --git a/docs/feature_audio.md b/docs/features/audio.md
similarity index 99%
rename from docs/feature_audio.md
rename to docs/features/audio.md
index ec28860ae9..2f5e5b2d98 100644
--- a/docs/feature_audio.md
+++ b/docs/features/audio.md
@@ -27,7 +27,7 @@ per speaker is - for example with a piezo buzzer - the black lead to Ground, and
## ARM based boards
-for more technical details, see the notes on [Audio driver](audio_driver).
+for more technical details, see the notes on [Audio driver](../drivers/audio).
### DAC (basic)
@@ -196,7 +196,7 @@ These keycodes turn all of the audio functionality on and off. Turning it off m
|`GUITAR_SONG` | `GUITAR_SOUND` |Plays when the guitar music mode is selected (process_music.c) |
|`VIOLIN_SONG` | `VIOLIN_SOUND` |Plays when the violin music mode is selected (process_music.c) |
|`MAJOR_SONG` | `MAJOR_SOUND` |Plays when the major music mode is selected (process_music.c) |
-|`DEFAULT_LAYER_SONGS` | *Not defined* |Plays song when switched default layers with [`set_single_persistent_default_layer(layer)`](ref_functions.md#setting-the-persistent-default-layer)(quantum.c). |
+|`DEFAULT_LAYER_SONGS` | *Not defined* |Plays song when switched default layers with [`set_single_persistent_default_layer(layer)`](../ref_functions#setting-the-persistent-default-layer)(quantum.c). |
|`SENDSTRING_BELL` | *Not defined* |Plays chime when the "enter" ("\a") character is sent (send_string.c) |
## Tempo
@@ -354,7 +354,7 @@ You can configure the default, min and max frequencies, the stepping and built i
## MIDI Functionality
-See [MIDI](feature_midi)
+See [MIDI](midi)
## Audio Keycodes
diff --git a/docs/feature_auto_shift.md b/docs/features/auto_shift.md
similarity index 97%
rename from docs/feature_auto_shift.md
rename to docs/features/auto_shift.md
index 53635e39f0..45b9048f03 100644
--- a/docs/feature_auto_shift.md
+++ b/docs/features/auto_shift.md
@@ -294,7 +294,7 @@ Holding and releasing a Tap Hold key without pressing another key will ordinaril
result in only the hold. With `retro shift` enabled this action will instead
produce a shifted version of the tap keycode on release.
-It does not require [Retro Tapping](tap_hold#retro-tapping) to be enabled, and
+It does not require [Retro Tapping](../tap_hold#retro-tapping) to be enabled, and
if both are enabled the state of `retro tapping` will only apply if the tap keycode
is not matched by Auto Shift. `RETRO_TAPPING_PER_KEY` and its corresponding
function, however, are checked before `retro shift` is applied.
@@ -318,10 +318,10 @@ Without a value set, holds of any length without an interrupting key will produc
This value (if set) must be greater than one's `TAPPING_TERM`, as the key press
must be designated as a 'hold' by `process_tapping` before we send the modifier.
-[Per-key tapping terms](tap_hold#tapping-term) can be used as a workaround.
+[Per-key tapping terms](../tap_hold#tapping-term) can be used as a workaround.
There is no such limitation in regards to `AUTO_SHIFT_TIMEOUT` for normal keys.
-**Note:** Tap Holds must be added to Auto Shift, see [here.](feature_auto_shift#auto-shift-per-key)
+**Note:** Tap Holds must be added to Auto Shift, see [here.](auto_shift#auto-shift-per-key)
`IS_RETRO` may be helpful if one wants all Tap Holds retro shifted.
### Retro Shift and Tap Hold Configurations
@@ -330,7 +330,7 @@ Tap Hold Configurations work a little differently when using Retro Shift.
Referencing `TAPPING_TERM` makes little sense, as holding longer would result in
shifting one of the keys.
-`RETRO_SHIFT` enables [`PERMISSIVE_HOLD`-like behaviour](tap_hold#permissive-hold) (even if not explicitly enabled) on all mod-taps for which `RETRO_SHIFT` applies.
+`RETRO_SHIFT` enables [`PERMISSIVE_HOLD`-like behaviour](../tap_hold#permissive-hold) (even if not explicitly enabled) on all mod-taps for which `RETRO_SHIFT` applies.
## Using Auto Shift Setup
diff --git a/docs/feature_autocorrect.md b/docs/features/autocorrect.md
similarity index 98%
rename from docs/feature_autocorrect.md
rename to docs/features/autocorrect.md
index 1ad582207a..df3f2e0fd8 100644
--- a/docs/feature_autocorrect.md
+++ b/docs/features/autocorrect.md
@@ -113,7 +113,7 @@ Additionally, you can use the `AC_TOGG` keycode to toggle the on/off status for
Callback function `bool process_autocorrect_user(uint16_t *keycode, keyrecord_t *record, uint8_t *typo_buffer_size, uint8_t *mods)` is available to customise incoming keycodes and handle exceptions. You can use this function to sanitise input before they are passed onto the autocorrect engine
::: tip
-Sanitisation of input is required because autocorrect will only match 8-bit [basic keycodes](keycodes_basic) for typos. If valid modifier keys or 16-bit keycodes that are part of a user's word input (such as Shift + A) is passed through, they will fail typo letter detection. For example a [Mod-Tap](mod_tap) key such as `LCTL_T(KC_A)` is 16-bit and should be masked for the 8-bit `KC_A`.
+Sanitisation of input is required because autocorrect will only match 8-bit [basic keycodes](../keycodes_basic) for typos. If valid modifier keys or 16-bit keycodes that are part of a user's word input (such as Shift + A) is passed through, they will fail typo letter detection. For example a [Mod-Tap](../mod_tap) key such as `LCTL_T(KC_A)` is 16-bit and should be masked for the 8-bit `KC_A`.
:::
The default user callback function is found inside `quantum/process_keycode/process_autocorrect.c`. It covers most use-cases for QMK special functions and quantum keycodes, including [overriding autocorrect](#overriding-autocorrect) with a modifier other than shift. The `process_autocorrect_user` function is `weak` defined to allow user's copy inside `keymap.c` (or code files) to overwrite it.
diff --git a/docs/feature_backlight.md b/docs/features/backlight.md
similarity index 97%
rename from docs/feature_backlight.md
rename to docs/features/backlight.md
index 545d7be949..94726756fd 100644
--- a/docs/feature_backlight.md
+++ b/docs/features/backlight.md
@@ -1,6 +1,6 @@
# Backlighting {#backlighting}
-Many keyboards support backlit keys by way of individual LEDs placed through or underneath the keyswitches. This feature is distinct from both the [RGB Underglow](feature_rgblight) and [RGB Matrix](feature_rgb_matrix) features as it usually allows for only a single colour per switch, though you can obviously install multiple different single coloured LEDs on a keyboard.
+Many keyboards support backlit keys by way of individual LEDs placed through or underneath the keyswitches. This feature is distinct from both the [RGB Underglow](rgblight) and [RGB Matrix](rgb_matrix) features as it usually allows for only a single colour per switch, though you can obviously install multiple different single coloured LEDs on a keyboard.
QMK is able to control the brightness of these LEDs by switching them on and off rapidly in a certain ratio, a technique known as *Pulse Width Modulation*, or PWM. By altering the duty cycle of the PWM signal, it creates the illusion of dimming.
@@ -153,7 +153,7 @@ The following `#define`s apply only to the `timer` driver:
|-----------------------|-------|----------------|
|`BACKLIGHT_PWM_TIMER` |`1` |The timer to use|
-Note that the choice of timer may conflict with the [Audio](feature_audio) feature.
+Note that the choice of timer may conflict with the [Audio](audio) feature.
## ChibiOS/ARM Configuration {#arm-configuration}
diff --git a/docs/feature_bluetooth.md b/docs/features/bluetooth.md
similarity index 96%
rename from docs/feature_bluetooth.md
rename to docs/features/bluetooth.md
index 7562a75447..1dbf15f4e1 100644
--- a/docs/feature_bluetooth.md
+++ b/docs/features/bluetooth.md
@@ -26,7 +26,7 @@ A Bluefruit UART friend can be converted to an SPI friend, however this [require
## Bluetooth Rules.mk Options
-The currently supported Bluetooth chipsets do not support [N-Key Rollover (NKRO)](reference_glossary#n-key-rollover-nkro), so `rules.mk` must contain `NKRO_ENABLE = no`.
+The currently supported Bluetooth chipsets do not support [N-Key Rollover (NKRO)](../reference_glossary#n-key-rollover-nkro), so `rules.mk` must contain `NKRO_ENABLE = no`.
Add the following to your `rules.mk`:
diff --git a/docs/feature_bootmagic.md b/docs/features/bootmagic.md
similarity index 87%
rename from docs/feature_bootmagic.md
rename to docs/features/bootmagic.md
index df0344ee8e..49fae5ba45 100644
--- a/docs/feature_bootmagic.md
+++ b/docs/features/bootmagic.md
@@ -25,7 +25,7 @@ Using Bootmagic will **always reset** the EEPROM, so you will lose any settings
## Split Keyboards
-When [handedness](feature_split_keyboard#setting-handedness) is predetermined via options like `SPLIT_HAND_PIN` or `EE_HANDS`, you might need to configure a different key between halves. To identify the correct key for the right half, examine the split key matrix defined in the `.h` file, e.g.:
+When [handedness](split_keyboard#setting-handedness) is predetermined via options like `SPLIT_HAND_PIN` or `EE_HANDS`, you might need to configure a different key between halves. To identify the correct key for the right half, examine the split key matrix defined in the `.h` file, e.g.:
```c
#define LAYOUT_split_3x5_2( \
@@ -80,6 +80,6 @@ You can define additional logic here. For instance, resetting the EEPROM or requ
## Addenda
-To manipulate settings that were formerly configured through the now-deprecated full Bootmagic feature, see [Magic Keycodes](keycodes_magic).
+To manipulate settings that were formerly configured through the now-deprecated full Bootmagic feature, see [Magic Keycodes](../keycodes_magic).
-The Command feature, formerly known as Magic, also allows you to control different aspects of your keyboard. While it shares some functionality with Magic Keycodes, it also allows you to do things that Magic Keycodes cannot, such as printing version information to the console. For more information, see [Command](feature_command).
+The Command feature, formerly known as Magic, also allows you to control different aspects of your keyboard. While it shares some functionality with Magic Keycodes, it also allows you to do things that Magic Keycodes cannot, such as printing version information to the console. For more information, see [Command](command).
diff --git a/docs/feature_caps_word.md b/docs/features/caps_word.md
similarity index 98%
rename from docs/feature_caps_word.md
rename to docs/features/caps_word.md
index 666edecb6e..15361aab96 100644
--- a/docs/feature_caps_word.md
+++ b/docs/features/caps_word.md
@@ -62,7 +62,7 @@ Next, use one the following methods to activate Caps Word:
* **Custom activation**: You can activate Caps Word from code by calling
`caps_word_on()`. This may be used to activate Caps Word through [a
- combo](feature_combo) or [tap dance](feature_tap_dance) or any means
+ combo](combo) or [tap dance](tap_dance) or any means
you like.
### Troubleshooting: Command {#troubleshooting-command}
@@ -71,7 +71,7 @@ When using `BOTH_SHIFTS_TURNS_ON_CAPS_WORD`, you might see a compile message
**"BOTH_SHIFTS_TURNS_ON_CAPS_WORD and Command should not be enabled at the same
time, since both use the Left Shift + Right Shift key combination."**
-Many keyboards enable the [Command feature](feature_command), which by
+Many keyboards enable the [Command feature](command), which by
default is also activated using the Left Shift + Right Shift key combination. To
fix this conflict, please disable Command by adding in rules.mk:
diff --git a/docs/feature_combo.md b/docs/features/combo.md
similarity index 98%
rename from docs/feature_combo.md
rename to docs/features/combo.md
index b49a444804..bdb8c4b15f 100644
--- a/docs/feature_combo.md
+++ b/docs/features/combo.md
@@ -18,7 +18,7 @@ combo_t key_combos[] = {
This will send "Escape" if you hit the A and B keys, and Ctrl+Z when you hit the C and D keys.
## Advanced Keycodes Support
-Advanced keycodes, such as [Mod-Tap](mod_tap) and [Tap Dance](feature_tap_dance) are also supported together with combos. If you use these advanced keycodes in your keymap, you will need to place the full keycode in the combo definition, e.g.:
+Advanced keycodes, such as [Mod-Tap](../mod_tap) and [Tap Dance](tap_dance) are also supported together with combos. If you use these advanced keycodes in your keymap, you will need to place the full keycode in the combo definition, e.g.:
```c
const uint16_t PROGMEM test_combo1[] = {LSFT_T(KC_A), LT(1, KC_B), COMBO_END};
@@ -99,7 +99,7 @@ void process_combo_event(uint16_t combo_index, bool pressed) {
This will send "john.doe@example.com" if you chord E and M together, and clear the current line with Backspace and Left-Shift. You could change this to do stuff like play sounds or change settings.
-It is worth noting that `COMBO_ACTION`s are not needed anymore. As of [PR#8591](https://github.com/qmk/qmk_firmware/pull/8591/), it is possible to run your own custom keycodes from combos. Just define the custom keycode, program its functionality in `process_record_user`, and define a combo with `COMBO(, )`. See the first example in [Macros](feature_macros).
+It is worth noting that `COMBO_ACTION`s are not needed anymore. As of [PR#8591](https://github.com/qmk/qmk_firmware/pull/8591/), it is possible to run your own custom keycodes from combos. Just define the custom keycode, program its functionality in `process_record_user`, and define a combo with `COMBO(, )`. See the first example in [Macros](../feature_macros).
## Keycodes
You can enable, disable and toggle the Combo feature on the fly. This is useful if you need to disable them temporarily, such as for a game. The following keycodes are available for use in your `keymap.c`
diff --git a/docs/feature_command.md b/docs/features/command.md
similarity index 95%
rename from docs/feature_command.md
rename to docs/features/command.md
index 4aba9cfb63..7ad45103c7 100644
--- a/docs/feature_command.md
+++ b/docs/features/command.md
@@ -1,6 +1,6 @@
# Command
-Command, formerly known as Magic, is a way to change your keyboard's behavior without having to flash or unplug it to use [Bootmagic Lite](feature_bootmagic). There is a lot of overlap between this functionality and the [Magic Keycodes](keycodes_magic). Wherever possible we encourage you to use that feature instead of Command.
+Command, formerly known as Magic, is a way to change your keyboard's behavior without having to flash or unplug it to use [Bootmagic Lite](bootmagic). There is a lot of overlap between this functionality and the [Magic Keycodes](../keycodes_magic). Wherever possible we encourage you to use that feature instead of Command.
On some keyboards Command is disabled by default. If this is the case, it must be explicitly enabled in your `rules.mk`:
diff --git a/docs/feature_digitizer.md b/docs/features/digitizer.md
similarity index 96%
rename from docs/feature_digitizer.md
rename to docs/features/digitizer.md
index 475d5b4d51..e524877636 100644
--- a/docs/feature_digitizer.md
+++ b/docs/features/digitizer.md
@@ -1,6 +1,6 @@
# Digitizer {#digitizer}
-Digitizers allow the mouse cursor to be placed at absolute coordinates, unlike the [Pointing Device](feature_pointing_device) feature which applies relative displacements.
+Digitizers allow the mouse cursor to be placed at absolute coordinates, unlike the [Pointing Device](pointing_device) feature which applies relative displacements.
This feature implements a stylus device with a tip switch and barrel switch (generally equivalent to the primary and secondary mouse buttons respectively). Tip pressure is not currently implemented.
diff --git a/docs/feature_dip_switch.md b/docs/features/dip_switch.md
similarity index 100%
rename from docs/feature_dip_switch.md
rename to docs/features/dip_switch.md
diff --git a/docs/feature_dynamic_macros.md b/docs/features/dynamic_macros.md
similarity index 100%
rename from docs/feature_dynamic_macros.md
rename to docs/features/dynamic_macros.md
diff --git a/docs/feature_encoders.md b/docs/features/encoders.md
similarity index 100%
rename from docs/feature_encoders.md
rename to docs/features/encoders.md
diff --git a/docs/feature_grave_esc.md b/docs/features/grave_esc.md
similarity index 100%
rename from docs/feature_grave_esc.md
rename to docs/features/grave_esc.md
diff --git a/docs/feature_haptic_feedback.md b/docs/features/haptic_feedback.md
similarity index 99%
rename from docs/feature_haptic_feedback.md
rename to docs/features/haptic_feedback.md
index 16370327cb..52667965a0 100644
--- a/docs/feature_haptic_feedback.md
+++ b/docs/features/haptic_feedback.md
@@ -192,11 +192,11 @@ The Haptic Exclusion is implemented as `__attribute__((weak)) bool get_haptic_en
With the entry of `#define NO_HAPTIC_MOD` in config.h, the following keys will not trigger feedback:
* Usual modifier keys such as Control/Shift/Alt/Gui (For example `KC_LCTL`)
-* `MO()` momentary keys. See also [Layers](feature_layers).
+* `MO()` momentary keys. See also [Layers](../feature_layers).
* `LM()` momentary keys with mod active.
* `LT()` layer tap keys, when held to activate a layer. However when tapped, and the key is quickly released, and sends a keycode, haptic feedback is still triggered.
* `TT()` layer tap toggle keys, when held to activate a layer. However when tapped `TAPPING_TOGGLE` times to permanently toggle the layer, on the last tap haptic feedback is still triggered.
-* `MT()` mod tap keys, when held to keep a usual modifier key pressed. However when tapped, and the key is quickly released, and sends a keycode, haptic feedback is still triggered. See also [Mod-Tap](mod_tap).
+* `MT()` mod tap keys, when held to keep a usual modifier key pressed. However when tapped, and the key is quickly released, and sends a keycode, haptic feedback is still triggered. See also [Mod-Tap](../mod_tap).
### NO_HAPTIC_ALPHA
With the entry of `#define NO_HAPTIC_ALPHA` in config.h, none of the alpha keys (A ... Z) will trigger a feedback.
diff --git a/docs/feature_hd44780.md b/docs/features/hd44780.md
similarity index 100%
rename from docs/feature_hd44780.md
rename to docs/features/hd44780.md
diff --git a/docs/feature_joystick.md b/docs/features/joystick.md
similarity index 98%
rename from docs/feature_joystick.md
rename to docs/features/joystick.md
index 75bffa605a..f3fd209d5a 100644
--- a/docs/feature_joystick.md
+++ b/docs/features/joystick.md
@@ -1,6 +1,6 @@
# Joystick {#joystick}
-This feature provides game controller input as a joystick device supporting up to 6 axes and 32 buttons. Axes can be read either from an [ADC-capable input pin](adc_driver), or can be virtual, so that its value is provided by your code.
+This feature provides game controller input as a joystick device supporting up to 6 axes and 32 buttons. Axes can be read either from an [ADC-capable input pin](../drivers/adc), or can be virtual, so that its value is provided by your code.
An analog device such as a [potentiometer](https://en.wikipedia.org/wiki/Potentiometer) found on an analog joystick's axes is based on a voltage divider, where adjusting the movable wiper controls the output voltage which can then be read by the microcontroller's ADC.
diff --git a/docs/feature_key_lock.md b/docs/features/key_lock.md
similarity index 86%
rename from docs/feature_key_lock.md
rename to docs/features/key_lock.md
index 1a0a2dfb60..ba3b71ef06 100644
--- a/docs/feature_key_lock.md
+++ b/docs/features/key_lock.md
@@ -16,8 +16,8 @@ First, enable Key Lock by setting `KEY_LOCK_ENABLE = yes` in your `rules.mk`. Th
## Caveats
-Key Lock is only able to hold standard action keys and [One Shot modifier](one_shot_keys) keys (for example, if you have your Shift defined as `OSM(MOD_LSFT)`).
-This does not include any of the QMK special functions (except One Shot modifiers), or shifted versions of keys such as `KC_LPRN`. If it's in the [Basic Keycodes](keycodes_basic) list, it can be held.
+Key Lock is only able to hold standard action keys and [One Shot modifier](../one_shot_keys) keys (for example, if you have your Shift defined as `OSM(MOD_LSFT)`).
+This does not include any of the QMK special functions (except One Shot modifiers), or shifted versions of keys such as `KC_LPRN`. If it's in the [Basic Keycodes](../keycodes_basic) list, it can be held.
Switching layers will not cancel the Key Lock. The Key Lock can be cancelled by calling the `cancel_key_lock()` function.
diff --git a/docs/feature_key_overrides.md b/docs/features/key_overrides.md
similarity index 95%
rename from docs/feature_key_overrides.md
rename to docs/features/key_overrides.md
index b9fbd35966..4c568f1679 100644
--- a/docs/feature_key_overrides.md
+++ b/docs/features/key_overrides.md
@@ -103,7 +103,7 @@ const key_override_t **key_overrides = (const key_override_t *[]){
```
### Flexible macOS-friendly Grave Escape {#flexible-macos-friendly-grave-escape}
-The [Grave Escape feature](feature_grave_esc) is limited in its configurability and has [bugs when used on macOS](feature_grave_esc#caveats). Key overrides can be used to achieve a similar functionality as Grave Escape, but with more customization and without bugs on macOS.
+The [Grave Escape feature](grave_esc) is limited in its configurability and has [bugs when used on macOS](grave_esc#caveats). Key overrides can be used to achieve a similar functionality as Grave Escape, but with more customization and without bugs on macOS.
```c
// Shift + esc = ~
@@ -224,7 +224,7 @@ The duration of the key repeat delay is controlled with the `KEY_OVERRIDE_REPEAT
## Difference to Combos {#difference-to-combos}
-Note that key overrides are very different from [combos](feature_combo). Combos require that you press down several keys almost _at the same time_ and can work with any combination of non-modifier keys. Key overrides work like keyboard shortcuts (e.g. `ctrl` + `z`): They take combinations of _multiple_ modifiers and _one_ non-modifier key to then perform some custom action. Key overrides are implemented with much care to behave just like normal keyboard shortcuts would in regards to the order of pressed keys, timing, and interaction with other pressed keys. There are a number of optional settings that can be used to really fine-tune the behavior of each key override as well. Using key overrides also does not delay key input for regular key presses, which inherently happens in combos and may be undesirable.
+Note that key overrides are very different from [combos](combo). Combos require that you press down several keys almost _at the same time_ and can work with any combination of non-modifier keys. Key overrides work like keyboard shortcuts (e.g. `ctrl` + `z`): They take combinations of _multiple_ modifiers and _one_ non-modifier key to then perform some custom action. Key overrides are implemented with much care to behave just like normal keyboard shortcuts would in regards to the order of pressed keys, timing, and interaction with other pressed keys. There are a number of optional settings that can be used to really fine-tune the behavior of each key override as well. Using key overrides also does not delay key input for regular key presses, which inherently happens in combos and may be undesirable.
## Solution to the problem of flashing modifiers {#neutralize-flashing-modifiers}
diff --git a/docs/feature_leader_key.md b/docs/features/leader_key.md
similarity index 94%
rename from docs/feature_leader_key.md
rename to docs/features/leader_key.md
index 641c2d7ae5..a36e630a36 100644
--- a/docs/feature_leader_key.md
+++ b/docs/features/leader_key.md
@@ -1,6 +1,6 @@
# The Leader Key: A New Kind of Modifier {#the-leader-key}
-If you're a Vim user, you probably know what a Leader key is. In contrast to [Combos](feature_combo), the Leader key allows you to hit a *sequence* of up to five keys instead, which triggers some custom functionality once complete.
+If you're a Vim user, you probably know what a Leader key is. In contrast to [Combos](combo), the Leader key allows you to hit a *sequence* of up to five keys instead, which triggers some custom functionality once complete.
## Usage {#usage}
@@ -86,7 +86,7 @@ Now, after you hit the leader key, you will have an infinite amount of time to s
### Strict Key Processing {#strict-key-processing}
-By default, only the "tap keycode" portions of [Mod-Taps](mod_tap) and [Layer Taps](feature_layers#switching-and-toggling-layers) are added to the sequence buffer. This means if you press eg. `LT(3, KC_A)` as part of a sequence, `KC_A` will be added to the buffer, rather than the entire `LT(3, KC_A)` keycode.
+By default, only the "tap keycode" portions of [Mod-Taps](../mod_tap) and [Layer Taps](../feature_layers#switching-and-toggling-layers) are added to the sequence buffer. This means if you press eg. `LT(3, KC_A)` as part of a sequence, `KC_A` will be added to the buffer, rather than the entire `LT(3, KC_A)` keycode.
This gives a more expected behaviour for most users, however you may want to change this.
diff --git a/docs/feature_led_indicators.md b/docs/features/led_indicators.md
similarity index 98%
rename from docs/feature_led_indicators.md
rename to docs/features/led_indicators.md
index e28c222e76..8435c69a55 100644
--- a/docs/feature_led_indicators.md
+++ b/docs/features/led_indicators.md
@@ -1,7 +1,7 @@
# LED Indicators
::: tip
-LED indicators on split keyboards will require state information synced to the slave half (e.g. `#define SPLIT_LED_STATE_ENABLE`). See [data sync options](feature_split_keyboard#data-sync-options) for more details.
+LED indicators on split keyboards will require state information synced to the slave half (e.g. `#define SPLIT_LED_STATE_ENABLE`). See [data sync options](split_keyboard#data-sync-options) for more details.
:::
QMK provides methods to read 5 of the LEDs defined in the HID spec:
diff --git a/docs/feature_led_matrix.md b/docs/features/led_matrix.md
similarity index 99%
rename from docs/feature_led_matrix.md
rename to docs/features/led_matrix.md
index 78afb36d2c..fee7b139bc 100644
--- a/docs/feature_led_matrix.md
+++ b/docs/features/led_matrix.md
@@ -2,7 +2,7 @@
This feature allows you to use LED matrices driven by external drivers. It hooks into the backlight system so you can use the same keycodes as backlighting to control it.
-If you want to use RGB LED's you should use the [RGB Matrix Subsystem](feature_rgb_matrix) instead.
+If you want to use RGB LED's you should use the [RGB Matrix Subsystem](rgb_matrix) instead.
## Driver configuration {#driver-configuration}
---
diff --git a/docs/feature_midi.md b/docs/features/midi.md
similarity index 99%
rename from docs/feature_midi.md
rename to docs/features/midi.md
index 89c6af0508..32c062e54d 100644
--- a/docs/feature_midi.md
+++ b/docs/features/midi.md
@@ -34,7 +34,7 @@ To enable advanced MIDI, add the following to your `config.h`:
If you're aiming to emulate the features of something like a Launchpad or other MIDI controller you'll need to access the internal MIDI device directly.
-Because there are so many possible CC messages, not all of them are implemented as keycodes. Additionally, you might need to provide more than just two values that you would get from a keycode (pressed and released) - for example, the analog values from a fader or a potentiometer. So, you will need to implement [custom keycodes](feature_macros) if you want to use them in your keymap directly using `process_record_user()`.
+Because there are so many possible CC messages, not all of them are implemented as keycodes. Additionally, you might need to provide more than just two values that you would get from a keycode (pressed and released) - for example, the analog values from a fader or a potentiometer. So, you will need to implement [custom keycodes](../feature_macros) if you want to use them in your keymap directly using `process_record_user()`.
For reference of all the possible control code numbers see [MIDI Specification](#midi-specification)
diff --git a/docs/feature_mouse_keys.md b/docs/features/mouse_keys.md
similarity index 98%
rename from docs/feature_mouse_keys.md
rename to docs/features/mouse_keys.md
index 240f6bf9be..c2b3e98f42 100644
--- a/docs/feature_mouse_keys.md
+++ b/docs/features/mouse_keys.md
@@ -205,4 +205,4 @@ Tips:
## Use with PS/2 Mouse and Pointing Device
-Mouse keys button state is shared with [PS/2 mouse](feature_ps2_mouse) and [pointing device](feature_pointing_device) so mouse keys button presses can be used for clicks and drags.
+Mouse keys button state is shared with [PS/2 mouse](ps2_mouse) and [pointing device](pointing_device) so mouse keys button presses can be used for clicks and drags.
diff --git a/docs/feature_oled_driver.md b/docs/features/oled_driver.md
similarity index 100%
rename from docs/feature_oled_driver.md
rename to docs/features/oled_driver.md
diff --git a/docs/feature_os_detection.md b/docs/features/os_detection.md
similarity index 100%
rename from docs/feature_os_detection.md
rename to docs/features/os_detection.md
diff --git a/docs/feature_pointing_device.md b/docs/features/pointing_device.md
similarity index 98%
rename from docs/feature_pointing_device.md
rename to docs/features/pointing_device.md
index 933202a009..a6bf521a18 100644
--- a/docs/feature_pointing_device.md
+++ b/docs/features/pointing_device.md
@@ -420,7 +420,7 @@ Any pointing device with a lift/contact status can integrate inertial cursor fea
## Split Keyboard Configuration
-The following configuration options are only available when using `SPLIT_POINTING_ENABLE` see [data sync options](feature_split_keyboard#data-sync-options). The rotation and invert `*_RIGHT` options are only used with `POINTING_DEVICE_COMBINED`. If using `POINTING_DEVICE_LEFT` or `POINTING_DEVICE_RIGHT` use the common configuration above to configure your pointing device.
+The following configuration options are only available when using `SPLIT_POINTING_ENABLE` see [data sync options](split_keyboard#data-sync-options). The rotation and invert `*_RIGHT` options are only used with `POINTING_DEVICE_COMBINED`. If using `POINTING_DEVICE_LEFT` or `POINTING_DEVICE_RIGHT` use the common configuration above to configure your pointing device.
| Setting | Description | Default |
| ------------------------------------ | ----------------------------------------------------------------------------------------------------- | ------------- |
@@ -434,7 +434,7 @@ The following configuration options are only available when using `SPLIT_POINTIN
| `POINTING_DEVICE_INVERT_Y_RIGHT` | (Optional) Inverts the Y axis report. | _not defined_ |
::: warning
-If there is a `_RIGHT` configuration option or callback, the [common configuration](feature_pointing_device#common-configuration) option will work for the left. For correct left/right detection you should setup a [handedness option](feature_split_keyboard#setting-handedness), `EE_HANDS` is usually a good option for an existing board that doesn't do handedness by hardware.
+If there is a `_RIGHT` configuration option or callback, the [common configuration](pointing_device#common-configuration) option will work for the left. For correct left/right detection you should setup a [handedness option](split_keyboard#setting-handedness), `EE_HANDS` is usually a good option for an existing board that doesn't do handedness by hardware.
:::
@@ -458,7 +458,7 @@ If there is a `_RIGHT` configuration option or callback, the [common configurati
## Split Keyboard Callbacks and Functions
-The combined functions below are only available when using `SPLIT_POINTING_ENABLE` and `POINTING_DEVICE_COMBINED`. The 2 callbacks `pointing_device_task_combined_*` replace the single sided equivalents above. See the [combined pointing devices example](feature_pointing_device#combined-pointing-devices)
+The combined functions below are only available when using `SPLIT_POINTING_ENABLE` and `POINTING_DEVICE_COMBINED`. The 2 callbacks `pointing_device_task_combined_*` replace the single sided equivalents above. See the [combined pointing devices example](pointing_device#combined-pointing-devices)
| Function | Description |
| --------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------ |
@@ -684,7 +684,7 @@ If you are having issues with pointing device drivers debug messages can be enab
```
::: tip
-The messages will be printed out to the `CONSOLE` output. For additional information, refer to [Debugging/Troubleshooting QMK](faq_debug).
+The messages will be printed out to the `CONSOLE` output. For additional information, refer to [Debugging/Troubleshooting QMK](../faq_debug).
:::
diff --git a/docs/feature_programmable_button.md b/docs/features/programmable_button.md
similarity index 100%
rename from docs/feature_programmable_button.md
rename to docs/features/programmable_button.md
diff --git a/docs/feature_ps2_mouse.md b/docs/features/ps2_mouse.md
similarity index 100%
rename from docs/feature_ps2_mouse.md
rename to docs/features/ps2_mouse.md
diff --git a/docs/feature_rawhid.md b/docs/features/rawhid.md
similarity index 100%
rename from docs/feature_rawhid.md
rename to docs/features/rawhid.md
diff --git a/docs/feature_repeat_key.md b/docs/features/repeat_key.md
similarity index 98%
rename from docs/feature_repeat_key.md
rename to docs/features/repeat_key.md
index c353ec5b59..53495e0f4d 100644
--- a/docs/feature_repeat_key.md
+++ b/docs/features/repeat_key.md
@@ -172,7 +172,7 @@ uint16_t get_alt_repeat_key_keycode_user(uint16_t keycode, uint8_t mods) {
#### Typing shortcuts
A useful possibility is having Alternate Repeat press [a
-macro](feature_macros). This way macros can be used without having to
+macro](../feature_macros). This way macros can be used without having to
dedicate keys to them. The following defines a couple shortcuts.
* Typing K, Alt Repeat produces "`keyboard`," with the
@@ -281,11 +281,8 @@ bool remember_last_key_user(uint16_t keycode, keyrecord_t* record,
```
::: tip
-See [Layer Functions](feature_layers#functions) and [Checking Modifier
+See [Layer Functions](../feature_layers#functions) and [Checking Modifier State](../feature_advanced_keycodes#checking-modifier-state) for further details.
:::
-State](feature_advanced_keycodes#checking-modifier-state) for further
-details.
-
## Handle how a key is repeated
@@ -388,7 +385,7 @@ By leveraging `get_last_keycode()` in macros, it is possible to define
additional, distinct "Alternate Repeat"-like keys. The following defines two
keys `ALTREP2` and `ALTREP3` and implements ten shortcuts with them for common
English 5-gram letter patterns, taking inspiration from
-[Stenotype](feature_stenography):
+[Stenotype](stenography):
| Typing | Produces | Typing | Produces |
diff --git a/docs/feature_rgb_matrix.md b/docs/features/rgb_matrix.md
similarity index 99%
rename from docs/feature_rgb_matrix.md
rename to docs/features/rgb_matrix.md
index b9c01dcbf5..f7f693f239 100644
--- a/docs/feature_rgb_matrix.md
+++ b/docs/features/rgb_matrix.md
@@ -2,7 +2,7 @@
This feature allows you to use RGB LED matrices driven by external drivers. It hooks into the RGBLIGHT system so you can use the same keycodes as RGBLIGHT to control it.
-If you want to use single color LED's you should use the [LED Matrix Subsystem](feature_led_matrix) instead.
+If you want to use single color LED's you should use the [LED Matrix Subsystem](led_matrix) instead.
## Driver configuration {#driver-configuration}
---
@@ -444,7 +444,7 @@ Configure the hardware via your `config.h`:
```
::: tip
-There are additional configuration options for ARM controllers that offer increased performance over the default bitbang driver. Please see [WS2812 Driver](ws2812_driver) for more information.
+There are additional configuration options for ARM controllers that offer increased performance over the default bitbang driver. Please see [WS2812 Driver](../drivers/ws2812) for more information.
:::
---
@@ -619,7 +619,7 @@ All RGB keycodes are currently shared with the RGBLIGHT system:
::: warning
-By default, if you have both the [RGB Light](feature_rgblight) and the RGB Matrix feature enabled, these keycodes will work for both features, at the same time. You can disable the keycode functionality by defining the `*_DISABLE_KEYCODES` option for the specific feature.
+By default, if you have both the [RGB Light](rgblight) and the RGB Matrix feature enabled, these keycodes will work for both features, at the same time. You can disable the keycode functionality by defining the `*_DISABLE_KEYCODES` option for the specific feature.
:::
## RGB Matrix Effects {#rgb-matrix-effects}
@@ -1060,7 +1060,7 @@ bool rgb_matrix_indicators_advanced_user(uint8_t led_min, uint8_t led_max) {
```
::: tip
-Split keyboards will require layer state data syncing with `#define SPLIT_LAYER_STATE_ENABLE`. See [Data Sync Options](feature_split_keyboard#data-sync-options) for more details.
+Split keyboards will require layer state data syncing with `#define SPLIT_LAYER_STATE_ENABLE`. See [Data Sync Options](split_keyboard#data-sync-options) for more details.
:::
#### Examples {#indicator-examples-2}
@@ -1105,7 +1105,7 @@ bool rgb_matrix_indicators_advanced_user(uint8_t led_min, uint8_t led_max) {
```
::: tip
-RGB indicators on split keyboards will require state information synced to the slave half (e.g. `#define SPLIT_LAYER_STATE_ENABLE`). See [data sync options](feature_split_keyboard#data-sync-options) for more details.
+RGB indicators on split keyboards will require state information synced to the slave half (e.g. `#define SPLIT_LAYER_STATE_ENABLE`). See [data sync options](split_keyboard#data-sync-options) for more details.
:::
#### Indicators without RGB Matrix Effect
diff --git a/docs/feature_rgblight.md b/docs/features/rgblight.md
similarity index 98%
rename from docs/feature_rgblight.md
rename to docs/features/rgblight.md
index 682d8b8cba..ece1c10467 100644
--- a/docs/feature_rgblight.md
+++ b/docs/features/rgblight.md
@@ -23,7 +23,7 @@ RGBLIGHT_ENABLE = yes
```
::: tip
-There are additional configuration options for ARM controllers that offer increased performance over the default WS2812 bitbang driver. Please see [WS2812 Driver](ws2812_driver) for more information.
+There are additional configuration options for ARM controllers that offer increased performance over the default WS2812 bitbang driver. Please see [WS2812 Driver](../drivers/ws2812) for more information.
:::
For APA102 LEDs, add the following to your `rules.mk`:
@@ -49,7 +49,7 @@ Then you should be able to use the keycodes below to change the RGB lighting to
QMK uses [Hue, Saturation, and Value](https://en.wikipedia.org/wiki/HSL_and_HSV) to select colors rather than RGB. The color wheel below demonstrates how this works.
-
+
Changing the **Hue** cycles around the circle.
Changing the **Saturation** moves between the inner and outer sections of the wheel, affecting the intensity of the color.
@@ -87,7 +87,7 @@ Changing the **Value** sets the overall brightness.
::: warning
-By default, if you have both the RGB Light and the [RGB Matrix](feature_rgb_matrix) feature enabled, these keycodes will work for both features, at the same time. You can disable the keycode functionality by defining the `*_DISABLE_KEYCODES` option for the specific feature.
+By default, if you have both the RGB Light and the [RGB Matrix](rgb_matrix) feature enabled, these keycodes will work for both features, at the same time. You can disable the keycode functionality by defining the `*_DISABLE_KEYCODES` option for the specific feature.
:::
## Configuration
@@ -218,7 +218,7 @@ const uint8_t RGBLED_GRADIENT_RANGES[] PROGMEM = {255, 170, 127, 85, 64};
## Lighting Layers
::: tip
-**Note:** Lighting Layers is an RGB Light feature, it will not work for RGB Matrix. See [RGB Matrix Indicators](feature_rgb_matrix#indicators) for details on how to do so.
+**Note:** Lighting Layers is an RGB Light feature, it will not work for RGB Matrix. See [RGB Matrix Indicators](rgb_matrix#indicators) for details on how to do so.
:::
By including `#define RGBLIGHT_LAYERS` in your `config.h` file you can enable lighting layers. These make
@@ -353,7 +353,7 @@ rgblight_blink_layer(2, 500);
```
::: warning
-Lighting layers on split keyboards will require layer state synced to the slave half (e.g. `#define SPLIT_LAYER_STATE_ENABLE`). See [data sync options](feature_split_keyboard#data-sync-options) for more details.
+Lighting layers on split keyboards will require layer state synced to the slave half (e.g. `#define SPLIT_LAYER_STATE_ENABLE`). See [data sync options](split_keyboard#data-sync-options) for more details.
:::
### Overriding RGB Lighting on/off status
diff --git a/docs/feature_secure.md b/docs/features/secure.md
similarity index 97%
rename from docs/feature_secure.md
rename to docs/features/secure.md
index 5ca9eed65f..02ed20a470 100644
--- a/docs/feature_secure.md
+++ b/docs/features/secure.md
@@ -16,7 +16,7 @@ To unlock, the user must perform a set of actions. This can optionally be config
### Automatic Locking
Once unlocked, the keyboard will revert back to a locked state after the configured timeout.
-The timeout can be refreshed by using the `secure_activity_event` function, for example from one of the various [hooks](custom_quantum_functions).
+The timeout can be refreshed by using the `secure_activity_event` function, for example from one of the various [hooks](../custom_quantum_functions).
## Usage
diff --git a/docs/feature_send_string.md b/docs/features/send_string.md
similarity index 93%
rename from docs/feature_send_string.md
rename to docs/features/send_string.md
index 97e4ccc809..ed9311e20a 100644
--- a/docs/feature_send_string.md
+++ b/docs/features/send_string.md
@@ -5,7 +5,7 @@ The Send String API is part of QMK's macro system. It allows for sequences of ke
The full ASCII character set is supported, along with all of the keycodes in the Basic Keycode range (as these are the only ones that will actually be sent to the host).
::: tip
-Unicode characters are **not** supported with this API -- see the [Unicode](feature_unicode) feature instead.
+Unicode characters are **not** supported with this API -- see the [Unicode](unicode) feature instead.
:::
## Usage {#usage}
@@ -22,12 +22,12 @@ Add the following to your `config.h`:
|Define |Default |Description |
|-----------------|----------------|------------------------------------------------------------------------------------------------------------|
-|`SENDSTRING_BELL`|*Not defined* |If the [Audio](feature_audio) feature is enabled, the `\a` character (ASCII `BEL`) will beep the speaker.|
+|`SENDSTRING_BELL`|*Not defined* |If the [Audio](audio) feature is enabled, the `\a` character (ASCII `BEL`) will beep the speaker.|
|`BELL_SOUND` |`TERMINAL_SOUND`|The song to play when the `\a` character is encountered. By default, this is an eighth note of C5. |
## Keycodes {#keycodes}
-The Send String functions accept C string literals, but specific keycodes can be injected with the below macros. All of the keycodes in the [Basic Keycode range](keycodes_basic) are supported (as these are the only ones that will actually be sent to the host), but with an `X_` prefix instead of `KC_`.
+The Send String functions accept C string literals, but specific keycodes can be injected with the below macros. All of the keycodes in the [Basic Keycode range](../keycodes_basic) are supported (as these are the only ones that will actually be sent to the host), but with an `X_` prefix instead of `KC_`.
|Macro |Description |
|--------------|-------------------------------------------------------------------|
@@ -48,7 +48,7 @@ The following characters are also mapped to their respective keycodes for conven
### Language Support {#language-support}
-By default, Send String assumes your OS keyboard layout is set to US ANSI. If you are using a different keyboard layout, you can [override the lookup tables used to convert ASCII characters to keystrokes](reference_keymap_extras#sendstring-support).
+By default, Send String assumes your OS keyboard layout is set to US ANSI. If you are using a different keyboard layout, you can [override the lookup tables used to convert ASCII characters to keystrokes](../reference_keymap_extras#sendstring-support).
## Examples {#examples}
diff --git a/docs/feature_sequencer.md b/docs/features/sequencer.md
similarity index 100%
rename from docs/feature_sequencer.md
rename to docs/features/sequencer.md
diff --git a/docs/feature_space_cadet.md b/docs/features/space_cadet.md
similarity index 97%
rename from docs/feature_space_cadet.md
rename to docs/features/space_cadet.md
index cbb79e10ad..0abdaebf33 100644
--- a/docs/feature_space_cadet.md
+++ b/docs/features/space_cadet.md
@@ -24,7 +24,7 @@ Firstly, in your keymap, do one of the following:
## Caveats
-Space Cadet's functionality can conflict with the default Command functionality when both Shift keys are held at the same time. See the [Command feature](feature_command) for info on how to change it, or make sure that Command is disabled in your `rules.mk` with:
+Space Cadet's functionality can conflict with the default Command functionality when both Shift keys are held at the same time. See the [Command feature](command) for info on how to change it, or make sure that Command is disabled in your `rules.mk` with:
```make
COMMAND_ENABLE = no
diff --git a/docs/feature_split_keyboard.md b/docs/features/split_keyboard.md
similarity index 97%
rename from docs/feature_split_keyboard.md
rename to docs/features/split_keyboard.md
index c39d0a7e08..6efa1c2a35 100644
--- a/docs/feature_split_keyboard.md
+++ b/docs/features/split_keyboard.md
@@ -20,12 +20,12 @@ Both sides must use the same MCU family, for eg two Pro Micro-compatible control
| Transport | AVR | ARM |
|------------------------------|--------------------|--------------------|
-| ['serial'](serial_driver) | :heavy_check_mark: | :white_check_mark: 1 |
+| ['serial'](../drivers/serial) | :heavy_check_mark: | :white_check_mark: 1 |
| I2C | :heavy_check_mark: | |
Notes:
-1. Both hardware and software limitations are detailed within the [driver documentation](serial_driver).
+1. Both hardware and software limitations are detailed within the [driver documentation](../drivers/serial).
## Hardware Configuration
@@ -173,10 +173,10 @@ Some controllers (e.g. Blackpill with DFU compatible bootloader) will need to be
:::
::: tip
-[QMK Toolbox]() can also be used to flash EEPROM handedness files. Place the controller in bootloader mode and select menu option Tools -> EEPROM -> Set Left/Right Hand
+[QMK Toolbox](https://github.com/qmk/qmk_toolbox/releases/) can also be used to flash EEPROM handedness files. Place the controller in bootloader mode and select menu option Tools -> EEPROM -> Set Left/Right Hand
:::
-This setting is not changed when re-initializing the EEPROM using the `EE_CLR` key, or using the `eeconfig_init()` function. However, if you reset the EEPROM outside of the firmware's built in options (such as flashing a file that overwrites the `EEPROM`, like how the [QMK Toolbox]()'s "Reset EEPROM" button works), you'll need to re-flash the controller with the `EEPROM` files.
+This setting is not changed when re-initializing the EEPROM using the `EE_CLR` key, or using the `eeconfig_init()` function. However, if you reset the EEPROM outside of the firmware's built in options (such as flashing a file that overwrites the `EEPROM`, like how the [QMK Toolbox](https://github.com/qmk/qmk_toolbox/releases/)'s "Reset EEPROM" button works), you'll need to re-flash the controller with the `EEPROM` files.
You can find the `EEPROM` files in the QMK firmware repo, [here](https://github.com/qmk/qmk_firmware/tree/master/quantum/split_common).
@@ -307,7 +307,7 @@ This enables transmitting the current ST7565 on/off status to the slave side of
This enables transmitting the pointing device status to the master side of the split keyboard. The purpose of this feature is to enable use pointing devices on the slave side.
::: warning
-There is additional required configuration for `SPLIT_POINTING_ENABLE` outlined in the [pointing device documentation](feature_pointing_device#split-keyboard-configuration).
+There is additional required configuration for `SPLIT_POINTING_ENABLE` outlined in the [pointing device documentation](pointing_device#split-keyboard-configuration).
:::
```c
diff --git a/docs/feature_st7565.md b/docs/features/st7565.md
similarity index 100%
rename from docs/feature_st7565.md
rename to docs/features/st7565.md
diff --git a/docs/feature_stenography.md b/docs/features/stenography.md
similarity index 98%
rename from docs/feature_stenography.md
rename to docs/features/stenography.md
index 6827117a6b..c6c2155a9a 100644
--- a/docs/feature_stenography.md
+++ b/docs/features/stenography.md
@@ -25,7 +25,7 @@ Note: Due to hardware limitations, you might not be able to run both a virtual s
:::
::: warning
-Serial stenography protocols are not supported on [V-USB keyboards](compatible_microcontrollers#atmel-avr).
+Serial stenography protocols are not supported on [V-USB keyboards](../compatible_microcontrollers#atmel-avr).
:::
To enable stenography protocols, add the following lines to your `rules.mk`:
@@ -94,7 +94,7 @@ STENO_ENABLE = yes
STENO_PROTOCOL = all
```
-If you want to switch protocols programatically, as part of a custom macro for example, don't use `tap_code(QK_STENO_*)`, as `tap_code` only supports [basic keycodes](keycodes_basic). Instead, you should use `steno_set_mode(STENO_MODE_*)`, whose valid arguments are `STENO_MODE_BOLT` and `STENO_MODE_GEMINI`.
+If you want to switch protocols programatically, as part of a custom macro for example, don't use `tap_code(QK_STENO_*)`, as `tap_code` only supports [basic keycodes](../keycodes_basic). Instead, you should use `steno_set_mode(STENO_MODE_*)`, whose valid arguments are `STENO_MODE_BOLT` and `STENO_MODE_GEMINI`.
The default protocol is Gemini PR but the last protocol used is stored in non-volatile memory so QMK will remember your choice between reboots of your keyboard — assuming that your keyboard features (emulated) EEPROM.
diff --git a/docs/feature_swap_hands.md b/docs/features/swap_hands.md
similarity index 94%
rename from docs/feature_swap_hands.md
rename to docs/features/swap_hands.md
index 7546823d84..3560fe22f0 100644
--- a/docs/feature_swap_hands.md
+++ b/docs/features/swap_hands.md
@@ -30,7 +30,7 @@ Note that the array indices are reversed same as the matrix and the values are o
|`QK_SWAP_HANDS_TAP_TOGGLE` |`SH_TT` |Momentary swap when held, toggle when tapped |
|`QK_SWAP_HANDS_ONE_SHOT` |`SH_OS` |Turn on hand swap while held or until next key press|
-`SH_TT` swap-hands tap-toggle key is similar to [layer tap-toggle](feature_layers#switching-and-toggling-layers). Tapping repeatedly (5 taps by default) will toggle swap-hands on or off, like `SH_TOGG`. Tap-toggle count can be changed by defining a value for `TAPPING_TOGGLE`.
+`SH_TT` swap-hands tap-toggle key is similar to [layer tap-toggle](../feature_layers#switching-and-toggling-layers). Tapping repeatedly (5 taps by default) will toggle swap-hands on or off, like `SH_TOGG`. Tap-toggle count can be changed by defining a value for `TAPPING_TOGGLE`.
## Encoder Mapping
diff --git a/docs/feature_tap_dance.md b/docs/features/tap_dance.md
similarity index 99%
rename from docs/feature_tap_dance.md
rename to docs/features/tap_dance.md
index e43daf4196..3c4040db22 100644
--- a/docs/feature_tap_dance.md
+++ b/docs/features/tap_dance.md
@@ -17,7 +17,7 @@ Optionally, you might want to set a custom `TAPPING_TERM` time by adding somethi
#define TAPPING_TERM_PER_KEY
```
-The `TAPPING_TERM` time is the maximum time allowed between taps of your Tap Dance key, and is measured in milliseconds. For example, if you used the above `#define` statement and set up a Tap Dance key that sends `Space` on single-tap and `Enter` on double-tap, then this key will send `ENT` only if you tap this key twice in less than 175ms. If you tap the key, wait more than 175ms, and tap the key again you'll end up sending `SPC SPC` instead. The `TAPPING_TERM_PER_KEY` definition is only needed if you control the tapping term through a [custom `get_tapping_term` function](tap_hold#tapping_term), which may be needed because `TAPPING_TERM` affects not just tap-dance keys.
+The `TAPPING_TERM` time is the maximum time allowed between taps of your Tap Dance key, and is measured in milliseconds. For example, if you used the above `#define` statement and set up a Tap Dance key that sends `Space` on single-tap and `Enter` on double-tap, then this key will send `ENT` only if you tap this key twice in less than 175ms. If you tap the key, wait more than 175ms, and tap the key again you'll end up sending `SPC SPC` instead. The `TAPPING_TERM_PER_KEY` definition is only needed if you control the tapping term through a [custom `get_tapping_term` function](../tap_hold#tapping_term), which may be needed because `TAPPING_TERM` affects not just tap-dance keys.
Next, you will want to define some tap-dance keys, which is easiest to do with the `TD()` macro. That macro takes a number which will later be used as an index into the `tap_dance_actions` array and turns it into a tap-dance keycode.
@@ -33,7 +33,7 @@ After this, you'll want to use the `tap_dance_actions` array to specify what act
The first option is enough for a lot of cases, that just want dual roles. For example, `ACTION_TAP_DANCE_DOUBLE(KC_SPC, KC_ENT)` will result in `Space` being sent on single-tap, `Enter` otherwise.
::: warning
-Keep in mind that only [basic keycodes](keycodes_basic) are supported here. Custom keycodes are not supported.
+Keep in mind that only [basic keycodes](../keycodes_basic) are supported here. Custom keycodes are not supported.
:::
Similar to the first option, the second and third option are good for simple layer-switching cases.
diff --git a/docs/feature_tri_layer.md b/docs/features/tri_layer.md
similarity index 98%
rename from docs/feature_tri_layer.md
rename to docs/features/tri_layer.md
index a67ec97a89..c32e65caed 100644
--- a/docs/feature_tri_layer.md
+++ b/docs/features/tri_layer.md
@@ -8,7 +8,7 @@ TRI_LAYER_ENABLE = yes
Note that the "upper", "lower" and "adjust" names don't have a particular significance, they are just used to identify and clarify the behavior. Layers are processed from highest numeric value to lowest, however the values are not required to be consecutive.
-For a detailed explanation of how the layer stack works, check out [Keymap Overview](keymap#keymap-and-layers).
+For a detailed explanation of how the layer stack works, check out [Keymap Overview](../keymap#keymap-and-layers).
## Keycodes {#keycodes}
diff --git a/docs/feature_unicode.md b/docs/features/unicode.md
similarity index 98%
rename from docs/feature_unicode.md
rename to docs/features/unicode.md
index f9295c1f57..7ed178c30d 100644
--- a/docs/feature_unicode.md
+++ b/docs/features/unicode.md
@@ -31,7 +31,7 @@ Add the following to your `config.h`:
### Audio Feedback {#audio-feedback}
-If you have the [Audio](feature_audio) feature enabled on your board, you can configure it to play sounds when the input mode is changed.
+If you have the [Audio](audio) feature enabled on your board, you can configure it to play sounds when the input mode is changed.
Add the following to your `config.h`:
@@ -199,7 +199,7 @@ Emacs supports code point input with the `insert-char` command.
**Mode Name:** `UNICODE_MODE_BSD`
-Not currently implemented. If you're a BSD user and want to contribute support for this input mode, please [feel free](contributing)!
+Not currently implemented. If you're a BSD user and want to contribute support for this input mode, please [feel free](../contributing)!
:::::
diff --git a/docs/feature_wpm.md b/docs/features/wpm.md
similarity index 100%
rename from docs/feature_wpm.md
rename to docs/features/wpm.md
diff --git a/docs/flashing.md b/docs/flashing.md
index c1e9f2a43d..798331eb23 100644
--- a/docs/flashing.md
+++ b/docs/flashing.md
@@ -53,7 +53,7 @@ QMK maintains [a fork of the LUFA DFU bootloader](https://github.com/qmk/lufa/tr
//#define QMK_LED E6
//#define QMK_SPEAKER C6
```
-Currently we do not recommend making `QMK_ESC` the same key as the one designated for [Bootmagic Lite](feature_bootmagic), as holding it down will cause the MCU to loop back and forth between entering and exiting the bootloader.
+Currently we do not recommend making `QMK_ESC` the same key as the one designated for [Bootmagic Lite](features/bootmagic), as holding it down will cause the MCU to loop back and forth between entering and exiting the bootloader.
The manufacturer and product strings are automatically pulled from `config.h`, with " Bootloader" appended to the product string.
@@ -209,7 +209,7 @@ To enable the additional features, add the following defines to your `config.h`:
//#define QMK_SPEAKER C6
```
-Currently we do not recommend making `QMK_ESC` the same key as the one designated for [Bootmagic Lite](feature_bootmagic), as holding it down will cause the MCU to loop back and forth between entering and exiting the bootloader.
+Currently we do not recommend making `QMK_ESC` the same key as the one designated for [Bootmagic Lite](features/bootmagic), as holding it down will cause the MCU to loop back and forth between entering and exiting the bootloader.
The manufacturer and product strings are automatically pulled from `config.h`, with " Bootloader" appended to the product string.
diff --git a/docs/getting_started_make_guide.md b/docs/getting_started_make_guide.md
index 8a66a65c21..59455adb30 100644
--- a/docs/getting_started_make_guide.md
+++ b/docs/getting_started_make_guide.md
@@ -115,11 +115,11 @@ This allows you to send Unicode characters using `UM(