mirror of
https://github.com/discordeno/discordeno.git
synced 2026-05-21 02:40:08 +00:00
fix: docs /md bug
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -17,7 +17,7 @@ site/docs/generated/classes
|
||||
site/docs/generated/enums
|
||||
site/docs/generated/interfaces
|
||||
site/docs/generated/modules
|
||||
website/docs/generated/classes
|
||||
website/docs/generated/classes/*.md
|
||||
website/docs/generated/enums/*.md
|
||||
website/docs/generated/interfaces/*.md
|
||||
website/docs/generated/modules/*.md
|
||||
|
||||
@@ -39,6 +39,12 @@ for await (let filepath of walk(typedocOutPath)) {
|
||||
|
||||
// Converts ugly names to clean names for example discordeno_types.ActionRow becomes ActionRow
|
||||
const cleanForms = [
|
||||
{ ugly: 'discordeno_bot.md', clean: 'Bot.md'},
|
||||
{ ugly: 'discordeno_client.md', clean: 'Client.md'},
|
||||
{ ugly: 'discordeno_gateway.md', clean: 'Gateway.md'},
|
||||
{ ugly: 'discordeno_rest.md', clean: 'Rest.md'},
|
||||
{ ugly: 'discordeno_types.md', clean: 'Types.md'},
|
||||
{ ugly: 'discordeno_utils.md', clean: 'Utils.md'},
|
||||
{ ugly: 'discordeno_bot.' },
|
||||
{ ugly: 'discordeno_client.' },
|
||||
{ ugly: 'discordeno_gateway.' },
|
||||
|
||||
9
website/docs/generated/classes/_category_.json
Normal file
9
website/docs/generated/classes/_category_.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"label": "Classes",
|
||||
"position": 2,
|
||||
"link": {
|
||||
"type": "generated-index",
|
||||
"description": "Automatically generated documentation for modules."
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,9 +6,9 @@
|
||||
|
||||
### Modules
|
||||
|
||||
- [@discordeno/bot](modules/md)
|
||||
- [@discordeno/client](modules/md)
|
||||
- [@discordeno/gateway](modules/md)
|
||||
- [@discordeno/rest](modules/md)
|
||||
- [@discordeno/types](modules/md)
|
||||
- [@discordeno/utils](modules/md)
|
||||
- [@discordeno/bot](modules/Bot.md)
|
||||
- [@discordeno/client](modules/Client.md)
|
||||
- [@discordeno/gateway](modules/Gateway.md)
|
||||
- [@discordeno/rest](modules/Rest.md)
|
||||
- [@discordeno/types](modules/Types.md)
|
||||
- [@discordeno/utils](modules/Utils.md)
|
||||
|
||||
Reference in New Issue
Block a user