Skip to content

Libraries: make it a normal reference manual - #30

Merged
otzpt merged 1 commit into
mainfrom
feat/libraries-manual
Nov 9, 2026
Merged

otzpt merged 1 commit into
mainfrom
feat/libraries-manual

Conversation

@otzpt

@otzpt otzpt commented Nov 9, 2026

Copy link
Copy Markdown
Owner

Summary

  • Every runnable page now states its signature, parameters, return value and errors, under their own sections, and check-pages.py requires them.
  • Both manuals open with Common tasks: reading a file, parsing text, sorting, timeouts and running another program. Sorting and timeouts are new in both tracks, and running a program is new in C. Existing pages for the rest moved up front.
  • The pages that read /proc and /sys stay, in their own part after the general reference.
  • The example on each page is still compiled and run when it is opened.

Checked

CI run 42705832849 on 350f20d, Windows and Linux. On Linux, check-pages.py built and ran every page with -Wall -Wextra and python3 -W error, and check-browser.py opened every page through the real browser.

Not checked

The reference text is from the man pages and the Python docs, not from running each error case. The signatures and return values shown were not exercised one by one, only the examples were.

Fixes #25

🤖 Generated with Claude Code

Every runnable page now states its signature, parameters, return value and
errors, shown under their own sections, and check-pages.py requires them.

Both manuals open with Common tasks, the questions people actually ask:
reading a file, parsing text, sorting, timeouts and running another program.
Sorting and timeouts are new in both tracks, as is running a program in C.
The pages that read /proc and /sys stay, in their own part after the general
reference.

The example on each page is still compiled and run when it is opened.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@otzpt
otzpt merged commit 6a9938d into main Nov 9, 2026
3 checks passed
@coderabbitai

coderabbitai Bot commented Nov 9, 2026

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 9c162279-0645-4654-bbdd-77e71044b1c4
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

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.

Libraries: rewrite as a normal reference manual

1 participant