-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
40 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# How to use ReadMe to Fern Migrator | ||
|
||
To run the ReadMe migrator: | ||
1. Export ReadMe documentation | ||
1. Go to project page | ||
1. Navigate to **Configuration** -> **Project Settings** | ||
1. Scroll to the **Project Management** section | ||
1. Click the button to **Export Docs** | ||
1. Unzip file | ||
1. Run migrator using `npm run migrate` | ||
1. When prompted, enter the path to the unzipped docs file | ||
1. The migrator will then prompt you to specify which subfolders you would like to migrate to Fern docs. | ||
|
||
Successfully converted files will be stored in a *pages* folder, and any corresponding images will be stored in an *images* folder. | ||
|
||
To integrate the pages into a Fern-generated site: | ||
1. Follow the [directions](https://buildwithfern.com/learn/docs/getting-started/quickstart) for setting up documentation | ||
1. Copy the contents of the *pages* folder generated by the migrator into the *fern/docs/pages* folder in your fern docs | ||
1. Move the **entire** *images* folder into the *fern/docs/assets* folder in your fern docs | ||
|
||
Remaining set up steps (to be automated in a later update): | ||
- The site navigation must be set up in the `docs.yml` file (this includes fixing url slugs) | ||
- Links which reference the internal documentation must be fixed | ||
- Some custom elements (e.g. `[block:html]`), if present in the docs, will need to be converted manually to embedded HTML |