Replies: 4 comments
-
A related, and probably trickier question is now to structure the documentation files. We have a code repo and multiple config repos, each of which has several configuration branches, and all of which is subject to updates. One way to hit item 1. would be to have the entire documentation repeated in each config branch, but with specific details matching that specific branch. This would then be tracked with git, but this would require some automatic way to propagate common documentation changes across all configs in a repo, or all config repos. Perhaps we'd need to break the docs into multiple files so that changes specific to one config branch will only affect one file. related: #119 |
Beta Was this translation helpful? Give feedback.
-
Before making any decisions, might also be worth considering how the OM3 documentation will interact with the corresponding ACCESS-Hive documentation, as to avoid duplicating content. |
Beta Was this translation helpful? Give feedback.
-
Re. structure, there are two main options that I can see (1 is my preference):
|
Beta Was this translation helpful? Give feedback.
-
At today's TWG @aidanheerdegen suggested using a structured format for documentation sources (e.g. yaml like we do for metadata). This would be applicable to either option 1 or 2, and would provide structure and facilitate automated extraction of specific parts of the documentation. Would there be any notation clashes between the structured data notation (say yaml) and markup language (say markdown)? e.g. would complying with yaml format restrict what we can express in markdown? |
Beta Was this translation helpful? Give feedback.
-
Just trying to draw together our various discussions on documentation here.
It would be good to have a systematic and unified approach to documentation. I've listed several things that would be nice to have; not clear if all are achievable. In no particular order:
It seems there are 3 formats we might consider:
There are also tools than can convert between documentation formats, e.g. pandoc.
I think the choice is between rst/Sphinx and markdown/MkDocs. On balance I think markdown might be the best option mainly because of ease of use, but I'm happy to hear from anyone with more experience.
related:
COSIMA/om3-utils#4
COSIMA/access-om3-doc#1
#92
#117
Beta Was this translation helpful? Give feedback.
All reactions