-
-
Notifications
You must be signed in to change notification settings - Fork 79
Open
Description
We want to integrate the documentation of the language bindings into the website.
A major question is how this should be organized. Currently, we :
- build the website
- build preCICE develop doxygen documentation
- build preCICE main/latest doxygen documentation
- move the doxygen docs to
doxygen/main/anddoxygen/develop/ - add a page that links to these subpages
The downside of this approach is that everything needs to be built as part of the website CI and that there is currently no clear space for additional languages such as python or Fortran.
We need to rearrange where this is published.
Option 1: Unified website
Unify under precice.org/docs/api/<language>/[latest|develop].
precice.org/docs/api/core/latestshows preCICE doxygen docsprecice.org/docs/api/python/latestshows python docsprecice.org/docs/api/rust/latestshows rust docs
Pro:
- Fits into the hugo migration (they can be moved/mounted into
static/docs/api/...) - Everything is part of a single deployment and thus a single workflow.
- This is easily extendable to other languages.
- Easier to fix the rendering infrastructure as it is all part of the website and doesn't need a new release.
Contra:
- Requires all language binding documentation to be built as part of the CI. Some of which require preCICE to be installed on the system.
- Fixes need to be done in the bindings repos and then updated in the website repo. (like tutorials)
Option 2: Separate websites
Deploy docs individually using GitHub pages then publish to subdomains:
XX.precice.orgshow preCICE doxygen documentationpython.precice.orgorpy.precice.orgshows python docsrust.precice.orgorrs.precice.orgshows rust docs
Pro:
- Trivial to integrate with current website as clearly separated.
- Each repo can deploy its own documentation.
- Fixes of content are easier as they get directly pushed and published
- Subdomain separation looks very clean and easy to remember
- Easily extensible to other languages
Contra:
- Unclear what to call native docs (
native.precice.org,api.precice.org,core.precice.orgorcpp.precice.orgall look weird). One could forwardc.precice.organdfortran.precice.orgtocpp.precice.org, but this requires extra repos with redirects. - Unclear how to deploy latest and develop in separate folders.
- Creates a lot of extra off-topic commits due to the
gh-pagesbranch in each binding repo. - Fixes of infrastructure is more difficult as this may require a separate release to fix.
- Requires deployment workflow in each repo
- Clutters subdomains
Metadata
Metadata
Assignees
Labels
No labels