Replies: 2 comments 2 replies
-
|
We usually go to help@finos.org on these matters and they resolve quickly |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Hi @CDM-ReleaseManagement-LSG |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The CDM documentation website is a docusaurus site and the config files are held in the github common-domain-model/website folder. The site currently does not support Mermaid diagrams.
I updated package.json and package-lock.json to include the mermaid theme as a dependency, ensuring that the version matched the current docusaurus version:
I also updated docusaurus.config.js to add the mermaid markdown and the theme as follows:
I downloaded the website from github and ran "npm install" and "npm run start" as guided by the website/README.md file. The preview website would not start as it complained that the version of mermaid - 3.9.2 - did not match the version of docusaurus - which was also 3.9.2. Hmmm.
In the end I ran "npm -i @docusaurus/theme-mermaid@3.9.2" which basically added the same lines as I did to package.json and package-lock.json.... but this time the website started and the mermaid diagrams rendered.
My question then.
I need to add a new page to the documentation site for the new serialization format. This contains the mermaid diagrams. This needs to be done before the CDM V7 cut off in a couple of weeks.
If we can't get this sorted then I can remove the mermaid diagrams which would be a shame but will still enable me to publish this documentation along with the CDMV7 release.
Thanks in advance for any suggestions!
Beta Was this translation helpful? Give feedback.
All reactions