为你的 Github 仓库引入自动构建的Github Pages静态页面

1. 设置config文件

在Github仓库根目录下创建_config.yml文件。其中的内容为:

yml 复制代码
plugins:
  - jekyll-relative-links
relative_links:
  enabled: true
  collections: true
include:
  - CONTRIBUTING.md
  - README.md
  - LICENSE.md
  - COPYING.md
  - CODE_OF_CONDUCT.md
  - CONTRIBUTING.md
  - ISSUE_TEMPLATE.md
  - PULL_REQUEST_TEMPLATE.md

theme: jekyll-theme-tactile
  • include中应该跟你仓库中的md文件对应
  • theme指定了需要使用的静态页面模板(支持的主题请查看这里

2. 激活仓库配置中的 Github Pages

在您的项目的 Github 页面进入 Settings > Pages ,设置激活即可!

参考

  1. https://pages.github.com/themes/
  2. https://nicolas-van.github.io/easy-markdown-to-github-pages/
相关推荐
CCPC不拿奖不改名13 小时前
大模型推理架构与开源生态知识整理
数据库·windows·python·架构·langchain·开源·github
redreamSo18 小时前
一天涨 1800 星的 GitHub 榜首:AI 编程瓶颈变成了 token
人工智能·开源·github
逛逛GitHub20 小时前
盘点 18 个 Kimi K3 外网爆火的案例,太令人惊艳了。
github
benchmark_cc1 天前
如何用 Python 进行多周期 K 线合成与时区对齐?基于 QuantDash 与 Pandas 的量化数据清洗实战(附 GitHub 源码)
开发语言·python·github·盯盘·pandas·quantdash·量化数据
luyingying1 天前
从 400 行到 30 个文件,我只做了一件事
github
武子康1 天前
GitHub Actions `pull_request_target` 与 Pwn Request:高权限工作流里的 Fork 代码执行风险(2026)
人工智能·github·ai编程
武子康1 天前
GitHub Models 7-30 退役全拆:Inventory + Capability Probe + Shadow Traffic + Brownout
人工智能·github·github copilot
咖啡星人k1 天前
GitHub Copilot 加入 Agent 浏览器:验证 Web 应用进入编码闭环
前端·人工智能·github·copilot·前端开发·ai agent
C+-C资深大佬1 天前
GitHub Actions 自动化运维实战:从零到一构建高效 CI/CD 流水线
运维·自动化·github
小弥儿2 天前
GitHub今日热榜 | 2026-07-19
人工智能·学习·github·知识图谱