-
Notifications
You must be signed in to change notification settings - Fork 0
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
Move Repo4Cat documentation to GitHub pages #39
Comments
...or similar to voc4cat which uses Sphinx with the myst parser to add markdown support. pid4cat uses mkdocs. Do you want to put the documentation into this repo? If you ask me: I am slightly in favor of sphinx but some find mkdocs easier to work with (the difference is not big). If you can agree to Sphinx and if you find it helpful, I can submit an initial version for the basic structure (as long as I remember the Sphinx special operations we did in voc4cat). |
I wanted always to learn Sphinx - so, let's do it via Sphinx ;) |
I created an empty |
The doc-build pipeline fails because I configured it to fail even on warnings. - I submit a fix in a minute. |
🚀 Success! https://nfdi4cat.github.io/repo4cat/ - Do you want to keep this issue open until the content is migrated? This version includes already some notes on how to build the documentation locally. |
Let's keep it open until full migration, to have everything in 1 place. I have a question. Should we use "main" branch also for documentation or an approach with "gh-pages" branch in praxis is better? I read here (this comment), here and the main github-pages documentation. If we go for the gh-pages branch approach:
|
On 1.: The If a new pull request (with a doc change targeting main) is created and on every later push to the PR branch, a GitHub action is triggered to build the documentation as test if the changes are OK (the created docs are available as build-artefact). Once a pull request is accepted and the new code merged to main, another GitHub action is triggered to re-build the documentation from the docs-folder in the main branch and to deploy it in the gh-pages branch (see run log). You never work on the gh-pages branch directly or make it a target of your pull requests. The only exception are very special things like the I think this automation was not considered in the linked discussion. There is also a lot of misinformation/misunderstanding. On 2.: No. People put the license or README only in the default branch which is |
Prepare wiki-look documentation basing on GitHub-pages, similar as for pid4cat-model (see code here).
The text was updated successfully, but these errors were encountered: