Automate docs building and publication
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Anfängerfreundlichkeit
- 58/100
- Issue-Typ
- Feature
- Klarheit
- Klar beschrieben
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- github-actions, python
- Bereich
- ci-cd, documentation
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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/.
- Vorherrschende Sprache
- Python
- Sterne
- 21
- Forks
- 11
- Ø Merge
- 3 Std. 7 Min.
- Gemergte PRs (30 T.)
- 11
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus NCAS-CMS/cf-plot
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
Maintainer antworten meist innerhalb von 1 Tag
-
docs enhancement
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 77/100
Maintainer antworten meist innerhalb von 1 Tag
-
enhancement
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
Maintainer antworten meist innerhalb von 1 Tag
-
dependencies infrastructure installation testing
Schwierigkeit 1/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Maintainer antworten meist innerhalb von 1 Tag
-
enhancement
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 48/100
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in NCAS-CMS/cf-plot
Ähnliche Issues
-
eegprep-lean: set channel types from the Zarr group's channel_typeEvtl. vergeben @claude hat das heute übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
sccn/eegprep#668 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
Upgrade Django to 5.2.18Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 66/100
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
blacklanternsecurity/bbot#3679 ·
Maintainer antworten meist innerhalb von 2 Tagen
-
Link Checker ReportOffenBot Type: Bug Type: Documentation
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 85/100
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 80/100
speakeasy-api/speakeasy#2159 ·
Maintainer antworten meist innerhalb von 1 Tag