Skip to content

docs: stop repeating the section prefix in generated Markdown links - #1455

Open
marekh19 wants to merge 3 commits into
masterfrom
fix/section-prefix-in-generated-md-links
Open

marekh19 wants to merge 3 commits into
masterfrom
fix/section-prefix-in-generated-md-links

Conversation

@marekh19

@marekh19 marekh19 commented Sep 22, 2026

Copy link
Copy Markdown

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/cli/cli/docs/..., 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 21 doubled links to 0, llms.txt stays at 11 correct links.

The same patch goes into apify-sdk-js, apify-sdk-python, apify-client-js and apify-client-python.

@marekh19
marekh19 marked this pull request as ready for review September 22, 2026 06:46
@marekh19 marekh19 added the t-web Issues with this label are in the ownership of the web team. label Sep 22, 2026
@marekh19
marekh19 requested a review from webrdaniel September 22, 2026 06:46
@marekh19
marekh19 marked this pull request as draft September 22, 2026 07:37
@marekh19
marekh19 marked this pull request as ready for review September 22, 2026 07:40
@marekh19 marekh19 changed the title fix: stop repeating the section prefix in generated Markdown links docs: stop repeating the section prefix in generated Markdown links Sep 22, 2026
@marekh19
marekh19 marked this pull request as draft September 22, 2026 07:52
@marekh19
marekh19 marked this pull request as ready for review September 22, 2026 07:53
@marekh19
marekh19 marked this pull request as draft September 22, 2026 09:22

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

t-web Issues with this label are in the ownership of the web team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants