Skip to content

Commit

Permalink
scripts: ci: check_compliance: Replace dead Kconfig doc link
Browse files Browse the repository at this point in the history
Update the link to the Kconfig documentation page.

Signed-off-by: Fabian Blatz <[email protected]>
  • Loading branch information
faxe1008 authored and fabiobaltieri committed Aug 9, 2023
1 parent 12e484c commit 29d07d6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/ci/check_compliance.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ class KconfigCheck(ComplianceTest):
for example using undefined Kconfig variables.
"""
name = "Kconfig"
doc = "See https://docs.zephyrproject.org/latest/guides/kconfig/index.html for more details."
doc = "See https://docs.zephyrproject.org/latest/build/kconfig/tips.html for more details."
path_hint = "<zephyr-base>"

def run(self, full=True, no_modules=False):
Expand Down Expand Up @@ -717,7 +717,7 @@ class KconfigBasicCheck(KconfigCheck):
references inside the Kconfig tree.
"""
name = "KconfigBasic"
doc = "See https://docs.zephyrproject.org/latest/guides/kconfig/index.html for more details."
doc = "See https://docs.zephyrproject.org/latest/build/kconfig/tips.html for more details."
path_hint = "<zephyr-base>"

def run(self):
Expand All @@ -730,7 +730,7 @@ class KconfigBasicNoModulesCheck(KconfigCheck):
defined only in a module.
"""
name = "KconfigBasicNoModules"
doc = "See https://docs.zephyrproject.org/latest/guides/kconfig/index.html for more details."
doc = "See https://docs.zephyrproject.org/latest/build/kconfig/tips.html for more details."
path_hint = "<zephyr-base>"
def run(self):
super().run(full=False, no_modules=True)
Expand Down Expand Up @@ -775,7 +775,7 @@ def check_kconfig_header(self, fname):
if re.match(r"\s*#\s*(K|k)config[\w.-]*\s*-", contents):
self.failure(f"""
Please use this format for the header in '{fname}' (see
https://docs.zephyrproject.org/latest/guides/kconfig/index.html#header-comments-and-other-nits):
https://docs.zephyrproject.org/latest/build/kconfig/tips.html#header-comments-and-other-nits):
# <Overview of symbols defined in the file, preferably in plain English>
(Blank line)
Expand Down

0 comments on commit 29d07d6

Please sign in to comment.