This is a “working out loud” thread:
I’m currently transferring the O3 Dev Guide to the OMRS Wiki. This content is currently here in a gitbook, editable only by people familiar with editing gitbooks.
You can see the Work-in-Progress here: https://openmrs.atlassian.net/wiki/x/4QABCQ
A few key notes/to-do’s I’m tracking as I go: (today I got as far as completing the “Breadcrumbs” section)
- Copy everything over
- Note: Changelog was moved to live under "O3 Releases.
- Forms section: This belongs better so I moved it under the “O3 Forms” documentation section (currently called the React Form Engine docs)
- Code formatting: Correct JSON line breaks get all squished into 1 sentence w/ copy-pasting. I need to go through and fix this in each page I’ve copied.
- Info boxes: These don’t copy-paste right. I’ll need to go back through and fix all these.
- Images: Not all images successfully copy-pasted.
- Videos: These don’t render when copy-pasted. I need to make sure I’ve checked that all videos referenced are showing up correctly.
Further Follow-Up:
-
Notice on GitBook README & Introduction page of GitBook to use the wiki
-
Notice on all pages of old GitBook to use the Wiki
- Use:
import { Callout } from "nextra-theme-docs";
<Callout emoji="ℹ️" type="info"> Warning... </Callout>
- Use:
-
Short link Index – O3 Docs : Once we’re happy with the content in the Wiki, I’ll change this short link to refer to the Wiki instead of the GitBook.
-
O3 Framework API Reference page: All links need to be updated to themselves on that page.
-
Code-Links: Any code snippet with a link (eg to api call cheat-sheet) is broken.
-
Internal Doc links: There are many links to other sections of the original GitBook. These will need replacing.
-
Code-Highlights: Highlighting some specific sections of code such as happens here doesn’t automatically happen. Not sure if confluence supports this or not.
-
Added a page-turning plug-in to our confluence to help reproduce the “Next Page” & “Previous Page” buttons UI.
- I just need to figure out how to get it actually working on the pages. You can add it like this but there’s a permissioning issue I need to fix.