Skip to main content

Fr-docs

Generate fast, fully featured, modern documentation pages from markdown for GitHub pages and static hosting.

Lint Docs PyPi CodeQL

Documentation

Overview

Fr-docs is a generic, configurable documentation builder for Python projects. It converts Markdown source files into a searchable, optimized static HTML site with zero-config setup.

Key Features

  • Config-driven: All settings defined in config.json

    • Project name, URL, description, and sidebar structure
    • Search, code references, auto-linking, and related pages
    • Build options: workers, minification, zstd level, and HTML optimization
  • Zero-config setup: Works out of the box with sensible defaults

  • Search: Full-text search with Zstandard-compressed index

    • Symbol-level search across all source files
    • File index for browsing source code
    • Per-file source highlights with caching
  • Optimized: HTML minification, critical CSS/JS inlining, Zstd compression

    • Critical CSS extracted and inlined for both mobile and desktop viewports
    • JavaScript and CSS minified with terser and html-minifier-next
    • Zstd-compressed search index, source files, highlights, and metadata
    • Adaptive zstd level selection (scans 1..configured, picks the smallest)
  • Multi-environment: Different configs for production, staging, development

  • Parallel builds: Threaded page generation for faster builds

  • Git integration: Automatic metadata extraction from git commits

    • Version options derived from commit messages (e.g. 4D - fix bug → 4.4.0)
    • Commit SHA and message embedded in the version selector
  • Local font serving: Fonts downloaded at build time and served from the site's own origin

    • No third-party font round-trips or 404s when Google changes the URL scheme
    • font-display: swap with metric-compatible font-ascent-descent fallbacks
    • Primary body font weight preloaded for faster first paint
  • Sidebar: Collapsible sections with auto-expansion

    • The section containing the current page is expanded on load
    • Single-page sections and single-section sites are expanded by default
  • Inline copy commands: Prefix inline code with c to create copy-on-click links

  • Code references: Auto-link bare filename references to their source files

  • Backlinks and related pages: Automatically generated navigation between related content

Projects that use fr-docs

Release files for fr-docs 2.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fr-docs 2.3.0
File Size Uploaded
fr_docs-2.3.0.tar.gz 39.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for fr-docs 2.3.0
File Interpreter ABI Platform
fr_docs-2.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 81.9 kB

Release files / fr_docs-2.3.0.tar.gz

Download URL fr_docs-2.3.0.tar.gz
Size 39.1 kB
Tags Source
SHA-256 checksum
How to use checksums
a7184bf46c23db7da1cec2d86366c2c44bc58c164742a50f588b962ac59f975b
BLAKE2b-256 checksum
How to use checksums
ddd96084e1aa87b6054142479cae396d3a47786ff5422ad9891c07d104272ac7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 25, 2026.

Transparency log

Release files / fr_docs-2.3.0-py3-none-any.whl

Download URL fr_docs-2.3.0-py3-none-any.whl
Size 42.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3047431d2e6eed608b0675ef9ae5a14d346e04d35a9ad6c48232737ed3519a41
BLAKE2b-256 checksum
How to use checksums
113bd0051622ac4beff27eb08870fad79aa2646be30582455504144596ab16ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 25, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

2.3.0 This release

2 release files

2.2.0

2 release files

2.1.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page