mirror of
https://gitea.com/gitea/docs.git
synced 2026-07-22 02:37:42 +00:00
Merge pull request 'fix duplicate packages and actions' (#6) from HesterG/gitea-docusaurus:fix-duplicate-dirs into main
Reviewed-on: https://gitea.com/gitea/gitea-docusaurus/pulls/6 Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
This commit is contained in:
1
Makefile
1
Makefile
@@ -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/docs/content/page/index.en-us.md docs/intro.md
|
||||||
cp .tmp/upstream-docs-latest/templates/swagger/v1_json.tmpl static/latest-swagger.json
|
cp .tmp/upstream-docs-latest/templates/swagger/v1_json.tmpl static/latest-swagger.json
|
||||||
bash loop_docs.sh
|
bash loop_docs.sh
|
||||||
rm docs/help/search.en-us.md || true
|
|
||||||
|
|
||||||
.PHONY: prepare-latest-zh-cn
|
.PHONY: prepare-latest-zh-cn
|
||||||
prepare-latest-zh-cn: clone_main
|
prepare-latest-zh-cn: clone_main
|
||||||
|
|||||||
20
sidebars.js
20
sidebars.js
@@ -29,26 +29,6 @@ module.exports = {
|
|||||||
type: 'category',
|
type: 'category',
|
||||||
label: 'Usage',
|
label: 'Usage',
|
||||||
items: [
|
items: [
|
||||||
{
|
|
||||||
type: 'category',
|
|
||||||
label: 'Actions',
|
|
||||||
items: [
|
|
||||||
{
|
|
||||||
type: 'autogenerated',
|
|
||||||
dirName: 'usage/actions',
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
type: 'category',
|
|
||||||
label: 'Packages',
|
|
||||||
items: [
|
|
||||||
{
|
|
||||||
type: 'autogenerated',
|
|
||||||
dirName: 'usage/packages',
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
type: 'autogenerated',
|
type: 'autogenerated',
|
||||||
dirName: 'usage',
|
dirName: 'usage',
|
||||||
|
|||||||
Reference in New Issue
Block a user