flare-builder
Python package that compiles MadCap Flare .fltar / .flbat targets into HTML
sites and PDFs without MadCap Flare / madbuild.
Install
pip install flare-builder
# or
uv add flare-builder
Requires Python 3.14+. PDF builds need a Chromium browser for Playwright:
playwright install chromium
Usage
Point -project at any Flare project root (or its .flprj):
flare-builder -project /path/to/docs/en.flprj \
-target Project/Targets/FeatureGuide-HTML5
flare-builder -project /path/to/docs/en.flprj \
-batch all-HTML5.flbat -workers 4
From a checkout of this repo (editable):
uv sync --extra dev
uv run playwright install chromium
uv run python -m flare_builder \
-project ../ARS-docs/en.flprj \
-target Project/Targets/FeatureGuide-HTML5
Output
Writes Flare-compatible paths under the project:
Output/<username>/<TargetName>/
HTML5 matches madbuild WebHelp2 shape (guides paths, skins, Data/Tocs, topic
chrome). PDF: _print.html + resolved .pdf + build.log.
Vendored runtime: see flare_builder/runtime/README.md.
Development / ground-truth tests
Defaults to sibling ../ARS-docs (Output_exact/ + homemade Output/).
Override with --project-root or FLARE_PROJECT_ROOT.
uv sync --extra dev
uv run pytest -v -m "not ground_truth"
uv run pytest -v -m ground_truth
uv run pytest -v --rebuild-homemade
Markdown one-to-one compare needs the optional parity group (private Azure
index for oi-html-to-markdown):
uv sync --extra dev --group parity
uv run pytest -v flare_builder/tests/test_htm_markdown_one_to_one.py
License
MIT — see LICENSE.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file flare_builder-0.2.0.tar.gz.
File metadata
- Download URL: flare_builder-0.2.0.tar.gz
- Upload date:
- Size: 298.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
uv/0.9.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
569c66f1a58579f7c626055839727ed44bbb39685d6d10418ba68935efb2b012
|
|
| MD5 |
4ea45714cc7e8af781d43edce7c1e502
|
|
| BLAKE2b-256 |
b1ce69b0c02c8b71c0d376e167671752de4395809c377fe61288417cd1fdc7c0
|
File details
Details for the file flare_builder-0.2.0-py3-none-any.whl.
File metadata
- Download URL: flare_builder-0.2.0-py3-none-any.whl
- Upload date:
- Size: 341.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
uv/0.9.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ee3193b33e47a0ade8b4cbf4ead2a4cd9b17a89826a38365df4afaaa66fa171e
|
|
| MD5 |
26b82a5f9264c8c68faa899abfbdc64b
|
|
| BLAKE2b-256 |
6a2c058c1fcde94ff16b1561373da1d8e0117ebfe82e626f511cd84c0131e0c8
|