Automate docs building and publication
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Facilidade para iniciantes
- 58/100
- Tipo de issue
- Funcionalidade
- Clareza
- Claramente especificada
- Status de atividade
- Ativa
- Stack de tecnologia
- github-actions, python
- Domínio
- ci-cd, documentation
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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/.
- Linguagem predominante
- Python
- Estrelas
- 21
- Forks
- 11
- Merge médio
- 3h 7min
- PRs com merge (30d)
- 11
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Sem modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de NCAS-CMS/cf-plot
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 70/100
Mantenedores costumam responder em até 1 dia
-
docs enhancement
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 77/100
Mantenedores costumam responder em até 1 dia
-
enhancement
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 70/100
Mantenedores costumam responder em até 1 dia
-
dependencies infrastructure installation testing
Dificuldade 1/5 1-3 horas Facilidade para iniciantes 78/100
Mantenedores costumam responder em até 1 dia
-
enhancement
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 48/100
Mantenedores costumam responder em até 1 dia
Todas as issues de NCAS-CMS/cf-plot
Issues semelhantes
-
eegprep-lean: set channel types from the Zarr group's channel_typeTalvez já em andamento @claude assumiu hoje. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 70/100
sccn/eegprep#668 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
Upgrade Django to 5.2.18Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 66/100
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
blacklanternsecurity/bbot#3679 ·
Mantenedores costumam responder em até 2 dias
-
Link Checker ReportAbertaBot Type: Bug Type: Documentation
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 85/100
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 80/100
speakeasy-api/speakeasy#2159 ·
Mantenedores costumam responder em até 1 dia