What Ledger Docs is for
Ledger Docs is a block theme for documentation: plugin and theme manuals, open-source project docs, internal handbooks. Each template puts a vertical Navigation block in a left-hand column that stays in view as the reader scrolls on screens wider than 782px, with the content beside it.
Code is treated as content, not decoration. The Code and Preformatted blocks get a border, padding and a monospace system font from theme.json, and inline code is styled to stay legible inside a sentence. A search field sits in the header on every page and on the 404 page.
It uses system fonts, makes no third-party requests, and ships five templates (index, single, page, archive, 404) and two template parts. There is one light colour palette; colours can be changed in Styles.
Who it suits
Plugin authors, open-source maintainers and teams who want a WordPress site that reads like a manual — sidebar tree, search, code samples — without a docs plugin or a page builder.
Ledger Docs 內含什麼
- 以標準「導覽」區塊打造的固定式左側文件側邊欄,讓作者無需寫程式,即可在編輯器中管理文件的樹狀結構。
- 一流的程式碼呈現:帶邊框、等寬字型的 core/code 與 core/preformatted 區塊,加上經過設計的行內程式碼,全部由 theme.json 驅動。
- 透過 clamp() 實現的流動式系統字型排版,搭配精調的字級比例、寬鬆的行高,且不使用任何外部或內附的字型檔案。
- A restrained light palette (white base, near-black text, one blue primary) with two duotone filters; every text colour measures above WCAG AA contrast on the base and surface colours.
- 無障礙就緒:略過連結、清晰可見的鍵盤焦點、語意化的 header/main/footer 地標,以及 prefers-reduced-motion 支援。
- 利於搜尋的彙整頁面:頁首設有常駐的搜尋欄位,並以簡潔的查詢迴圈列表方便瀏覽文件。
Ledger Docs at a glance
- Theme type
- Block theme (edited in the Site Editor)
- Current version
- 1.0.0
- First published
- 2026年7月14日
- Requires WordPress
- 6.5
- Tested up to WordPress
- 6.7
- Requires PHP
- 7.4
Requirements come from the theme's own style.css. Checked on 2026年10月28日.
Good to know before you install
- This theme is downloaded from this site, not from the WordPress.org directory, so WordPress will not show an update notice for it. Check this page for new versions.
- There is no dark mode and no bundled style variation.
- Code blocks are styled but not syntax-highlighted; use a highlighting plugin if you need colours.
- The sidebar and header Navigation blocks ship without a menu assigned, so WordPress shows its fallback menu in both until you pick one.
相關
你可能也會喜歡的其他佈景主題
常見問題
Ledger Docs 常見問題
What does Ledger Docs need to run?
WordPress 6.5 or later and PHP 7.4 or later, according to its style.css, which also says it was tested up to WordPress 6.7. The current version is 1.0.0.
Does Ledger Docs highlight code syntax?
No. It styles the Code and Preformatted blocks (border, padding, monospace font) and inline code, but colouring code by language is plugin territory. Its blocks are built to sit well next to any highlighter.
How do I give the docs sidebar its own menu?
Open Appearance → Editor → Templates, edit a template such as Single, select the Navigation block in the left column and choose or create a menu in its settings. Do the same in the Page, Index and Archive templates. Until you do, WordPress fills every Navigation block, including the header one, with the same fallback menu.
Does Ledger Docs have a dark mode?
No. It ships one light palette with a near-black text colour and a blue primary. You can change any colour under Appearance → Editor → Styles.
Can I remove the Ledger Docs footer credit?
Yes. Edit the Footer template part in Appearance → Editor → Patterns, delete the “Theme by Odie Themes” paragraph and save. Nothing depends on it.