Skip to content

Map imported documentation links to consumer routes - #1059

Merged
PrzemyslawKlys merged 2 commits into
mainfrom
fix/imported-documentation-links
Oct 6, 2026
Merged

PrzemyslawKlys merged 2 commits into
mainfrom
fix/imported-documentation-links

Conversation

@PrzemyslawKlys

Copy link
Copy Markdown
Member

Imported guides can use routes from their original hosting site that return 404 on a consuming site. project-docs-sync now accepts opt-in linkMappings keyed by project slug, so consumers can map /docs/pswriteoffice/ to /projects/pswriteoffice/docs/ and /api/powershell/ to /projects/pswriteoffice/api/.

The shared PowerForge.Web mapper uses the existing OfficeIMO.Markdown parser to update Markdown navigation destinations, including reference links and links around images. It preserves code examples, external links and unconfigured projects, supports curated .md and .markdown examples, and safely handles encoded prefixes. No dependency is added.

EvotecIT/Website consumes this capability to refresh its PSWriteOffice guides; its engine pin follows this PR's merged revision.

Validation: 27 focused and existing documentation-sync tests pass; native ingestion refreshes all 49 PSWriteOffice guides, and a themed site build verifies the corrected routes. Independent local review and targeted confirmation completed.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@chatgpt-codex-connector

Copy link
Copy Markdown

The account paying for this security review has reached its Codex usage limits. The payer can check the Codex usage dashboard. For personal accounts, using credits requires enabling “Use credits for security reviews” in Code review settings. If you do not manage the paying account, contact this repository's admins.

@PrzemyslawKlys
PrzemyslawKlys merged commit d1acca7 into main Oct 6, 2026
9 checks passed
@PrzemyslawKlys
PrzemyslawKlys deleted the fix/imported-documentation-links branch October 6, 2026 21:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant