We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d82949f commit c94a7fbCopy full SHA for c94a7fb
1 file changed
scripts/generate-docs.py
@@ -112,13 +112,15 @@ def _add_divider_if_more(section_name):
112
for func in functions:
113
name = func.get('name', 'Unknown')
114
version = func.get('version', '')
115
- lines.append(f"### {name} `v{version}`")
+ github_url = func.get('github_url')
116
+ if github_url:
117
+ lines.append(f"### [{name}]({github_url}) `v{version}`")
118
+ else:
119
+ lines.append(f"### {name} `v{version}`")
120
if func.get('description'):
121
lines.extend([func['description'], ""])
122
if func.get('author'):
123
lines.append(f"- **Author:** {func['author']}")
- if func.get('file'):
- lines.append(f"- **Source:** [View code]({func['github_url']})")
124
lines.append("")
125
126
_add_divider_if_more('functions')
0 commit comments