We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5993b4 commit 8fdf437Copy full SHA for 8fdf437
adabot/lib/common_funcs.py
@@ -220,7 +220,9 @@ def get_docs_link(bundle_path, submodule):
220
with open(f"{bundle_path}/{submodule[1]['path']}/README.rst", "r") as readme:
221
lines = readme.read().split("\n")
222
for i in range(10):
223
- if "target" in lines[i] and "readthedocs" in lines[i]:
+ if "target" in lines[i] and (
224
+ "readthedocs" in lines[i] or "docs.circuitpython.org" in lines[i]
225
+ ):
226
return lines[i].replace(" :target: ", "")
227
return None
228
except FileNotFoundError:
0 commit comments