Documentation project instructions
About this project
- Documentation for Jetxl, a fast Excel writer for Python built in Rust
- Built on Mintlify. Pages are MDX with YAML frontmatter; configuration lives in
docs.json - Use the Mintlify MCP server,
https://mcp.mintlify.com, to edit content and settings - Use the Mintlify docs MCP server,
https://www.mintlify.com/docs/mcp, to query Mintlify usage
Sources of truth
Ranked, most reliable first:- Running the library.
pip install jetxl polars pyarrow openpyxl, write a file, read it back with openpyxl. This is the only way to catch behavior that contradicts both the stub and the source comments. - The Rust source in the Jetxl repository.
jetxl.pyi. Signatures only. Treat defaults and requiredness as unverified.
Terminology
- “Jetxl” capitalized in prose,
jetxlin code - Examples import as
import jetxl as jet - “Arrow functions” means those ending in
_arrow; “dictionary functions” meanswrite_sheetandwrite_sheets - “Bytes functions” means those ending in
_to_bytes - Say “spreadsheet” or “workbook”, not “Excel file”, except where Excel’s own behavior is the subject
Style preferences
Follow the Google developer documentation style guide.- Active voice, second person
- Sentence case headings, one idea per sentence
- American spelling
- Bold for UI elements: choose Format Cells
- Code formatting for file names, commands, paths, parameters, and values
- No manual H1 — Mintlify generates it from the
titlefrontmatter - Avoid “simply”, “just”, “please”, “in order to”, “e.g.”, “i.e.”, “via”, and “allows you to”
Content boundaries
Document silent failures explicitly. These cost users the most time and none of them raises:- Unusable colors are dropped and the file still writes
NaNand infinity become empty cells- Control characters are stripped from text
- An unrecognized conditional-format
operatorfalls back togreater_than - An unrecognized
rule_typedrops the whole rule - A table missing a required key is dropped
Audience
Two groups, served by content type rather than by page:- Guides and recipes for analysts who want a formatted spreadsheet. Lead with the outcome, put mechanics lower down.
- Reference for developers who know what they’re looking for. Dense and complete, no tutorial framing.