Skip to content

1.2.1 内核选题步骤

Dongliang Mu edited this page Apr 26, 2024 · 2 revisions
  1. 将 RST 格式文件转换为 Markdown 格式,可以使用我们提供的rst2md_pandoc.sh脚本进行一键转换。要使用这个脚本,你需要安装最新的pandoc。Usage:
# 脚本可以为单个 rst 文件,也可以是一个目录,如果是个目录,脚本会将目录下的所有 rst 文件转换为 Markdown 格式。
./rst2md_pandoc.sh <rst file> or <diretory>
# Input your name by the instruction
  1. 然后在转换后的 Markdown 文章中手动填入原文链接,如下
---
status: collected
title: FILL_THE_TITLE_HERE
author: Linux Kernel Community
collector: FILL_YOUR_GITHUB_ID_HERE
collected_date: yyyymmdd(e.g., 20240224)
link: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/
---
  1. 然后提交 PR 到我们的仓库中。