Anyone can help make EasyGoDocs better. Just write in Markdown and we'll handle the rest!
src/docs/
(e.g., my-topic.mdx
).#
, ##
, etc.), lists, links, and even React components./mdx/my-topic
.Here's a simple example of what your .mdx
file should look like:
# My Topic Welcome to my documentation! ## Getting Started - Step 1: Install the package - Step 2: Configure settings - Step 3: Start building ## Advanced Usage You can use **bold text**, *italic text*, and `code snippets`. ### Code Example ```javascript function hello() { console.log("Hello, world!"); } ``` ## More Information See [the official guide](https://example.com) for more details. --- **Author:** Your Name **Contributors:** Team Members
├── src/ │ ├── docs/ # 📁 Your MDX files go here │ │ ├── react.mdx # ✅ Example: /mdx/react │ │ ├── my-topic.mdx # ➕ Your new doc: /mdx/my-topic │ │ └── ... │ ├── app/ │ │ └── (main)/ │ │ └── mdx/ │ │ └── [slug]/ │ │ └── page.tsx # 🚀 Renders your MDX files │ └── components/ │ └── documentation/ # 🧩 UI components for docs └── package.json
#
, ##
, etc.)docker-setup.mdx
).We've simplified the contribution process! Instead of creating JSON files and page components, you can now just write Markdown/MDX files. This makes it much easier for everyone to contribute.
The old JSON-based method is still supported for existing docs, but new contributions should use the MDX approach described above. Learn about the legacy JSON method.
Thanks for making EasyGoDocs better. Every line of documentation helps the community! 🚀