Skip to content

docs: rewrite plugin docs to match current app behavior - #2506

Merged
rajarsheechatterjee merged 2 commits into
masterfrom
claude/lnreader-plugin-docs-audit-6fs1co
Sep 7, 2026
Merged

rajarsheechatterjee merged 2 commits into
masterfrom
claude/lnreader-plugin-docs-audit-6fs1co

Conversation

@rajarsheechatterjee

@rajarsheechatterjee rajarsheechatterjee commented Sep 7, 2026

Copy link
Copy Markdown
Member

Checklist

  • N/A — documentation-only change, no plugin version to bump
  • N/A — no plugin code changed; verified claims against the current lnreader app source
    (src/plugins/types/index.ts, pluginManager.ts, helpers/fetch.ts, helpers/storage.ts)
    instead
  • N/A — no related issue
  • Commit message follows type(scope): description

@rajarsheechatterjee
rajarsheechatterjee force-pushed the claude/lnreader-plugin-docs-audit-6fs1co branch from 11d5eda to a9b6f1c Compare September 7, 2026 15:48
@rajarsheechatterjee rajarsheechatterjee changed the title Audit and rewrite plugin docs against current app behavior docs(docs.md): rewrite plugin docs to match current app behavior Sep 7, 2026
@rajarsheechatterjee rajarsheechatterjee changed the title docs(docs.md): rewrite plugin docs to match current app behavior docs: rewrite plugin docs to match current app behavior Sep 7, 2026
Verified docs/docs.md claims against the lnreader main app's actual
plugin types and runtime (src/plugins/types/index.ts, pluginManager.ts,
helpers/fetch.ts, helpers/storage.ts) and fixed drift:

- Split into two explicit contracts: the plugin bundle API vs. the
  repository manifest/install metadata (icon -> iconUrl, customJS/
  customCSS as downloaded manifest URLs, install flow).
- Documented pagination (parsePage/SourcePage/totalPages), previously
  missing entirely.
- Fixed NovelItem (missing required `id`), SourceNovel (`chapters`
  required, `status` is NovelStatus-only, missing `totalPages`),
  PluginSettings (Select/CheckboxGroup types and per-type value shapes,
  reload-required-for-cached-settings caveat), storage helpers (full
  storage API, read-only localStorage/sessionStorage), and the runtime
  library list (dayjs, urlencode, htmlparser2).
- Filled in "Using Cheerio" and "Custom fetching functions" with real
  examples, fetchApi's default headers, and fetchText's silent-empty-
  string-on-failure behavior.
- Fixed the popularNovels filter example, the Switch setting example,
  and the SourceNovel::path anchor link.
- Added a "Getting started" section.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LoFgTFvjNVdrUbZVjdFuxf
Verified against .github/workflows/plugin-live-check.yml,
scripts/live-check-plugin.js, and the playground UI
(src/pages/home.tsx and friends):

- testing.md: the live-check workflow posts a job/run summary
  (GITHUB_STEP_SUMMARY), not a PR comment.
- website-tutorial.md: the playground's five tabs are actually
  Popular/Search/Parse Novel/Parse Chapter/Settings, not the
  documented Headers/Popular Novels/Search Novels/Parse Novel/Parse
  Chapter. There's no per-request "Headers" tab; Settings configures
  playground-wide fetch mode/User-Agent/cookies. Also documented two
  previously-unmentioned Parse Novel features: parsePage/totalPages
  pagination controls and the Export EPUB button.

quickstart.md and komga-plugin.md were audited and found accurate;
no changes made to those.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LoFgTFvjNVdrUbZVjdFuxf
@rajarsheechatterjee
rajarsheechatterjee force-pushed the claude/lnreader-plugin-docs-audit-6fs1co branch from 8e55ebd to f1d7476 Compare September 7, 2026 16:28
@rajarsheechatterjee
rajarsheechatterjee merged commit 218a7cd into master Sep 7, 2026
3 checks passed
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Sep 10, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants