Skip to content

FS-1341 - XML <include> and <inheritdoc> support - #827

Merged
T-Gro merged 3 commits into
mainfrom
T-Gro-patch-1
Aug 6, 2026
Merged

T-Gro merged 3 commits into
mainfrom
T-Gro-patch-1

Conversation

@T-Gro

@T-Gro T-Gro commented Jan 23, 2026

Copy link
Copy Markdown
Contributor

This RFC proposes adding support for the <include> and <inheritdoc> XML documentation tags in F#, aligning it with C# capabilities.

Click “Files changed” → “⋯” → “View file” for the rendered RFC.

This RFC proposes adding support for the <include> and <inheritdoc> XML documentation tags in F#, aligning it with C# capabilities. It details the design, motivation, and potential drawbacks of the implementation.
Number: FS-1337 was taken (merged on main + open PR #832); 1338/1340 are
reserved by open PRs #828/#834; next free across main + open PRs is 1341.

Content: fills the required template sections and states C#-parity emit
semantics (compiler expands <include>, leaves <inheritdoc/> raw for
IDE/tooling), include path resolution + XPath 1.0 + recursive nesting,
inheritdoc resolution order and tag-merge precedence, .fsi authority,
language-version (ungated), CS1589/1590/1592 diagnostics, and interop.
No em-dashes; header checkboxes per template; converged multi-model review.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@T-Gro T-Gro changed the title FS-1337 XML <include> and <inheritdoc> support FS-1341 - XML <include> and <inheritdoc> support Aug 4, 2026
The <include> support resolves only at --doc emit time; in-editor Quick Info
does not expand includes yet. Record that as an unresolved question rather
than claiming it as implemented.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@T-Gro
T-Gro merged commit 761d1f8 into main Aug 6, 2026
@T-Gro
T-Gro deleted the T-Gro-patch-1 branch August 6, 2026 13:06
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