Migrating from Docusaurus
WriteDocs simplifies documentation management by reducing complex configurations into a single config.json
file and supporting .mdx
for pages. Follow these steps to migrate your project from Docusaurus to WriteDocs.
-
Sign up for WriteDocs: Visit WriteDocs and create an account if you don’t already have one.
-
Create a new project: After logging in, create a new WriteDocs project from the dashboard. Provide the necessary details such as the project name and initial setup preferences.
-
Clone your project: Once your project is created, clone it to your local machine.
-
Install the WriteDocs CLI: WriteDocs CLI is essential for managing your documentation locally and generating API reference pages. Install it globally via npm:
npm install -g writedocs
-
Migrate
.mdx
files: WriteDocs supports.mdx
files like Docusaurus. Move your.mdx
files from thedocs/
folder in your Docusaurus project to thedocs/
folder in your WriteDocs project. -
Set up the
config.json
: Reflect the files path and your branding using our configuration file. WriteDocs uses a singleconfig.json
file for all configurations, replacing the complex setup of Docusaurus. -
Generate API reference pages (Optional): If you have an OpenAPI specification, you can generate API reference pages by checking API Pages.
-
Run and preview your documentation:
writedocs dev