Skip to content

docs: include SciMLProblemReservoir docstrings in the manual#457

Merged
ChrisRackauckas merged 1 commit into
SciML:masterfrom
ChrisRackauckas-Claude:fix-docs-missing-sciml-reservoir-docstrings
Jun 20, 2026
Merged

docs: include SciMLProblemReservoir docstrings in the manual#457
ChrisRackauckas merged 1 commit into
SciML:masterfrom
ChrisRackauckas-Claude:fix-docs-missing-sciml-reservoir-docstrings

Conversation

@ChrisRackauckas-Claude

Copy link
Copy Markdown
Contributor

The master Documentation CI check is failing. Documenter's missing_docs check terminates makedocs because four exported, docstring-carrying types in src/layers/sciml_reservoir.jl are not referenced in any @docs/@autodocs block:

  • ReservoirComputing.AbstractSciMLProblemReservoir
  • ReservoirComputing.SciMLProblemReservoir
  • ReservoirComputing.AbstractSampler
  • ReservoirComputing.TerminalStateSampling

Fix

Add a "Continuous-time reservoirs" section to docs/src/api/layers.md (these are Lux layer / sampler types, so the Layers API page is the natural home) that includes the four docstrings.

Local verification

Built the docs locally on Julia 1.12.6 (the CI 1 channel) with julia --project=docs docs/make.jl:

  • CheckDocument: running document checks. now passes (no missing_docs error)
  • RenderDocument / HTMLWriter complete; build exits 0
  • Confirmed all four symbols render with proper docstring anchors in docs/build/api/layers/index.html

Only remaining log lines are benign warnings that predate this change (models page over the 100 KiB size_threshold_warn, well under the 200 KiB hard limit; "Skipping deployment" which is expected for a local run).

Please ignore until reviewed by @ChrisRackauckas

The Documentation build was failing with Documenter's missing_docs
check: the continuous-time reservoir types in src/layers/sciml_reservoir.jl
(AbstractSciMLProblemReservoir, SciMLProblemReservoir, AbstractSampler,
TerminalStateSampling) are exported and carry docstrings but were not
referenced in any @docs block.

Add a 'Continuous-time reservoirs' section to the Layers API page so the
four docstrings are included in the manual, clearing the missing_docs
error that terminated makedocs.

Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@ChrisRackauckas ChrisRackauckas marked this pull request as ready for review June 20, 2026 11:07
@ChrisRackauckas ChrisRackauckas merged commit 6ca05be into SciML:master Jun 20, 2026
4 checks passed
Saswatsusmoy added a commit to Saswatsusmoy/ReservoirComputing.jl that referenced this pull request Jun 22, 2026
Master picked up an out-of-band PR SciML#457 that added @docs entries for
the four SciMLProblemReservoir / AbstractSampler / TerminalStateSampling
types to docs/src/api/layers.md while this PR was in review. Those
docstrings were also added by this PR's own 'Continuous-Time Reservoirs'
section (in the location Francesco asked for, after Wrappers), so the
auto-merge left two @docs blocks declaring the same four symbols and
Documenter rejected the build with 'duplicate docs found'.

Resolution: drop master's section (which sat between ESN and Wrappers),
keep this PR's section (after Wrappers, before Cellular Automata) per
Francesco's 2026-06-14 placement request. Net effect: one
Continuous-Time Reservoirs section, in the agreed location, single
@docs block.

Other master changes that came in cleanly: toepliz topology init
(PR SciML#443), GPU.yml workflow tweak, actions/checkout v7 bump.
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.

2 participants