Automate docs building and publication
Les mainteneurs répondent en général sous 1 jour
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Accessibilité débutants
- 58/100
- Type d'issue
- Fonctionnalité
- Clarté
- Clairement spécifiée
- Activité
- Active
- Stack technique
- github-actions, python
- Domaine
- ci-cd, documentation
Piste de recherche
Start by resolving the prerequisite build errors tracked in #35, then read the docs dependency group in pyproject.toml and the existing Sphinx configuration and build command. Add a GitHub Actions workflow that checks documentation builds for pull requests targeting main and publishes the generated HTML to GitHub Pages on pushes to main. Done means both workflow paths use the existing build setup and the published site updates from main.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
Instead of manually re-building the Sphinx docs to include any changes in the source, then pushing manually those generated HTML changes commit(s) to the GitHub Pages publishing source, it would be better to have an Actions workflow to do this to cover the full deployment of the docs.
Motivation
I have been manually re-building the docs locally as-and-when required using the relevant build command using an environment with the required docs dependencies:
but each build produces a large diff due to tendency for small source/RST changes to produce more extensive changes across built HTML. This can clog up PR 'Files changed' to make it harder to see the source changes. The updated HTML needs to be pushed as commit(s) too, but with automated builds this pushing isn't required.
Plan
Tackle #35 first to ensure there are no build errors to begin with. Then add a GitHub Actions workflow to build the Sphinx documentation and automatically deploy the generated HTML to GitHub Pages. The workflow should:
- Build the documentation when a pull request targeting main is opened or updated, to check that documentation changes do not introduce build errors.
- Automatically build and deploy the documentation whenever changes are pushed to main.
- Install the necessary Python and system dependencies for the documentation build, using the existing docs optional dependency group in pyproject.toml.
- Use the existing Sphinx configuration and build command rather than introducing a separate documentation build configuration.
- Publish the generated HTML to the existing GitHub Pages site at https://ncas-cms.github.io/cf-plot/.
- Langage dominant
- Python
- Étoiles
- 21
- Forks
- 11
- Merge moyen
- 3 h 7 min
- PR mergées (30 j)
- 11
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Aucun modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de NCAS-CMS/cf-plot
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 70/100
Les mainteneurs répondent en général sous 1 jour
-
docs enhancement
Difficulté 2/5 1-3 heures Accessibilité débutants 77/100
Les mainteneurs répondent en général sous 1 jour
-
enhancement
Difficulté 2/5 1-3 heures Accessibilité débutants 70/100
Les mainteneurs répondent en général sous 1 jour
-
dependencies infrastructure installation testing
Difficulté 1/5 1-3 heures Accessibilité débutants 78/100
Les mainteneurs répondent en général sous 1 jour
-
enhancement
Difficulté 4/5 3-5 jours Accessibilité débutants 48/100
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de NCAS-CMS/cf-plot
Issues similaires
-
eegprep-lean: set channel types from the Zarr group's channel_typePeut-être pris @claude l’a pris aujourd’hui. Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 70/100
sccn/eegprep#668 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
Upgrade Django to 5.2.18Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 66/100
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 75/100
blacklanternsecurity/bbot#3679 ·
Les mainteneurs répondent en général sous 2 jours
-
Link Checker ReportOuverteBot Type: Bug Type: Documentation
Difficulté 1/5 Moins d'une heure Accessibilité débutants 85/100
-
Difficulté 2/5 1-3 heures Accessibilité débutants 80/100
speakeasy-api/speakeasy#2159 ·
Les mainteneurs répondent en général sous 1 jour