Commit 396b997
authored
docs: stop repeating the section prefix in generated Markdown links (#1070)
Part of apify/apify-web#6665
`@signalwire/docusaurus-plugin-llms-txt@1.2.2` prepends the site URL to
link paths that already carry the Docusaurus `baseUrl`, so the generated
Markdown points at
`https://docs.apify.com/api/client/python/api/client/python/...`, which
404s. It only happens on sites served under a sub-path.
The fix is already upstream in `2.0.0-alpha.6`, but it does not look
like it will be published soon: npm `latest` is still 1.2.2 and nothing
has shipped since `2.0.0-alpha.7` in November 2025. This patch applies
that same fix locally. Remove it once a stable 2.x lands.
Built here: `llms-full.txt` goes from 4702 doubled links to 0,
`llms.txt` stays at 352 correct links.
The same patch goes into `apify-cli`, `apify-sdk-js`, `apify-sdk-python`
and `apify-client-js`.1 parent e1808b1 commit 396b997
4 files changed
Lines changed: 45 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
| 161 | + | |
161 | 162 | | |
162 | 163 | | |
163 | 164 | | |
| |||
Lines changed: 37 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
0 commit comments