Skip to content

Add FileDocumentLoader for local file: URLs - #301

Open
anatoly-scherbakov wants to merge 14 commits into
masterfrom
file-document-loader
Open

Add FileDocumentLoader for local file: URLs#301
anatoly-scherbakov wants to merge 14 commits into
masterfrom
file-document-loader

Conversation

@anatoly-scherbakov

Copy link
Copy Markdown
Collaborator

Summary

  • Add FileDocumentLoader to load local JSON-LD from file: URLs, scheme-less paths, and pathlib.Path, with optional root confinement
  • Document the loader (reference page, examples, content-type table macro) and export it from the package root
  • Switch FrozenDocumentLoader docs to mkdocstrings autodoc and clean Sphinx roles from its docstrings for MkDocs rendering

Test plan

  • pytest tests/test_file_document_loader.py
  • make docs-build (strict)
  • CI green on the PR

Related: prerequisite for #151; scheme dispatch tracked in #300

@github-actions

github-actions Bot commented Jul 25, 2026

Copy link
Copy Markdown

Comment thread docs/reference/document-loaders/file.md
Comment thread docs/reference/document-loaders/frozen.md
Comment thread docs/reference/document-loaders/file.md
Comment thread docs/reference/document-loaders/index.md
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