-
Notifications
You must be signed in to change notification settings - Fork 128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consolidate Hosted OSI Documentation Sources #832
Comments
What kind of approval do you need to do as you proposed? |
I am not entirely sure as I have not used github pages or antora yet. Furthermore, I am not familiar with the idea behind the release chains and the OSI repo split. But I think I understand the issue now a little bit better and want to summarize it for clarification:
My naive approach would be:
In that case I would have enough rights to simply create PRs. But this is just my naive way of looking at the problem, e.g. there is also the ASAM Antora Extensions responsible for the doxygen conversion etc. Most of the documentation setup seems to come from @pmai and @philipwindecker. Maybe one of them can have a look at my proposal and point out potential flaws or pitfall. One issue is that (external) links to the osi-documentation (wrong version anyways) page or the doxygen page would break. E.g. the esmini readme is not pointing to the Antora version. But I think this is still acceptable as it would unify the documentation to a single source. |
@engelben is there still support from the office regarding these setup of documentation etc? |
Hi @TimmRuppert , @jdsika I had to check with the ASAM office first, but we cleared everything and I can now support you on this. I will check everything and get back to you here with my insights. |
Ok, I went through the repositories and tried to check everything by eye. I would say that the suggested approach works, some small additions might be useful though. List of correct linksRedirect page content
|
- name: Deploy to gh-pages if push to master branch |
Archive Documentation
from - name: Archive Documentation |
https://opensimulationinterface.github.io/osi-documentation/open-simulation-interface/doc/howtocontribute.html#developer-certification-of-origin-dco
with https://opensimulationinterface.github.io/osi-antora-generator/asamosi/latest/specification/contributing/dco.html
in https://github.com/OpenSimulationInterface/open-simulation-interface/blob/master/.github/pull_request_template.mdosi-documentation
- The workflow https://github.com/OpenSimulationInterface/osi-documentation/blob/master/.github/workflows/asciidoc-build.yml has been deactivated anyway, but since it is not used any longer, it can also be deleted for good
- https://github.com/OpenSimulationInterface/osi-documentation/blob/master/README.adoc contains links for gh-pages not on the generator repository. These should be replaced
- https://github.com/OpenSimulationInterface/osi-documentation/blob/master/content/general_docs/osi_repos.adoc contains links to gh-pages not on the generator repository. These should be replaced
- Replace all content on branch https://github.com/OpenSimulationInterface/open-simulation-interface/tree/gh-pages with a single file
Side notes: GitHub Pages is quite simple for us. We just have a specific action run that pushes content to a given branch ("gh-pages") and then host that based on what it finds. Regarding the extensions: That topic is a bit more complicated. The repository with them is available on ASAM GitLab, so if you have access there, you can also get to that repository (the url can be found in the submodules of the generator). In case there is more interest in this, I could also offer a deep dive into both the (release) pipelines and the Antora extensions. Just let me know. :) |
@TimmRuppert would you like to apply these changes yourself or would you rather have me do them? I am, however, a bit tight on time this week, so I may only get to it next week or so. P.S.: I also noted that both release candidates are still included and, by naming convention from Antora, the rc-2 is considered "latest" (not the released version). Related info on this: https://docs.antora.org/antora/latest/how-component-versions-are-sorted/#version-schemes |
I would be happy if you could do it @philipwindecker next week, thank you very much! |
Alright, will do. I'll let you know when I have everything prepared and ready for review. |
Thank you very much for the side not and the summery!
Even though @jdsika has already asked you to do it, I would also have preferred if you had done it: You are clearly the expert, and you found even more places that need changes.
This happens to us all the time and it is a little bit annoying, is there any chance we can address (in a separate issue/PR) as well? Seems like the is a prerelease key but I have basically no idea how Antora works. |
Yes, you can explicitely exclude certain versions from the build (in the site.yml in the generator). That way, the tag can persist without it being included in future builds. |
Signed-off-by: Philip WINDECKER (AVENYR GmbH) <[email protected]>
Signed-off-by: Philip WINDECKER (AVENYR GmbH) <[email protected]>
Signed-off-by: Philip WINDECKER (AVENYR GmbH) <[email protected]>
I integrated all suggested changes above and linked to the relevant issues, where needed. |
Signed-off-by: Philip WINDECKER (AVENYR GmbH) <[email protected]>
* Issue #832: Removed obsolete steps from workflow "protobuf" * Issue #832: Replaced DCO reference in pull request template * Issue #832: Removed outdated reference to Asciidoc output. --------- Signed-off-by: Philip WINDECKER (AVENYR GmbH) <[email protected]>
Describe the bug
Currently, there are three separate sources for OSI documentation hosted online:
Describe how to reproduce the bug
Describe the expected behavior
A unified and streamlined documentation experience. Specifically, the following changes are recommended:
Show some screenshots
If applicable, add screenshots to help explain your problem.
The text was updated successfully, but these errors were encountered: