基于 Material Design Lite 的双栏文档布局
jekyll-materialdocs — Jekyll 文档模板
作者 chromatical
基于 Material Design Lite 的 Jekyll 双栏文档主题,支持菜单层级、配色切换与站内搜索。
看看你的网站会是什么样
浏览真实页面截图,比较内容排版与手机效果。点击下方缩略图切换,放大查看整页细节。
全部页面与视图 3
截图用于了解视觉与布局,交互效果请以实际项目为准。
值得关注的模板亮点
从已有项目资料中,快速了解它的特点。
支持通过 mdl_colors 切换 MDL 配色方案,并可按页面覆盖
菜单支持父子层级、权重排序、新标签页打开与隐藏
支持 _data/nav.yml 数据驱动菜单,可加入外部链接
内置站内搜索开关,可全局或按页面关闭
提供 gem 安装与 jekyll-remote-theme 两种接入方式
模板详细介绍
MaterialDocs 是一个面向文档站点的 Jekyll 主题,采用 Material Design Lite 构建,页面布局为双栏结构,适合把说明、指南或手册类内容组织成带侧边导航的站点。主题通过 _config.yml 提供站点级选项,包括 logo 路径、MDL 配色方案、版权署名、是否启用搜索以及菜单展示方式;其中 menu_style 设为 dropdown 时只展开当前主菜单项的子项。页面级配置写在 YAML front matter 中,可覆盖菜单文字、是否新标签页打开、父子层级、排序权重、单页配色以及是否从搜索结果中隐藏。菜单还支持 _data/nav.yml 数据驱动方式,用于加入自定义或外部链接,并可通过 id 与 parent 建立层级关系。安装方式有两种:作为 gem 写入 Gemfile 并设置 theme,或配合 jekyll-remote-theme 插件使用 remote_theme 指向仓库。主题以 MIT 许可发布,仓库最近更新时间为 2019 年,使用前建议确认与当前 Jekyll 版本的兼容情况。
适合你的项目吗?
适用场景
- 为开源项目搭建带侧边导航的说明文档站点
- 整理产品手册、操作指南或内部知识库
- 在 GitHub Pages 上通过 remote_theme 快速套用文档主题
- 需要按页面调整配色或隐藏特定页面搜索结果的文档站
适合人群
- 使用 Jekyll 构建静态站点的开发者
- 需要双栏文档布局与层级菜单的项目维护者
- 偏好 Material Design Lite 视觉风格的团队
- 希望通过数据文件维护导航链接的文档站点
上手与定制指南
结合仓库当前版本的说明,按下面的资料检查内容、配置与运行要求。
- 1
在 Gemfile 中加入 gem "jekyll-materialdocs",并在 _config.yml 设置 theme: jekyll-materialdocs,然后执行 bundle。
- 2
也可执行 gem install jekyll-materialdocs 单独安装。
- 3
GitHub Pages 场景需启用 jekyll-remote-theme 插件,并设置 remote_theme: chromatical/jekyll-materialdocs。
- 4
站点选项在 _config.yml 中配置,包括 logo、mdl_colors、copyright、search 与 menu_style。
- 5
页面级菜单与搜索行为通过 YAML front matter 的 menu、tab、parent、weight、mdl_colors、search 控制。
授权与来源资料
使用条件与限制
免费使用 · 保留许可声明本次收录的是公开仓库中采用 MIT 许可的免费版本;免费范围为该版本代码,不代表外部服务或第三方素材免费。
使用时需要遵守
- 允许免费使用、修改、商用和分发该版本代码。
- 分发代码副本或实质性部分时,保留原作者版权声明和完整 MIT 许可声明。
- 代码按现状提供;担保与责任限制以原许可证及适用法律为准。
额外费用与待核对事项
- 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
- 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
查看原文依据
https://github.com/chromatical/jekyll-materialdocs/blob/master/LICENSEhttps://github.com/chromatical/jekyll-materialdocs/blob/master/README.mdPermission is hereby granted, free of charge
许可证原文
DeepSeek 根据仓库许可证和 README 整理 ·2026-10-02。结果仅覆盖已读取资料,依赖、图片、字体及后续条款变更以各自原文为准。
项目核对记录与介绍依据
模板资料
- 来源平台
- GitHub
- 资料与维护参考分
- 资料一般 · 72 / 100
- 技术栈
- Jekyll
- 网站类型
- 文档
这个分数如何计算
本站按许可资料(最高30分)、演示链接(12分)、预览图(10分)、Star数(15分)、记录的维护时间(15分)、描述完整度(8分)、功能记录(5分)和分类资料(5分)计算。它不是代码、安全或性能测试,也不是 Google 评分;有链接不代表已实测可用。
这个项目需要核对什么
- 记录的仓库更新时间
- 2019-08-21
- 截图检查日期
- 2026-10-02
已收录演示链接。请用你的内容与屏幕尺寸检查;有演示不代表表单、认证或支付已经可用。
目录记录的主要技术栈是 Jekyll。请通过依赖清单和锁文件核对实际版本与托管要求。这些说明基于收录资料,不代表代码审计或部署实测。
查看具体选型方法 →介绍的制作与核对状态
介绍由 AI 辅助整理目录与仓库资料。仓库作者不等于这篇介绍的审核者。
已完成服务器许可规则与 AI 来源核对;未经过人工编辑审核。
查看当时使用的来源资料
SHA-256: 41ae58404ffff7f3770dc832c5d86246efa216ce8ccc322ee1aba8def43ad32d
2026-10-02T16:22:15.145Z
来源文件 / 仓库# MaterialDocs
**View this theme on [ThemeJekyll](https://themejekyll.github.io/theme/materialdocs/)**

MaterialDocs is a material two-column Jekyll theme designed for documentation websites. It is built with [Material Design Lite](https://getmdl.io).
## Standard Installation
Add this line to your Jekyll site's `Gemfile`:
```ruby
gem "jekyll-materialdocs"
```
And add this line to your Jekyll site's `_config.yml`:
```yaml
theme: jekyll-materialdocs
```
And then execute:
$ bundle
Or install it yourself as:
$ gem install jekyll-materialdocs
## Using with GitHub Pages
MaterialDocs is compatible with [Jekyll Remote Theme](https://github.com/benbalter/jekyll-remote-theme).
Add the following to `_config.yml` to enable Jekyll Remote Theme.
```yaml
plugins:
- jekyll-remote-theme
```
Add the following to `_config.yml` to use MaterialDocs.
```yaml
remote_theme: chromatical/jekyll-materialdocs
```
## Site Options
```yaml
logo: /path/to/logo.png # an absolute or relative image path to use as the site logo
mdl_colors: indigo-pink # a supported Material Design Lite color scheme
copyright: Your Name # will override the copyright notice (default is site title)
search: true # enabled by default, set to false to disable site search
menu_style: dropdown # will only show child menu items for the main item selected
```
MaterialDocs supports changing the color scheme by setting `mdl_colors` in _config.yml to a supported Material Design Lite scheme (e.g. indigo-pink, deep_orange-blue). Use the [MDL theme builder](https://getmdl.io/customize/index.html) to find color schemes.
## Front Matter Options
MaterialDocs supports a few optional custom values in the YAML front matter.
```yaml
menu: Example Page # will use this as the menu item text instead of title, set to false to remove from menu
tab: true # will open this page in a new tab
parent: index.md # will make this menu item a child of the index.md item
weight: 2 # smaller weights rise to the top of the menu
mdl_colors: deep_orange-blue # override global color scheme for this page
search: false # hides this page from search results
```
## Menu Data File
MaterialDocs supports data-driven menus in `_data/nav.yml`. This can be used to add custom or external links to the menu. Data-driven menu items support all menu-related YAML front matter options. Additionally, data-driven menu items support the `id` option, which can be referenced in `parent`. An example `nav.yml` is shown here.
```yaml
- title: "External Menu Item"
url: "https://example.com"
tab: true # opens this link in a new tab
id: example # will be used as a parent item
- title: "Child Menu Item"
url: "https://example.com"
parent: example # will make this item a child of the item above (not displayed when menu_style is set to 'dropdown')
- title: "Another Child Menu Item"
url: "https://example.com"
parent: about.md # will make this item a child of the about.md item
```
## Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/chromatical/jekyll-materialdocs.
## License
The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
看看同类模板
对比同技术栈与用途的模板,找到更适合的视觉与内容结构。

minimal-mistakes
:triangular_ruler: Jekyll theme for building a personal site, blog, project documentation, or portfolio.
Jekyll · 作品集

jekyll-TeXt-theme
💎 🐳 A super customizable Jekyll theme for personal site, team site, blog, project, documentation, etc.
Jekyll · 博客

jekyll-doc-theme
Jekyll theme for creating project documentation websites
Jekyll · 文档

textlog
Minimalist, lefty-style Jekyll theme designed for documentation based blog.
Jekyll · 博客

jekyll-vitepress-theme
Ruby deserves beautiful documentation. Jekyll VitePress Theme brings VitePress-level polish to Jekyll.
Jekyll · 文档

MESGRO
MESGRO 是一个为机器人、机电一体化与电子工程师设计的 Jekyll 模板,定位是技术项目作品集与文档展示。
Jekyll · 作品集
