From 85a379fdf8b9edbbb6b71729caad09dbdcb3e3bb Mon Sep 17 00:00:00 2001 From: Jiralite <33201955+Jiralite@users.noreply.github.com> Date: Thu, 13 Apr 2023 13:19:43 +0100 Subject: [PATCH] feat(guide): How to contribute (#9376) --- apps/guide/public/assets/discordjs.png | Bin 0 -> 11029 bytes .../content/02-requesting-more-content.mdx | 17 -- .../{03-whats-new.mdx => 02-whats-new.mdx} | 0 .../src/content/03-how-to-contribute.mdx | 177 ++++++++++++++++++ apps/guide/src/content/04-test.mdx | 100 ---------- 5 files changed, 177 insertions(+), 117 deletions(-) create mode 100644 apps/guide/public/assets/discordjs.png delete mode 100644 apps/guide/src/content/02-requesting-more-content.mdx rename apps/guide/src/content/{03-whats-new.mdx => 02-whats-new.mdx} (100%) create mode 100644 apps/guide/src/content/03-how-to-contribute.mdx delete mode 100644 apps/guide/src/content/04-test.mdx diff --git a/apps/guide/public/assets/discordjs.png b/apps/guide/public/assets/discordjs.png new file mode 100644 index 0000000000000000000000000000000000000000..9294057b7ad33c4e0622b524c11278f7cadd1429 GIT binary patch literal 11029 zcmb_?MOz$P6J>YPxVuB+F2N02_oO|ll zt@G5PR`;nBrK~80j6i?@0059>q{UVLul zEn}ge0HFUbh64a2tO4NvmHY>S{{R3$6#@ZJ|1t1?xkAwYeGM#x`hW5N3Z>)09smG+ zfQ-0^x+n0$7d}v5BkQvB__Doit2xn+jFPNY1}w=XAucRp1cp)JayBJ7?Wx%R&HZu^ z70W|Q9)BkpfsU)}87L}@<17*c2&ZHOej${ZSj%(O(puWgczQq9)X<{Y{Cmlv5TZuI zz2w3B#Q6E~c`T&W%tl<>aNYO2bhqb<*;IAIlk?hZzk9e!$cf>T>JkNX_=)j7Kux|m zD$rR{3=^mTj%5drb-q%=#F=3S|h?bw19-M_k!z)&$wN>P1jnOLt1 zBWd6qtvtaMDyf^Fu=!VeCO>X$W&Qi~;BOemqTX>hFDD>4JV}O<OqQBZQ4^>mF*D%YxhDjWigq&bm;PV9YzA_B``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Ru)sa``@Eo=c(_6rdM%7>B~2Inq9$Q+AvXry z2n%OoJaYfTU`6kRn-1YnVZb(zl-&Rs8c=01pUb3d1UwTPl4@n2>=_HC27O=1H33^( zp-vnC7~jR2r=}MZ+BaXbQp40a$(wX|AtEkB*`bA?rjW9ZA%pnrm8tB?#HdCRur@r+ z8`x0b&@iFi;6^g>EW#!bH4TB51H@mHRLH2*R6-_j;_;z3t!ANvh{nk5NO(|&nFDFO zDe-;>F@v*ZhT!xfuIYYmtu=(+TXCQeQ=o147q}w4UlH$UAcR5rdZ{-ooir`OiI93q zhbdiH3>&h+s|1pr_l-Fs%!DIQ@G6i=W56WRV2f(gpg^rhiE&VSgJ&OzmjqQUh-D%| zmWg3eD&xM%D*=dg#E0V1IUAmiwZ1)aE#67z~Pw! zP?vl$fnp+7u?5`dtYZL@>StyakR!QKEby!PodOsMy6B7lmiPc3lxOA9er*{}cWHZv62Hlt$@P#5+nk{GTONMnX}%UeqY~ F{{a7jXF31? literal 0 HcmV?d00001 diff --git a/apps/guide/src/content/02-requesting-more-content.mdx b/apps/guide/src/content/02-requesting-more-content.mdx deleted file mode 100644 index 5f910eb1e..000000000 --- a/apps/guide/src/content/02-requesting-more-content.mdx +++ /dev/null @@ -1,17 +0,0 @@ ---- -title: Requesting more content -category: Home ---- - -# Requesting more content - -Since this guide is made specifically for the discord.js community, we want to be sure to provide the most relevant and up-to-date content. We will, of course, make additions to the current pages and add new ones as we see fit, but fulfilling requests is how we know we're providing content you all want the most. - -Requests may be as simple as "add an example to the [frequently asked questions](/popular-topics/faq.html) page", or as elaborate as "add a page regarding [sharding](/sharding/)". We'll do our best to fulfill all requests, as long as they're reasonable. - -To make a request, simply head over to [the repo's issue tracker](https://github.com/discordjs/guide/issues) and [create a new issue](https://github.com/discordjs/guide/issues/new)! Title it appropriately, and let us know exactly what you mean inside the issue description. Make sure that you've looked around the site before making a request; what you want to request might already exist! - - - Remember that you can always [fork the repo](https://github.com/discordjs/guide) and [make a pull - request](https://github.com/discordjs/guide/pulls) if you want to add anything to the guide yourself! - diff --git a/apps/guide/src/content/03-whats-new.mdx b/apps/guide/src/content/02-whats-new.mdx similarity index 100% rename from apps/guide/src/content/03-whats-new.mdx rename to apps/guide/src/content/02-whats-new.mdx diff --git a/apps/guide/src/content/03-how-to-contribute.mdx b/apps/guide/src/content/03-how-to-contribute.mdx new file mode 100644 index 000000000..281a6e084 --- /dev/null +++ b/apps/guide/src/content/03-how-to-contribute.mdx @@ -0,0 +1,177 @@ +--- +title: How to contribute +category: Home +--- + +# How to contribute + +Since this guide is made specifically for the discord.js community, we want to be sure to provide the most relevant and up-to-date content. We will, of course, make additions to the current pages and add new ones as we see fit, but fulfilling requests is how we know we're providing content you all want the most. + +Requests may be as simple as "add an example to the [frequently asked questions](/popular-topics/faq.html) page", or as elaborate as "add a page regarding [sharding](/sharding/)". We'll do our best to fulfill all requests, as long as they're reasonable. + +To make a request, simply head over to [the repository's issue tracker](https://github.com/discordjs/discord.js/issues) and [create a new issue](https://github.com/discordjs/discord.js/issues/new)! Title it appropriately, and let us know exactly what you mean inside the issue description. Make sure that you've looked around the site before making a request; what you want to request might already exist! + + + Remember that you can always [fork the repository](https://github.com/discordjs/discord.js/fork) and [make a pull + request](https://github.com/discordjs/discord.js/pulls) if you want to add anything to the guide yourself! + + +We'll also get into some of the more advanced features this guide does below. + +## Components + +Throughout the guide, you'll see some components from the _`@discordjs/ui`_ package: + +- _`Alert`_ +- _`Section`_ +- _`DiscordMessages`_, _`DiscordMessage`_, and _`DiscordMessageEmbed`_ + +Check the source of this page to see them in action! + +### Alert + +This component may take a _`title`_ and a _`type`_ of _`'danger' | 'info' | 'success' | 'warning'`_. + +This uses _`title="Alert" type="info"`_: + + + Use these appropriately! + + +### Section + +
+Well, hello there! + +Whenever some text does not need to be in the main body, you can put it here. + +- _`title`_: The title that'll appear. +- _`padding`_: Adds padding. + - _`dense`_: When _`padding`_ is specified, _`dense`_ could make it appear, well, dense. +- _`defaultClosed`_ Whether the section is closed by default. This one was. +- _`background`_ Adds background to the content. +- _`gutter`_: This adds a very small appealing space between the expansion of the section and its content. + +
+ +### DiscordMessages, DiscordMessage, and DiscordMessageEmbed + + + + A _`DiscordMessage`_ must be within _`DiscordMessages`_. + + + It's much better to see the source code of this page to replicate and learn! + + + This message depicts the use of embeds. + <> + + This is a description. You can put a description here. It must be descriptive! + + + Multiple embeds! + + + + + Interactions are supported! I definitely used a command. + + + +## Code blocks + +We use [Code Hike](https://codehike.org). Here are some example code blocks, which should be easy to grasp and learn upon reading the source code of this page: + + + +```ts +const HELLO = 'hello' as const; +console.log(HELLO); +// "ts" is the language of the code block. +``` + + + + + +```ts fileName +const FILE_NAME = 'fileName' as const; +if (FILE_NAME.includes(' ')) throw new Error('Spaces cannot be used in file names.'); +``` + +```ts anotherFileName +const FILE_NAME_2 = 'anotherFileName' as const; +// Putting code blocks together makes them appear in tabs, just like in your editor. +``` + +--- + +```ts requiredName +const FILE_NAME_3 = 'requiredName' as const; +if (!FILE_NAME) throw new Error('There must be a file name to use panels!'); +// The --- divider was used to create a panel. +``` + + + +For more information, be sure to check out the [documentation](https://codehike.org/docs/ch-code). diff --git a/apps/guide/src/content/04-test.mdx b/apps/guide/src/content/04-test.mdx deleted file mode 100644 index 2e0bb5fb7..000000000 --- a/apps/guide/src/content/04-test.mdx +++ /dev/null @@ -1,100 +0,0 @@ ---- -title: Test -category: Test ---- - - - - 1234 - - - 1234 - - - - - - 1234 - - - - - - <> - - - - - Test - - - -