{
  "name": "Lector",
  "schemaVersion": 1,
  "revision": "37b14f288a4cf08f871513149c34eba8f3509c16c07ab146874729a764e4acbb",
  "versionNotice": "These docs describe the source deployed with this site, tracking main rather than a versioned npm release. Check your installed @anaralabs/lector and pdfjs-dist versions before applying examples.",
  "mcpUrl": "https://anara.com/lector/mcp",
  "pages": [
    {
      "slug": "index",
      "title": "Build a PDF viewer with Lector",
      "description": "Start with a readable document, then add the controls your app needs.",
      "url": "https://anara.com/lector/docs",
      "markdownUrl": "https://anara.com/lector/docs/index.md",
      "resourceUri": "lector://docs/index",
      "sha256": "f5d6f67551837c9c2698575d161ab6102ef643e38028f5602ee4dfaf3c5f1f8a"
    },
    {
      "slug": "agents",
      "title": "AI agents and MCP",
      "description": "Connect a coding assistant to Lector's guides, search the docs, or fetch complete Markdown without a browser.",
      "url": "https://anara.com/lector/docs/agents",
      "markdownUrl": "https://anara.com/lector/docs/agents.md",
      "resourceUri": "lector://docs/agents",
      "sha256": "68a1bc89af7e134b3fbd735ae15e12b94899173de6718fee7193d0bc9247f208"
    },
    {
      "slug": "api",
      "title": "API reference",
      "description": "Component contracts, defaults, hook scope, and public exports in the current source.",
      "url": "https://anara.com/lector/docs/api",
      "markdownUrl": "https://anara.com/lector/docs/api.md",
      "resourceUri": "lector://docs/api",
      "sha256": "576a7b43f416d24d1745506de2a6015bd509250c83e69bcae773a9a777aaccbc"
    },
    {
      "slug": "basic-usage",
      "title": "Your first viewer",
      "description": "A complete viewer with selectable text, page and zoom controls, and explicit layout.",
      "url": "https://anara.com/lector/docs/basic-usage",
      "markdownUrl": "https://anara.com/lector/docs/basic-usage.md",
      "resourceUri": "lector://docs/basic-usage",
      "sha256": "b71f785507f2883ab32ec44d9012ca8d66cc5f0db23b70f6c687e33e49e456fc"
    },
    {
      "slug": "code/basic",
      "title": "Basic example",
      "description": "The smallest viewer, with visible pages and selectable text.",
      "url": "https://anara.com/lector/docs/code/basic",
      "markdownUrl": "https://anara.com/lector/docs/code/basic.md",
      "resourceUri": "lector://docs/code/basic",
      "sha256": "66df9815c37b7236e28df3959b4cfc6dea305a7763d060716c863959ac842c1c"
    },
    {
      "slug": "code/highlight",
      "title": "Highlights",
      "description": "Draw and navigate to rectangles in page coordinates.",
      "url": "https://anara.com/lector/docs/code/highlight",
      "markdownUrl": "https://anara.com/lector/docs/code/highlight.md",
      "resourceUri": "lector://docs/code/highlight",
      "sha256": "a7a05ee36c406163b94fffab924a5f68a9790621d7b9237c4e0b83594e945c5c"
    },
    {
      "slug": "code/links",
      "title": "PDF links",
      "description": "Enable existing PDF links and choose external-link and navigation behavior.",
      "url": "https://anara.com/lector/docs/code/links",
      "markdownUrl": "https://anara.com/lector/docs/code/links.md",
      "resourceUri": "lector://docs/code/links",
      "sha256": "21b6d72370b0c7b6fe8cbd91c8a440e1efc1156945ca07481e4f0f9b94f41461"
    },
    {
      "slug": "code/page-navigation",
      "title": "Page navigation",
      "description": "Build labeled previous and next buttons and jump to a specific page.",
      "url": "https://anara.com/lector/docs/code/page-navigation",
      "markdownUrl": "https://anara.com/lector/docs/code/page-navigation.md",
      "resourceUri": "lector://docs/code/page-navigation",
      "sha256": "8f520dbcc93182702e8068cb1766297bd5d0484302a8c169b202d31fc74f0ce6"
    },
    {
      "slug": "code/pdf-form",
      "title": "PDF forms",
      "description": "Render interactive fields and download a PDF containing the filled values.",
      "url": "https://anara.com/lector/docs/code/pdf-form",
      "markdownUrl": "https://anara.com/lector/docs/code/pdf-form.md",
      "resourceUri": "lector://docs/code/pdf-form",
      "sha256": "4672d4fc84e13c26df4474ea4a4113883dd6935107b7fbf201338fb1dd1cb057"
    },
    {
      "slug": "code/search",
      "title": "Search",
      "description": "Index document text, display matches, and jump to highlighted results.",
      "url": "https://anara.com/lector/docs/code/search",
      "markdownUrl": "https://anara.com/lector/docs/code/search.md",
      "resourceUri": "lector://docs/code/search",
      "sha256": "d1f043b0e40d29c5b4e39df13efb5e817e438f06e555cdbd47028bcbe214c5d0"
    },
    {
      "slug": "code/select",
      "title": "Text selection",
      "description": "Capture selected text and page-relative rectangles with a selection action.",
      "url": "https://anara.com/lector/docs/code/select",
      "markdownUrl": "https://anara.com/lector/docs/code/select.md",
      "resourceUri": "lector://docs/code/select",
      "sha256": "7214e71836c3420f5d2da094a99537c31c33be9a73aa03e596ef27baf1d9beef"
    },
    {
      "slug": "code/thumbnails",
      "title": "Thumbnails",
      "description": "Add a scrollable page-preview sidebar beside the document.",
      "url": "https://anara.com/lector/docs/code/thumbnails",
      "markdownUrl": "https://anara.com/lector/docs/code/thumbnails.md",
      "resourceUri": "lector://docs/code/thumbnails",
      "sha256": "56a161c113c5dfb35e122f509a7c98cc87a72bd8d26f2d3284b59e9a545e624b"
    },
    {
      "slug": "code/zoom-control",
      "title": "Zoom controls",
      "description": "Set zoom limits, build a toolbar, and keep pages fitted to the container.",
      "url": "https://anara.com/lector/docs/code/zoom-control",
      "markdownUrl": "https://anara.com/lector/docs/code/zoom-control.md",
      "resourceUri": "lector://docs/code/zoom-control",
      "sha256": "9195ca206e262b809378bd1071f93548758faa0f5ff5c7e9550212bb613c9d2e"
    },
    {
      "slug": "dark-mode",
      "title": "Dark mode",
      "description": "Render dark PDF pages, synchronize your theme, and style overlays to match.",
      "url": "https://anara.com/lector/docs/dark-mode",
      "markdownUrl": "https://anara.com/lector/docs/dark-mode.md",
      "resourceUri": "lector://docs/dark-mode",
      "sha256": "7fc5976d87072697d2b54a8725d2d77cd850e0c1b5ade7d4e3afa06387180e0c"
    },
    {
      "slug": "document-loading",
      "title": "Loading documents",
      "description": "Load URLs and files, handle failures, and serve PDF.js assets from your own app.",
      "url": "https://anara.com/lector/docs/document-loading",
      "markdownUrl": "https://anara.com/lector/docs/document-loading.md",
      "resourceUri": "lector://docs/document-loading",
      "sha256": "e028ae48616e314efd14662824c31a38ebee7d6b3e28c5c65c514808fd118c6c"
    },
    {
      "slug": "installation",
      "title": "Installation",
      "description": "Install compatible dependencies, configure the worker, and prepare a browser-only viewer.",
      "url": "https://anara.com/lector/docs/installation",
      "markdownUrl": "https://anara.com/lector/docs/installation.md",
      "resourceUri": "lector://docs/installation",
      "sha256": "197d3b3fe7948cb9fb71944e146ef5ec9c003e21553c6825d12b469d713673f0"
    },
    {
      "slug": "troubleshooting",
      "title": "Troubleshooting",
      "description": "Diagnose worker errors, blank pages, misplaced layers, reload loops, and missing search results.",
      "url": "https://anara.com/lector/docs/troubleshooting",
      "markdownUrl": "https://anara.com/lector/docs/troubleshooting.md",
      "resourceUri": "lector://docs/troubleshooting",
      "sha256": "34b78c801b0e7b41cf2299e1353c59659fef7a3d2452a136df52dbce7c727278"
    }
  ]
}