Jekyll 文档主题,仓库附带在线演示站点
jekyll-doc-theme — Jekyll 文档模板
作者 aksakalli
基于 Jekyll 的项目文档网站主题,使用 MIT 许可发布,可通过本地构建、Docker 或 GitHub Pages 远程主题方式部署。
看看你的网站会是什么样
浏览真实页面截图,比较内容排版与手机效果。点击下方缩略图切换,放大查看整页细节。
全部页面与视图 3
截图用于了解视觉与布局,交互效果请以实际项目为准。
值得关注的模板亮点
从已有项目资料中,快速了解它的特点。
提供本地 Ruby/Bundler、Docker 与 GitHub Pages 远程主题三种使用方式
主题资源集中在 /asset 目录,含样式、字体、图片、脚本、404 页与搜索索引文件
可通过复制 main.scss 并修改变量覆盖颜色与布局等样式
采用 MIT 许可,允许免费使用、修改、商用与分发
模板详细介绍
jekyll-doc-theme 是一个面向项目文档网站的 Jekyll 主题,仓库提供演示站点与完整源码。主题以 Jekyll 与 HTML 为基础,适合把 Markdown 内容组织成带导航的文档站点。
部署方式有三种:本地使用 Ruby 与 Bundler 运行 jekyll serve;通过仓库中的多阶段 Dockerfile 构建镜像并由 Nginx 提供静态文件;或在 GitHub Pages 上借助 jekyll-remote-theme 插件引用 gh-pages 分支或指定标签作为远程主题。
主题资源集中在 /asset 目录,包含 css、fonts、img、js、404.html、allposts.html 与 search.json。项目文件可覆盖同名主题文件,官方建议通过复制 asset/css/main.scss 到自有项目、在导入语句前修改变量(如 Bootstrap 栅格与容器宽度)来定制样式,也可在标准导入之后追加自定义样式。
README 列出了大量使用该主题的站点,涵盖编译器、机器学习、数据库、科研课程与开发者文档等方向,其中包含一个从右到左排版的案例。
适合你的项目吗?
适用场景
- 为开源项目搭建带导航与搜索的文档站点
- 在 GitHub Pages 上以远程主题方式快速套用文档外观
- 用 Docker 镜像将构建好的静态文档部署到 Nginx
- 为科研项目、课程或开发者平台整理说明文档
适合人群
- 熟悉 Jekyll 与 Markdown 工作流的开发者
- 需要为开源项目建立文档站点的维护者
- 希望用 Docker 或 GitHub Pages 发布静态文档的团队
上手与定制指南
结合仓库当前版本的说明,按下面的资料检查内容、配置与运行要求。
- 1
本地运行需先安装 Ruby 与 gem,再执行 gem install bundler、bundle install 与 bundle exec jekyll serve
- 2
Docker 方式需在构建时通过 JEKYLL_BASEURL 参数指定站点基础路径,留空表示根路径
- 3
GitHub Pages 方式需启用 github-pages 插件并在 _config.yml 中配置 remote_theme 指向 gh-pages 分支或具体标签
- 4
自定义样式时复制 asset/css/main.scss 到自有项目,在导入语句前修改变量,或在标准导入后追加覆盖
- 5
演示图片、字体、图标等第三方素材需按各自许可单独核对,不能仅依据代码的 MIT 许可判断
授权与来源资料
使用条件与限制
免费使用 · 保留许可声明本次收录的是公开仓库中采用 MIT 许可的免费版本;免费范围为该版本代码,不代表外部服务或第三方素材免费。
使用时需要遵守
- 允许免费使用、修改、商用和分发该版本代码。
- 分发代码副本或实质性部分时,保留原作者版权声明和完整 MIT 许可声明。
- 代码按现状提供;担保与责任限制以原许可证及适用法律为准。
额外费用与待核对事项
- 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
- 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
查看原文依据
https://github.com/aksakalli/jekyll-doc-theme/blob/gh-pages/LICENSEhttps://github.com/aksakalli/jekyll-doc-theme/blob/gh-pages/README.mdPermission is hereby granted, free of charge
许可证原文
DeepSeek 根据仓库许可证和 README 整理 ·2026-10-02。结果仅覆盖已读取资料,依赖、图片、字体及后续条款变更以各自原文为准。
项目核对记录与介绍依据
模板资料
- 来源平台
- GitHub
- 资料与维护参考分
- 资料较完整 · 81 / 100
- 技术栈
- Jekyll · HTML
- 网站类型
- 文档 · 工具站
这个分数如何计算
本站按许可资料(最高30分)、演示链接(12分)、预览图(10分)、Star数(15分)、记录的维护时间(15分)、描述完整度(8分)、功能记录(5分)和分类资料(5分)计算。它不是代码、安全或性能测试,也不是 Google 评分;有链接不代表已实测可用。
这个项目需要核对什么
- 记录的仓库更新时间
- 2024-02-29
- 截图检查日期
- 2026-10-02
已收录演示链接。请用你的内容与屏幕尺寸检查;有演示不代表表单、认证或支付已经可用。
目录记录的主要技术栈是 Jekyll。请通过依赖清单和锁文件核对实际版本与托管要求。这些说明基于收录资料,不代表代码审计或部署实测。
查看具体选型方法 →介绍的制作与核对状态
介绍由 AI 辅助整理目录与仓库资料。仓库作者不等于这篇介绍的审核者。
已完成服务器许可规则与 AI 来源核对;未经过人工编辑审核。
查看当时使用的来源资料
SHA-256: b0d4066d1b0f4616ac9e2eb72717679be931969580983b3929caebf6255b0f11
2026-10-02T08:00:28.132Z
来源文件 / 仓库# Jekyll Doc Theme
Go to [the website](https://aksakalli.github.io/jekyll-doc-theme/) for detailed information and demo.
## Running locally
You need Ruby and gem before starting, then:
```bash
# install bundler
gem install bundler
# clone the project
git clone https://github.com/aksakalli/jekyll-doc-theme.git
cd jekyll-doc-theme
# install dependencies
bundle install
# run jekyll with dependencies
bundle exec jekyll serve
```
### Theme Assets
As of the move to support [Github Pages](https://pages.github.com/) a number of files have been relocated to the `/asset` folder.
- css/
- fonts/
- img/
- js/
- 404.html
- allposts.html
- search.json
## Docker
Alternatively, you can deploy it using the multi-stage [Dockerfile](Dockerfile)
that serves files from Nginx for better performance in production.
Build the image for your site's `JEKYLL_BASEURL`:
```
docker build --build-arg JEKYLL_BASEURL="/your-base/url" -t jekyll-doc-theme .
```
(or leave it empty for root: `JEKYLL_BASEURL=""`) and serve it:
```
docker run -p 8080:80 jekyll-doc-theme
```
## Github Pages
The theme is also available to [Github Pages](https://pages.github.com/) by making use of the [Remote Theme](https://github.com/benbalter/jekyll-remote-theme) plugin:
**Gemfile**
```
# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
# uncomment the line below. To upgrade, run `bundle update github-pages`.
gem "github-pages", group: :jekyll_plugins
```
**_config.yml**
```
# Configure the remote_theme plugin with the gh-pages branch
# or the specific tag
remote_theme: aksakalli/jekyll-doc-theme@gh-pages
```
### Theme Assets
Files from your project will override any theme file with the same name. For example, the most comment use case for this, would be to modify your sites theme or colors. To do this, the following steps should be taken:
1) Copy the contents of the `aksakalli/jekyll-doc-theme/asset/css/main.scss` to your own project (maintaining folder structure)
2) Modify the variables you wish to use prior to the import statements, for example:
```
// Bootstrap variable overrides
$grid-gutter-width: 30px !default;
$container-desktop: (900px + $grid-gutter-width) !default;
$container-large-desktop: (900px + $grid-gutter-width) !default;
@import // Original import statement
{% if site.bootwatch %}
"bootswatch/{{site.bootwatch | downcase}}/variables",
{% endif %}
"bootstrap",
{% if site.bootwatch %}
"bootswatch/{{site.bootwatch | downcase}}/bootswatch",
{% endif %}
"syntax-highlighting",
"typeahead",
"jekyll-doc-theme"
;
// More custom overrides.
```
3) Import or override any other theme styles after the standard imports
## Projects using Jekyll Doc Theme
* http://teavm.org/
* https://ogb.stanford.edu/
* https://griddb.org/
* https://su2code.github.io/
* https://contextmapper.org/
* https://launchany.github.io/mvd-template/
* https://knowit.github.io/kubernetes-workshop/
* https://rec.danmuji.org/
* https://nethesis.github.io/icaro/
* http://ai.cs.ucl.ac.uk/
* http://tizonia.org
* https://lakka-switch.github.io/documentation/
* https://cs.anu.edu.au/cybersec/issisp2018/
* http://www.channotation.org/
* http://nemo.apache.org/
* https://csuf-acm.github.io/
* https://extemporelang.github.io/
* https://media-ed-online.github.io/intro-web-dev-2018spr/
* https://midlevel.github.io/MLAPI/
* https://pulp-platform.github.io/ariane/docs/home/
* https://koopjs.github.io/
* https://developer.apiture.com/
* https://contextmapper.github.io/
* https://www.bruttin.com/CosmosDbExplorer/
* http://mosaic-lopow.github.io/dash7-ap-open-source-stack/
* http://www.vstream.ml/
* http://docs.fronthack.com/
* https://repaircafeportsmouth.org.uk/
* http://brotherskeeperkenya.com/
* https://hschne.at/Fluentast/
* https://zoe-analytics.eu/
* https://uli.kmz-brno.cz/
* https://lime.software/
* https://weft.aka.farm
* https://microros.github.io/
* https://citystoriesucla.github.io/citystories-LA-docs
* http://lessrt.org/
* http://kivik.io/
* https://www.iot-kit.nl/
* http://justindietz.com/
* https://universalsplitscreen.github.io/
* https://docs.oneflowcloud.com/
* https://actlist.silentsoft.org/
* https://teevid.github.io
* https://developer.ipums.org
* https://osmpersia.github.io (right-to-left)
* https://ecmlpkdd2019.org
* https://idle.land
* https://mqless.com
* https://muict-seru.github.io/
* https://www.invoice-x.org
* https://www.devops.geek.nz
## License
Released under [the MIT license](LICENSE).
看看同类模板
对比同技术栈与用途的模板,找到更适合的视觉与内容结构。

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 · 博客

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 · 文档

strata-jekyll
Strata for Jekyll 把 HTML5 UP 的 Strata 视觉设计移植到了 Jekyll 静态站点生成器上,定位是一个简洁、响应式的个人博客主题。
Jekyll · 工具站

jekyll-materialdocs
MaterialDocs is a material two-column Jekyll theme designed for documentation websites.
Jekyll · 文档
