Skip to content

Commit cacb568

Browse files
committed
Merge branch 'doc/fix_broken_links' into 'master'
Doc/fix broken links See merge request espressif/esp-idf!9243
2 parents 6453038 + 32761b9 commit cacb568

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

docs/en/third-party-tools/platformio.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Tutorials
4444
~~~~~~~~~
4545

4646
- `ESP-IDF and ESP32-DevKitC: debugging, unit testing, project analysis
47-
<https://docs.platformio.org/en/latest/tutorials/espressif32/espidf_debugging_unit_testing_inspect.html?utm_source=docs.espressif.com>`__
47+
<https://docs.platformio.org/en/latest/tutorials/espressif32/espidf_debugging_unit_testing_analysis.html?utm_source=docs.espressif.com>`__
4848

4949
Project Examples
5050
~~~~~~~~~~~~~~~~

docs/idf_extensions/link_roles.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@ def warning(msg):
5757
# Redirects to submodule repo if path is a submodule, else default to IDF repo
5858
def redirect_submodule(path, submods, rev):
5959
for key, value in submods.items():
60-
if path.lstrip('/').startswith(key):
60+
# Add path separator to end of submodule path to ensure we are matching a directory
61+
if path.lstrip('/').startswith(os.path.join(key, '')):
6162
return value.url.replace('.git', ''), value.rev, re.sub('^/{}/'.format(key), '', path)
6263

6364
return IDF_REPO, rev, path

0 commit comments

Comments
 (0)