Skip to content

Add FileDocumentLoader for local file: URLs - #301

Merged
anatoly-scherbakov merged 15 commits into
masterfrom
file-document-loader
Aug 19, 2026
Merged

Add FileDocumentLoader for local file: URLs#301
anatoly-scherbakov merged 15 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
@mielvds

mielvds commented Aug 19, 2026

Copy link
Copy Markdown
Collaborator

@anatoly-scherbakov if you move the changelog entries to 3.3.0 and document the options, this one's good to go

@anatoly-scherbakov
anatoly-scherbakov merged commit 5233d14 into master Aug 19, 2026
20 checks passed
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