Skip to content

Commit

Permalink
feat(generator): improve generated warning comments
Browse files Browse the repository at this point in the history
  • Loading branch information
CompeyDev committed Aug 22, 2024
1 parent c1d9a62 commit 4df33f8
Show file tree
Hide file tree
Showing 84 changed files with 2 additions and 7,505 deletions.
8 changes: 2 additions & 6 deletions .lune/generator/markdown.luau
Original file line number Diff line number Diff line change
Expand Up @@ -102,13 +102,9 @@ function Markdown.generateMarkdownDocumentFor(classDocumentation: Moonwave.moonw
markdownFile ..= newline()

markdownFile ..= comment(
`This file was automatically compiled through the Generator luau code under this repository`
`This file was automatically @generated from moonwave comments using a script. Please do not exit by hand.`
)
markdownFile ..= comment(`if you want to edit the documentation of discord-luau, please write changes`)
markdownFile ..= comment(
`to the discord-luau repository itself, we extract the comments from discord-luau and translate`
)
markdownFile ..= comment(`them into markdown files that Nextra can interpret!`)
markdownFile ..= comment(`To actually edit documentation, make changes to the main DiscordLuau repo.`)

markdownFile ..= newline()

Expand Down
75 changes: 0 additions & 75 deletions src/content/docs/classes/Builders/ActivityBuilder.mdx

This file was deleted.

62 changes: 0 additions & 62 deletions src/content/docs/classes/Builders/AttachmentBuilder.mdx

This file was deleted.

122 changes: 0 additions & 122 deletions src/content/docs/classes/Builders/AutomoderationRuleBuilder.mdx

This file was deleted.

Loading

0 comments on commit 4df33f8

Please sign in to comment.