From 46c336c9fb49730fb8331ad3348cd10e0044d754 Mon Sep 17 00:00:00 2001 From: Pascal Getreuer Date: Fri, 7 Jun 2024 21:34:13 -0700 Subject: [PATCH] Update QMK doc links. --- README.md | 4 ++-- features/achordion.h | 2 +- features/autocorrection.c | 2 +- features/autocorrection.h | 2 +- features/caps_word.c | 2 +- features/caps_word.h | 2 +- features/repeat_key.c | 2 +- features/repeat_key.h | 2 +- getreuer.c | 12 ++++++------ tools/qmk_song_player/index.html | 2 +- tools/qmk_song_player/package.json | 2 +- tools/qmk_song_player/song.ts | 2 +- 12 files changed, 18 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index 4bca227..86de642 100644 --- a/README.md +++ b/README.md @@ -91,10 +91,10 @@ Sturdy](https://getreuer.info/posts/keyboards/alt-layouts/index.html#magic-sturd ## Installation This repo works as an [External QMK -Userspace](https://docs.qmk.fm/#/newbs_external_userspace). Instructions on how +Userspace](https://docs.qmk.fm/newbs_external_userspace). Instructions on how to use it in QMK: -1. [Set up QMK](https://docs.qmk.fm/#/newbs). +1. [Set up QMK](https://docs.qmk.fm/newbs). 2. Clone this repo locally diff --git a/features/achordion.h b/features/achordion.h index 5430c0e..f1e08ec 100644 --- a/features/achordion.h +++ b/features/achordion.h @@ -142,7 +142,7 @@ uint16_t achordion_timeout(uint16_t tap_hold_keycode); * } * * @note `mod` should be compared with `MOD_` prefixed codes, not `KC_` codes, - * described at . + * described at . * * @param mod Modifier `MOD_` code. * @return True if the modifier should be eagerly applied. diff --git a/features/autocorrection.c b/features/autocorrection.c index 0d37ad8..967e3e3 100644 --- a/features/autocorrection.c +++ b/features/autocorrection.c @@ -27,7 +27,7 @@ #include "autocorrection_data.h" #pragma message \ - "Autocorrect is now a core QMK feature! To use it, update your QMK set up and see https://docs.qmk.fm/#/feature_autocorrect" + "Autocorrect is now a core QMK feature! To use it, update your QMK set up and see https://docs.qmk.fm/features/autocorrect" #if AUTOCORRECTION_MIN_LENGTH < 4 // Odd output or hard locks on the board have been observed when the min typo diff --git a/features/autocorrection.h b/features/autocorrection.h index 7d04410..120ccc4 100644 --- a/features/autocorrection.h +++ b/features/autocorrection.h @@ -20,7 +20,7 @@ * -------- * * @note Autocorrect is now a core QMK feature! See - * + * * * Some words are more prone to typos than others. This userspace QMK library * implements rudimentary autocorrection, automatically detecting and fixing diff --git a/features/caps_word.c b/features/caps_word.c index 066d178..2af31af 100644 --- a/features/caps_word.c +++ b/features/caps_word.c @@ -23,7 +23,7 @@ #include "caps_word.h" #pragma message \ - "Caps Word is now a core QMK feature! To use it, update your QMK set up and see https://docs.qmk.fm/#/feature_caps_word" + "Caps Word is now a core QMK feature! To use it, update your QMK set up and see https://docs.qmk.fm/features/caps_word" #if !defined(IS_QK_MOD_TAP) // Attempt to detect out-of-date QMK installation, which would fail with diff --git a/features/caps_word.h b/features/caps_word.h index 8ca5657..35d93ec 100644 --- a/features/caps_word.h +++ b/features/caps_word.h @@ -20,7 +20,7 @@ * -------- * * @note Caps Word is now a core QMK feature! See - * + * * * This library implements "Caps Word", which is like conventional Caps Lock, * but automatically disables itself at the end of the word. This is useful for diff --git a/features/repeat_key.c b/features/repeat_key.c index 41afb08..0a8ccfd 100644 --- a/features/repeat_key.c +++ b/features/repeat_key.c @@ -20,7 +20,7 @@ #include "repeat_key.h" #pragma message \ - "Repeat Key is now a core QMK feature! To use it, update your QMK set up and see https://docs.qmk.fm/#/feature_repeat_key" + "Repeat Key is now a core QMK feature! To use it, update your QMK set up and see https://docs.qmk.fm/features/repeat_key" #if !defined(IS_QK_MOD_TAP) // Attempt to detect out-of-date QMK installation, which would fail with diff --git a/features/repeat_key.h b/features/repeat_key.h index 3b15353..e15a55f 100644 --- a/features/repeat_key.h +++ b/features/repeat_key.h @@ -17,7 +17,7 @@ * @brief Repeat Key - an extensible "repeat last key" implementation. * * @note Repeat Key is now a core QMK feature! See - * + * * * Repeat Key performs the action of last pressed key. Tapping the Repeat Key * after tapping the Z key types another "z." Repeat Key remembers the modifiers diff --git a/getreuer.c b/getreuer.c index e90fb40..b98f97e 100644 --- a/getreuer.c +++ b/getreuer.c @@ -153,7 +153,7 @@ enum custom_keycodes { /////////////////////////////////////////////////////////////////////////////// -// Combos (https://docs.qmk.fm/#/feature_combo) +// Combos (https://docs.qmk.fm/features/combo) /////////////////////////////////////////////////////////////////////////////// const uint16_t caps_combo[] PROGMEM = {KC_J, KC_COMM, COMBO_END}; const uint16_t j_k_combo[] PROGMEM = {KC_J, KC_K, COMBO_END}; @@ -187,7 +187,7 @@ uint8_t NUM_CUSTOM_SHIFT_KEYS = #endif // CUSTOM_SHIFT_KEYS_ENABLE /////////////////////////////////////////////////////////////////////////////// -// Tap-hold configuration (https://docs.qmk.fm/#/tap_hold) +// Tap-hold configuration (https://docs.qmk.fm/tap_hold) /////////////////////////////////////////////////////////////////////////////// uint16_t get_tapping_term(uint16_t keycode, keyrecord_t* record) { switch (keycode) { @@ -252,7 +252,7 @@ uint16_t achordion_timeout(uint16_t tap_hold_keycode) { #endif // ACHORDION_ENABLE /////////////////////////////////////////////////////////////////////////////// -// Autocorrect (https://docs.qmk.fm/#/feature_autocorrect) +// Autocorrect (https://docs.qmk.fm/features/autocorrect) /////////////////////////////////////////////////////////////////////////////// #ifdef AUTOCORRECT_ENABLE bool apply_autocorrect(uint8_t backspaces, const char* str, @@ -266,7 +266,7 @@ bool apply_autocorrect(uint8_t backspaces, const char* str, #endif // AUTOCORRECT_ENABLE /////////////////////////////////////////////////////////////////////////////// -// Caps word (https://docs.qmk.fm/#/feature_caps_word) +// Caps word (https://docs.qmk.fm/features/caps_word) /////////////////////////////////////////////////////////////////////////////// #ifdef CAPS_WORD_ENABLE bool caps_word_press_user(uint16_t keycode) { @@ -338,7 +338,7 @@ char sentence_case_press_user(uint16_t keycode, keyrecord_t* record, #endif // SENTENCE_CASE_ENABLE /////////////////////////////////////////////////////////////////////////////// -// Repeat key (https://docs.qmk.fm/#/feature_repeat_key) +// Repeat key (https://docs.qmk.fm/features/repeat_key) /////////////////////////////////////////////////////////////////////////////// bool remember_last_key_user(uint16_t keycode, keyrecord_t* record, uint8_t* remembered_mods) { @@ -518,7 +518,7 @@ void caps_word_set_user(bool active) { #endif // STATUS_LED_3 /////////////////////////////////////////////////////////////////////////////// -// User macro callbacks (https://docs.qmk.fm/#/feature_macros) +// User macro callbacks (https://docs.qmk.fm/feature_macros) /////////////////////////////////////////////////////////////////////////////// void keyboard_post_init_user(void) { diff --git a/tools/qmk_song_player/index.html b/tools/qmk_song_player/index.html index 9ac1ef8..bd58d48 100644 --- a/tools/qmk_song_player/index.html +++ b/tools/qmk_song_player/index.html @@ -157,7 +157,7 @@

QMK song player

What is this? The box above is a QMK song player. -If you have a QMK keyboard with a speaker, you can use +If you have a QMK keyboard with a speaker, you can use the audio feature to play simple songs.

diff --git a/tools/qmk_song_player/package.json b/tools/qmk_song_player/package.json index 80c945c..057eab5 100644 --- a/tools/qmk_song_player/package.json +++ b/tools/qmk_song_player/package.json @@ -8,7 +8,7 @@ "keywords": [], "author": "Pascal Getreuer", "license": "Apache-2.0", - "description": "The Quantum Mechanical Keyboard (QMK) firmware has a feature for playing simple songs (https://docs.qmk.fm/#/feature_audio?id=songs). This library reads song in QMK's song code syntax and plays them using Web Audio.", + "description": "The Quantum Mechanical Keyboard (QMK) firmware has a feature for playing simple songs (https://docs.qmk.fm/features/audio#songs). This library reads song in QMK's song code syntax and plays them using Web Audio.", "devDependencies": { "@types/jest": "^29.5.2", "jest": "^29.5.0", diff --git a/tools/qmk_song_player/song.ts b/tools/qmk_song_player/song.ts index 56cb496..e1b49e0 100644 --- a/tools/qmk_song_player/song.ts +++ b/tools/qmk_song_player/song.ts @@ -16,7 +16,7 @@ * QMK song player. * * The Quantum Mechanical Keyboard (QMK) firmware has a feature for playing - * simple songs (https://docs.qmk.fm/#/feature_audio?id=songs). This library + * simple songs (https://docs.qmk.fm/features/audio#songs). This library * reads song in QMK's song code syntax and plays them using Web Audio. */