跳到正文
主题

Ledger DocsWordPress 文档主题

一款沉稳、快速的文档主题,专为写文档的人打造,而非营销页面。

GPL-2.0 v1.0.0
Ledger Docs
Ledger Docs — design preview
Design preview: an illustration of the theme's layout, colours and type, not a screenshot of a live site.

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.