Plugin doc sync doesn't linkify bare URLs in generated content
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 78/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- javascript
- Domain
- documentation, tooling
Research direction
Start in helper-scripts/influxdb3-plugins/port_to_docs.js, especially the existing convertRelativeLinks() step and the generated-content boundaries. Run the plugin sync pipeline and inspect content/shared/influxdb3-plugins/plugins-library/official/nws-weather.md. Done means bare http(s):// URLs from upstream prose render as clickable markdown links without hand-editing generated files.
Written by the indexing model from the issue text.
Description
Describe the issue
Plugin pages generated by the sync pipeline (helper-scripts/influxdb3-plugins/port_to_docs.js) render bare URLs as plain text instead of clickable links when the upstream plugin README includes them as plain text rather than markdown links.
Example, from the National Weather Service plugin's "API Reference" section:
API Reference
National Weather Service API
Base URL: https://api.weather.gov
Documentation: https://www.weather.gov/documentation/services-web-api
None of these URLs render as links.
Relevant URLs
- https://test2.docs.influxdata.com/pr-preview/pr-7754/influxdb3/core/plugins/library/official/nws-weather/
content/shared/influxdb3-plugins/plugins-library/official/nws-weather.md(generated region, lines ~396-404)helper-scripts/influxdb3-plugins/port_to_docs.js
Root cause
port_to_docs.js transforms the upstream README with targeted regex/string
replacements (for example convertRelativeLinks() for cross-plugin links).
It has no general autolink step, so bare URLs in upstream prose pass through
unlinked into the generated region between
<!-- BEGIN/END GENERATED PLUGIN CONTENT --> markers.
Per content/shared/influxdb3-plugins/plugins-library/official/AGENTS.md,
this content is regenerated on every sync run, so hand-fixing the rendered
.md files is not a durable fix — it needs to happen in the transform.
Suggested fix
Add an autolink pass in port_to_docs.js (or reuse a markdown library's
autolinker) that wraps bare http(s):// URLs in the generated region as
markdown links before writing output, similar to the existing
convertRelativeLinks() step for relative plugin links.
- Dominant language
- JavaScript
- Stars
- 82
- Forks
- 326
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 82
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from influxdata/docs-v2
-
agent-ready
Difficulty 1/5 Under an hour Newbie friendliness 92/100
influxdata/docs-v2#7768 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
influxdata/docs-v2#7763 ·
-
product:v3-monolith
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
influxdata/docs-v2#7721 · 1 comment ·
-
area:links
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
influxdata/docs-v2#7623 · 1 comment ·
-
product:v3-cloud
Difficulty 2/5 Half a day Newbie friendliness 78/100
influxdata/docs-v2#7583 ·
All issues in influxdata/docs-v2
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
HarperFast/skills#96 ·
-
[Block] Latest Posts [Type] Bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Automattic/studio#4908 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
sugarlabs/musicblocks#8847 ·