mirror of
https://github.com/tiennm99/serena.git
synced 2026-10-16 10:15:17 +00:00
Restore links to quick start guide, updating the docs autogen build script
This commit is contained in:
1 parent
38699a8470
commit
34a703ad50
2 files changed
+10
-3
No files matched your search
@@ -194,8 +194,14 @@ def autogen_about_intro_features():
|
||||
f.write(autogen_info)
|
||||
f.write("# About Serena\n\n")
|
||||
f.write(f"**{tagline}**\n\n")
|
||||
|
||||
# adjust link
|
||||
about_text = about_text.replace("resources/serena-block-diagram.svg", "https://raw.githubusercontent.com/oraios/serena/main/resources/serena-block-diagram.svg")
|
||||
about_text = re.subn(r"^See the \[Quick Start.*?$", r"", about_text, flags=re.MULTILINE)[0]
|
||||
|
||||
# remove statements with links that are invalid and the callout
|
||||
about_text = re.subn(r"^.*\[Quick Start.*?$", r"", about_text, flags=re.MULTILINE)[0]
|
||||
about_text = re.subn(r"^>.*?$", "", about_text, flags=re.MULTILINE)[0]
|
||||
|
||||
f.write(f"{about_text}\n\n")
|
||||
|
||||
jetbrains_marketplace_link = ('```{raw} html\n'
|
||||
|
||||
Reference in new issue
Block a user