New structure for documentation #53
Replies: 6 comments 9 replies
|
I found this documentation for how PreCICE manage their documentation: https://precice.org/docs-meta-overview. It looks like they have the documentation as part of their main webpage but then import content from other repositories using git submodules. |
|
For the content I think it was from @simoneliuzzo I learned about diataxis. That feels like a good approach to follow. We already tried to do it for the last workshop. |
|
@gubaidulinvadim @GamelinAl @kparasch @JeanLucPons Do you have some opinions on this? If not, I will go ahead based on what I think and make a first implementation for people to look at. |
|
Then I will create a new repository called pyaml-documentation, copy the existing docs folder from pyaml there and make the necessary changes so only the API reference is built in pyaml, tango-pyaml and pyaml-cs-oa and linked into the main documentation. |
|
We now have this Github page: https://python-accelerator-middle-layer.github.io/documentation/ which is built from https://github.com/python-accelerator-middle-layer/documentation. I will now start moving things from the pyaml repository and replace the existing readthedocs site with another one built from this repository so we can have the similar structure as for pyAT where the latest version is available on the Github page and versions for different releases can be found on readthedocs. |
|
The new page is finished. You can see what you think and come with feedback: https://python-accelerator-middle-layer.github.io/documentation/index.html. I concluded that probably what we want is not to pull all the API documentation from the other repositories into this with intersphinx. It's possible but felt more messy than just putting links to the latest version of their respective documentation. My plan now is to not publish this docs on readthedocs since it feels difficult to make it versioned (which package should we base the version on since in the future there might be a long list of packages which update versions somewhat independently of each other and this should be the docs for how they interact with each other?). Instead I plan that the docs for the individual packages should be published on readthedocs with specific versions and then via this page you can find earlier versions if you need. Left to do:
|
Uh oh!
There was an error while loading. Please reload this page.
We have previously discussed to restructure the documentation. I have promised to take the task but it would be useful with input so I have a better idea of what new structure to build.
So far we have discussed:
pyamlrepository.I have looked at some other projects to get ideas for how they structure their documentation and would like input on what you like/don't like:
In PreCICE they have one common webpage for all documentation. They have the menu options
Quickstart,DocsandTutorials.In the Bluesky project they have separated the documentation for different packages. They have the options
Documentationwhere you can click on the package you are interested in andTutorialfor ecosystem wide (I guess...) tutorials.Currently I'm leaning towards doing it the PreCICE way. My experience of the Bluesky documentation is that you go to a specific package, find a package specific tutorial in there and after a while you are confused about how the ecosystem fits together because there is no joint documentation. The idea would then be to still have package specific documentation in each repository but the main purpose of it is to link all the pieces together into one joint documentation.
All reactions