The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
docs: dont rewrite ipynb links that have double slash (#21775)
Erick Friis5e445a7e4ebb
diff --git a/docs/scripts/notebook_convert.py b/docs/scripts/notebook_convert.pyindex af3a0e576d..76ccaf4500 100644--- a/docs/scripts/notebook_convert.py+++ b/docs/scripts/notebook_convert.py@@ -27,7 +27,9 @@ class EscapePreprocessor(Preprocessor):)# rewrite .ipynb links to .mdcell.source = re.sub(- r"\[([^\]]*)\]\(([^)]*).ipynb\)", r"[\1](\2.md)", cell.source+ r"\[([^\]]*)\]\((?![^\)]*//)([^)]*)\.ipynb\)",+ r"[\1](\2.md)",+ cell.source,)return cell, resources