Skip to content
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

[TASK] Reusable CI/CD Pipeline for Sphinx #25

Open
kluge7 opened this issue Nov 3, 2024 · 3 comments
Open

[TASK] Reusable CI/CD Pipeline for Sphinx #25

kluge7 opened this issue Nov 3, 2024 · 3 comments
Assignees
Labels
devops DevOps team responsible enhancement New feature or request

Comments

@kluge7
Copy link
Contributor

kluge7 commented Nov 3, 2024

Description of task

We need a reusable GitHub Actions workflow to streamline the generation and deployment of our documentation using Sphinx. Sphinx is a powerful tool for generating structured documentation in formats like HTML, LaTeX, and more. Automating this process will ensure that our documentation is always up-to-date and easily accessible. The pipeline should be called on push to main, so that it will make a new html file and deploy it to Github Pages!

Specifications

  • The workflow generates Sphinx documentation successfully on each run.
  • Artifacts of generated HTML are available for review on GitHub Actions.
  • Documentation is deployed to GitHub Pages.
  • The workflow is reusable across repositories.

Contacts

@Senja20

@kluge7 kluge7 added devops DevOps team responsible enhancement New feature or request labels Nov 3, 2024
@kluge7
Copy link
Contributor Author

kluge7 commented Nov 3, 2024

@kluge7
Copy link
Contributor Author

kluge7 commented Nov 3, 2024

Just to clarify, I think Sphinx only works per repo, so I dont think its possible to have it all in a single Github Page site directly. Instead, we should set it up so that each repository generates its own GitHub Pages site, from this workflow. For example, if this pipeline is implemented in the vortex-auv repository, it would generate documentation specifically for that repo. Does that make sense?

@VegraD @Senja20

@VegraD
Copy link
Contributor

VegraD commented Nov 6, 2024

It seems that each repository needs to be set up to facilitate building the pages. See: https://www.sphinx-doc.org/en/master/tutorial/automatic-doc-generation.html for how this is done. Should look at the possibility of generating a .rst file in the repository where necessary, so that the page can be generated fully automatically.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
devops DevOps team responsible enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants