1
0
Fork 0
forked from forgejo/forgejo

Docusaurus-ify (#26051)

This PR cleans up the docs in a way to make them simpler to ingest by
our [docs repo](https://gitea.com/gitea/gitea-docusaurus).

1. It includes all of the sed invocations our ingestion did, removing
the need to do it at build time.
2. It replaces the shortcode variable replacement method with
`@variable@` style, simply for easier sed invocations when required.
3. It removes unused files and moves the docs up a level as cleanup.

---------

Signed-off-by: jolheiser <john.olheiser@gmail.com>
This commit is contained in:
John Olheiser 2023-07-25 23:53:13 -05:00 committed by GitHub
parent 5dc37ef97a
commit bd4c7ce578
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
281 changed files with 794 additions and 2157 deletions

View file

@ -0,0 +1,20 @@
---
date: "2023-05-23T09:00:00+08:00"
title: "个人资料 README"
slug: "profile-readme"
sidebar_position: 12
toc: false
draft: false
menu:
sidebar:
parent: "usage"
name: "个人资料 README"
sidebar_position: 12
identifier: "profile-readme"
---
# 个人资料 README
要在您的 Gitea 个人资料页面显示一个 Markdown 文件,只需创建一个名为 ".profile" 的仓库,并编辑其中的 README.md 文件。Gitea 将自动获取该文件并在您的仓库上方显示。
注意您可以将此仓库设为私有。这样可以隐藏您的源文件使其对公众不可见并允许您将某些文件设为私有。但是README.md 文件将是您个人资料上唯一存在的文件。如果您希望完全私有化 .profile 仓库,则需删除或重命名 README.md 文件。