Skip to content

doc(os/linux): fix page_size doclint warning#311

Merged
octalide merged 1 commit into
devfrom
fix/310-page-size-doclint
Jun 27, 2026
Merged

doc(os/linux): fix page_size doclint warning#311
octalide merged 1 commit into
devfrom
fix/310-page-size-doclint

Conversation

@octalide

Copy link
Copy Markdown
Collaborator

Closes #310

The page_size docstrings in src/system/os/linux/riscv64.mach and src/system/os/linux/aarch64.mach put a NOTE: block between two # --- separators, so the doclint parsed NOTE as a documented component and logged documented component matches no parameter, field, generic, or ret whenever those modules compiled (surfaced by the cross-riscv64 lane). Moved the NOTE into the summary block (above the ---) so the doc-item section holds only ret. Pure comment change.

Verification

  • riscv64: building the runtime consumer (compiles os.linux.riscv64) no longer logs the warning; the qemu smoke test still exits 42.
  • aarch64: building an aarch64 consumer (compiles os.linux.aarch64) no longer logs the warning.
  • x86_64: mach test . -> 563/563.

The page_size docstrings in riscv64.mach and aarch64.mach put a NOTE block
between two `---` separators, so the doclint parsed `NOTE` as a documented
component and warned 'documented component matches no parameter, field,
generic, or ret'. Move the NOTE into the summary block (above the `---`) so the
doc-item section holds only `ret`.

Closes #310
@octalide octalide marked this pull request as ready for review June 27, 2026 05:08
@octalide octalide merged commit 46842d6 into dev Jun 27, 2026
2 checks passed
@octalide octalide deleted the fix/310-page-size-doclint branch June 27, 2026 05:09
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.

doc: page_size docstring trips the doclint 'documented component' warning

1 participant