Skip to content

Move queue chapter intro to the start of its chapter - #162

Merged
fingolfin merged 1 commit into
masterfrom
mh-ai/autodoc-intro-placement
Nov 10, 2026
Merged

fingolfin merged 1 commit into
masterfrom
mh-ai/autodoc-intro-placement

Conversation

@fingolfin

Copy link
Copy Markdown
Member

Upcoming AutoDoc versions (gap-packages/AutoDoc#390) warn about plain text that AutoDoc discards, or that the manual shows inside a preceding section because it is added to the chapter after that section. Here, the introduction of the chapter "Queues and Deques" in gap/queue.gd ended up at the end of section "Deques implemented using plain lists", because gap/plistdeque.gd is read first. Moving it to doc/Intros.autodoc puts it at the start of the chapter.

AI disclosure: prepared with Claude Code, which found the cause, wrote the change, and checked that the manual builds without warnings.

🤖 Generated with Claude Code

doc/Intros.autodoc creates the chapter "Queues and Deques", and
gap/plistdeque.gd is read before gap/queue.gd and adds a section to
it. The chapter introduction in gap/queue.gd therefore ended up at
the end of that section. Moving it to doc/Intros.autodoc puts it
before the first section, and avoids a warning from upcoming AutoDoc
versions.

Assisted-by: Generative AI
@fingolfin
fingolfin force-pushed the mh-ai/autodoc-intro-placement branch from 2863fb8 to f5ae2dc Compare November 10, 2026 21:30
Comment thread gap/queue.gd
#! The API that objects that lie in <Ref Filt="IsQueue" Label="for IsObject"/> and
#! <Ref Filt="IsDeque" Label="for IsObject"/> must implement the API set out below.
#!
#! <Package>datastructures</Package> provides

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've deleted this incomplete sentence

@fingolfin
fingolfin enabled auto-merge (squash) November 10, 2026 21:30
@codecov

codecov Bot commented Nov 10, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.32%. Comparing base (0a616f4) to head (f5ae2dc).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #162      +/-   ##
==========================================
- Coverage   95.32%   95.32%   -0.01%     
==========================================
  Files          35       35              
  Lines        2673     2671       -2     
  Branches      110      110              
==========================================
- Hits         2548     2546       -2     
  Misses        105      105              
  Partials       20       20              
Files with missing lines Coverage Δ
gap/queue.gd 100.00% <ø> (ø)

... and 2 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@fingolfin
fingolfin merged commit 40a223c into master Nov 10, 2026
6 checks passed
@fingolfin
fingolfin deleted the mh-ai/autodoc-intro-placement branch November 10, 2026 21:39
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