Skip to content

🎥 Make videos programmatically with React

Update docs.md

Jonny Burger8f0ebe788905
diff --git a/packages/docs/docs/contributing/docs.md b/packages/docs/docs/contributing/docs.md
index cca08e0a32..e06c5f0e67 100644
--- a/packages/docs/docs/contributing/docs.md
+++ b/packages/docs/docs/contributing/docs.md
@@ -5,6 +5,9 @@ sidebar_label: Writing docs
crumb: Contributing
---
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
Good documentation makes the difference between frustration and joy! We are happy to accept contributions to the Remotion documentation.
## Editing an existing page
@@ -13,9 +16,23 @@ Each page has a button `Improve this page` at the bottom. This is the easiest wa
## Submitting a new page
-:::note
-**Easy mode**: Create a [GitHub Gist](https://gist.github.com/) with the content of the page, then send it to us via GitHub issue or Email. We will be happy to add it to the docs!
-:::
+<Tabs
+defaultValue="quick"
+values={[
+{ label: 'Basic setup (quicker)', value: 'quick', },
+{ label: 'Full docs', value: 'full', },
+]
+}>
+<TabItem value="quick">
+
+This method will avoid having to compile all docs. You cannot validate if links to other docs are valid.
+
+<Step>1</Step> Set up the Remotion repository <a href="/docs/contributing">according the instructions here</a>. <br/>
+<Step>2</Step> Run <code>node new-doc.mjs</code> and follow the instructions.<br/>
+
+ </TabItem>
+
+ <TabItem value="full">
<Step>1</Step> Set up the Remotion repository <a href="/docs/contributing">according the instructions here</a>. <br/>
<Step>2</Step> Create a new <code>.md</code> document in the <code>packages/docs/docs</code> folder. <br/>
@@ -23,6 +40,10 @@ Each page has a button `Improve this page` at the bottom. This is the easiest wa
<Step>4</Step> Write what you have to say!<br/>
<Step>5</Step> Run <code>node render-cards.mjs</code> in <code>packages/docs</code> to generate preview cards that will show up if the documentation page is shared on social media.<br/>
+ </TabItem>
+
+</Tabs>
+
## Language guidelines
- **Keep it brief**: Developers don't like to read, so adding too much words will lead to information being lost.