Skip to content

Commit fce0346

Browse files
authored
Add Java module for Docling (#172)
1 parent 9ba2bc7 commit fce0346

File tree

2 files changed

+8020
-0
lines changed

2 files changed

+8020
-0
lines changed

modules/docling/index.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
---
2+
title: Docling
3+
categories:
4+
- web
5+
- cloud
6+
docs:
7+
- id: java
8+
url: https://docling-project.github.io/docling-java/current/testcontainers/
9+
maintainer: official
10+
example: |
11+
```java
12+
var doclingContainer = new DoclingServeContainer(
13+
DoclingServeContainerConfig.builder()
14+
.image(DoclingServeContainerConfig.DOCLING_IMAGE)
15+
.enableUi(true)
16+
.build()
17+
);
18+
doclingContainer.start();
19+
```
20+
installation: |
21+
```xml
22+
<dependency>
23+
<groupId>ai.docling</groupId>
24+
<artifactId>docling-testcontainers</artifactId>
25+
<version>${docling.version}</version>
26+
<scope>test</scope>
27+
</dependency>
28+
```
29+
description: |
30+
The `docling-testcontainers` module provides a ready-to-use Testcontainers integration for running a [Docling Serve](https://github.com/docling-project/docling-serve) instance, wrapping the official container image and exposing a simple Java API.
31+
32+
Use this module when:
33+
- You want end-to-end tests that run against a real Docling Serve instance.
34+
- You need a portable, reliable way to boot Docling Serve in your CI pipelines.
35+
- You want a conventient and familiar Java API to tweak the container image, environment variables, startup timeout, and optional UI.
36+
---

0 commit comments

Comments
 (0)