docs: add Docling Interface template to the gallery - #9888
Open
micaelakaplan wants to merge 7 commits into
Open
Conversation
Adds a new Docling entry to the Interfaces templates gallery, documenting the DoclingDocument annotation interface (layout regions, reading order, table structure, in-browser OCR, live DocLang XML preview). Emphasizes up front that two CDN hosts (cdn.jsdelivr.net for the DocLang viewer, unpkg.com for Tesseract.js OCR) must be added to the org Interfaces allowlist under both "Advanced: external scripts" (script-src) and "API origins" (connect-src), since the interface loads them at runtime. - docs/source/templates/interfaces-docling.md: new gallery page - docs/source/templates/gallery_interfaces.ejs: new Docling card - interface-docling.png: interface screenshot Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
✅ Deploy Preview for label-studio-docs-new-theme canceled.
|
✅ Deploy Preview for heartex-docs canceled.
|
✅ Deploy Preview for label-studio-storybook canceled.
|
✅ Deploy Preview for label-studio-playground canceled.
|
Add a "Part of the Docling ecosystem" note near the top: links to the Docling project docs, the Docling ML backend example (auto pre-labeling), and IBM Docling SaaS / Workbench as the hosted conversion service. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Reflect the docling -> doclang rename made in the interface (hs-platform PR 2098): rename the doc slug + screenshot to interfaces-doclang, update the gallery entry, rename the result controls (docling -> doclang, and the DocLang XML control doclang -> doclang_xml), and relabel the preview tab "DocLang" -> "xml". Point the Docling toolkit/Workbench links at the new website https://docling.ai and the IBM Docling SaaS reference at https://www.ibm.com/products/docling. IBM Docling library/type references (DoclingDocument, the Docling toolkit, ecosystem, and ML backend) are left unchanged. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The "Interface admin settings" and "external libraries" links used bare slugs, which resolve under /templates/ and 404 since the target pages live under /guide/. Point them at /guide/admin-interfaces and /guide/interfaces-libraries. Fixes the check_links CI failure. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The Docling template page renders on the open-source docs site, but admin-interfaces and interfaces-libraries are tier: enterprise pages that aren't built there, so /guide/... resolved to 404 in the link checker. Point them at https://docs.humansignal.com/guide/... — the same absolute-URL convention other OS pages use to reference enterprise docs. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds a new Docling entry to the Interfaces templates gallery, documenting the DoclingDocument annotation interface (layout regions, reading order, table structure, in-browser OCR, and the live DocLang XML preview).
docs/source/templates/interfaces-docling.md— new gallery page (follows the existinginterfaces-*.mdformat: Document AI as the closest model)docs/source/templates/gallery_interfaces.ejs— new Docling card, grouped after Document AIdocs/themes/v2/source/images/templates-misc/interface-docling.png— interface screenshotWhy the allowlist emphasis
Unlike most templates, this interface loads two libraries from public CDNs at runtime, so it won't work until an Owner/Admin allowlists those hosts. The page leads with this:
https://cdn.jsdelivr.net(DocLang viewer / preview) andhttps://unpkg.com(Tesseract.js / in-browser OCR)script-src) and API origins (connect-src)Notes
🤖 Generated with Claude Code