sphinx-obsidian-frontmatter
Your Sphinx docs, ready for your second brain.
sphinx-obsidian-frontmatter turns every page your Sphinx markdown build
emits into a proper Obsidian note — complete with a YAML frontmatter block
for title, author, version, build date, languages, tags, and whatever
custom properties your vault cares about. Write your docs once in
reStructuredText. Get clean, Obsidian-native markdown out the other end,
automatically, every build.
No manual frontmatter. No copy-paste metadata. No drift between what your docs say and what your vault knows.
Why you'll like it
- Zero-touch. Add two lines to
conf.py, runsphinx-build -b markdown, done. Every page gets frontmatter, automatically, forever. - Obsidian-shaped output. Unquoted scalars, flow-style lists
(
tags: [api, internal]) — frontmatter that looks like a human (or Obsidian) wrote it, not a YAML dumper. - Your metadata, your rules. Tags, languages, timezone-aware build
dates, and an open-ended
obsidian_propertiesdict for anything else your vault's schema needs. - Safe by default. Bad config — an invalid timezone, a malformed property — fails the build loudly, immediately, instead of shipping silently broken frontmatter.
- Rebuild-friendly. Incremental builds replace stale frontmatter instead of stacking duplicate blocks on top of it.
Quickstart
pip install sphinx-obsidian-frontmatter sphinx-markdown-builder
# conf.py
extensions = [
"sphinx_markdown_builder",
"sphinxcontrib.sphinx_obsidian_frontmatter",
]
obsidian_tags = ["docs", "api"]
obsidian_languages = ["python"]
obsidian_timezone = "America/Los_Angeles"
obsidian_properties = {"ecosystem": "acme-widgets"}
sphinx-build -b markdown doc/source doc/build/markdown
Every emitted page now starts with:
---
title: Getting Started
author: Chris Malek
version: 1.2
date: 2026-08-26
language: [python]
tags: [docs, api]
ecosystem: acme-widgets
---
Drop the output straight into your Obsidian vault and it's already tagged, dated, and linked into your metadata system.
Learn more
Full configuration reference, troubleshooting, and the design rationale behind every rendering rule live in the docs: https://sphinx-obsidian-frontmatter.readthedocs.io/en/latest/
Links
Metadata
Release files for sphinx-obsidian-frontmatter 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| sphinx_obsidian_frontmatter-0.1.1.tar.gz | 9.0 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sphinx_obsidian_frontmatter-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.2 kB
Release files / sphinx_obsidian_frontmatter-0.1.1.tar.gz
| Download URL | sphinx_obsidian_frontmatter-0.1.1.tar.gz |
|---|---|
| Size | 9.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fd0f176a5ae9d587cee5599d69f9b376e6ea0fd61fe80bcdc5dec6767e1b886c
|
|
BLAKE2b-256 checksum How to use checksums |
ebe61fe71cdbe9fbbf2cd49c9916192faeb146c6ad3e7be2cfef24b35fdf583c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.10
|
Release files / sphinx_obsidian_frontmatter-0.1.1-py3-none-any.whl
| Download URL | sphinx_obsidian_frontmatter-0.1.1-py3-none-any.whl |
|---|---|
| Size | 6.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
522efe7530c74037b08f33f0f7fd2e8ae8c73d886d75fe5c7e251e6394c99ed5
|
|
BLAKE2b-256 checksum How to use checksums |
9f9a5f4559d5cac5765a068bbb4f2eb2a633aa4096aa663ca2950c0000e3225d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.10
|
Security for sphinx-obsidian-frontmatter 0.1.1
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.