fix duplicate packages and actions #6

Merged
techknowlogick merged 1 commits from HesterG/gitea-docusaurus:fix-duplicate-dirs into main 2023-05-21 05:55:28 +00:00
2 changed files with 0 additions and 21 deletions

View File

@ -25,7 +25,6 @@ prepare-latest: clone_main
cp .tmp/upstream-docs-latest/docs/content/page/index.en-us.md docs/intro.md
cp .tmp/upstream-docs-latest/templates/swagger/v1_json.tmpl static/latest-swagger.json
bash loop_docs.sh
rm docs/help/search.en-us.md || true
techknowlogick marked this conversation as resolved
Review

why removed this line?

why removed this line?
Review

action has an error at the end of step "prepare nightly docs"

Because location of search.en-us.md in lastest main is changed, it is now under /docs/content/doc directory of the upstream main branch, and is already removed by the bash loop_docs.sh step

[action](https://gitea.com/gitea/gitea-docusaurus/actions/runs/45) has an error at the end of step "prepare nightly docs" Because location of [search.en-us.md](https://github.com/go-gitea/gitea/blob/main/docs/content/doc/search.en-us.md) in lastest main is changed, it is now under /docs/content/doc directory of the upstream main branch, and is already removed by the `bash loop_docs.sh` step
.PHONY: prepare-latest-zh-cn
prepare-latest-zh-cn: clone_main

View File

@ -29,26 +29,6 @@ module.exports = {
type: 'category',
label: 'Usage',
items: [
{
type: 'category',
label: 'Actions',
items: [
{
type: 'autogenerated',
dirName: 'usage/actions',
}
]
},
{
type: 'category',
label: 'Packages',
items: [
{
type: 'autogenerated',
dirName: 'usage/packages',
}
]
},
{
type: 'autogenerated',
dirName: 'usage',