diff --git a/README b/README
index c0c41eb..eda2ea4 100644
--- a/README
+++ b/README
@@ -28,7 +28,7 @@
- the `kdesrc-buildrc-sample` file in the kdesrc-build directory
gives a few hints at what options are available. Also, look at the
documentation at
- http://kdesrc-build.kde.org/documentation/conf-options-table.html
+ https://docs.kde.org/trunk4/en/extragear-utils/kdesrc-build/conf-options-table.html
3. From the kdesrc-build directory, run "./kdesrc-build --metadata-only". This
will download some data that describes the KDE source repositories and their
@@ -84,7 +84,7 @@ kdesrc-build includes a limited command-line description with the
--help option.
You can read the kdesrc-build handbook online at
-http://kdesrc-build.kde.org/documentation/.
+https://docs.kde.org/index.php?application=kdesrc-build
If you have already setup a KDE build environment then kdesrc-build itself can
have its documentation compiled and installed.
diff --git a/doc/man-kdesrc-build-setup.1.docbook b/doc/man-kdesrc-build-setup.1.docbook
index 54cadc6..3daefa1 100644
--- a/doc/man-kdesrc-build-setup.1.docbook
+++ b/doc/man-kdesrc-build-setup.1.docbook
@@ -172,7 +172,7 @@ sure to search against the kdesrc-build product.
url="http://kdesrc-build.kde.org/">http://kdesrc-build.kde.org/
Documentation: http://kdesrc-build.kde.org/documentation/
+url="https://docs.kde.org/index.php?application=kdesrc-build">https://docs.kde.org/index.php?application=kdesrc-build
diff --git a/doc/man-kdesrc-build.1.docbook b/doc/man-kdesrc-build.1.docbook
index 2813876..c65eb45 100644
--- a/doc/man-kdesrc-build.1.docbook
+++ b/doc/man-kdesrc-build.1.docbook
@@ -1143,7 +1143,7 @@ based on included recipes.
url="http://kdesrc-build.kde.org/">http://kdesrc-build.kde.org/
Documentation: http://kdesrc-build.kde.org/documentation/
+url="https://docs.kde.org/index.php?application=kdesrc-build">https://docs.kde.org/index.php?application=kdesrc-build
Setup script: kdesrc-build-setup
diff --git a/kdesrc-buildrc-kf5-sample b/kdesrc-buildrc-kf5-sample
index f932d8b..b9436b0 100644
--- a/kdesrc-buildrc-kf5-sample
+++ b/kdesrc-buildrc-kf5-sample
@@ -3,7 +3,7 @@
#
# See the kdesrc-buildrc-sample for explanations of what the options do, or
# view the manpage or kdesrc-build documentation at
-# http://kdesrc-build.kde.org/documentation/
+# https://docs.kde.org/trunk4/en/extragear-utils/kdesrc-build/index.html
global
branch-group kf5-qt5
kdedir ~/kde-5 # Where to install KF5-based software
diff --git a/kdesrc-buildrc-sample b/kdesrc-buildrc-sample
index 9d22faa..af712db 100644
--- a/kdesrc-buildrc-sample
+++ b/kdesrc-buildrc-sample
@@ -97,7 +97,7 @@ global
#
# For the full list of options please see
-# http://kdesrc-build.kde.org/documentation/conf-options-table.html
+# https://docs.kde.org/trunk4/en/extragear-utils/kdesrc-build/conf-options-table.html
end global
# With the global options set, the remainder of the file selects which modules
diff --git a/modules/ksb/Application.pm b/modules/ksb/Application.pm
index dcd0788..d10dec5 100644
--- a/modules/ksb/Application.pm
+++ b/modules/ksb/Application.pm
@@ -939,7 +939,7 @@ of $rcfile.
A repository is needed to determine where to download the source code from.
Most will want to use the b[g[kde-projects] repository. See also
-http://kdesrc-build.kde.org/documentation/kde-modules-and-selection.html#module-sets
+https://docs.kde.org/trunk4/en/extragear-utils/kdesrc-build/kde-modules-and-selection.html#module-sets
EOF
die make_exception('Config', 'Missing repository option');
}
@@ -2602,10 +2602,10 @@ The man page can also be found online at
https://kdesrc-build.kde.org/documentation/kdesrc-build.1.html
This help is not comprehensive, to see a listing of all options please visit:
-https://kdesrc-build.kde.org/documentation/conf-options-table.html
+https://docs.kde.org/trunk4/en/extragear-utils/kdesrc-build/conf-options-table.html
For all command line options, please visit:
-https://kdesrc-build.kde.org/documentation/supported-cmdline-params.html
+https://docs.kde.org/trunk4/en/extragear-utils/kdesrc-build/supported-cmdline-params.html
DONE
}