Skip to content

Workflows for Sphinx docs CI#20

Merged
victorlin merged 1 commit intomasterfrom
victorlin/add-docs-ci
May 4, 2022
Merged

Workflows for Sphinx docs CI#20
victorlin merged 1 commit intomasterfrom
victorlin/add-docs-ci

Conversation

@victorlin
Copy link
Copy Markdown
Member

Description of proposed changes

This parallels the motivation behind 6245d9e for pathogen repo CI, but for repos containing Sphinx documentation.

As a starting point, the reusable workflow fails on build warnings such as invalid links and bad formatting.

Related issue(s)

N/A

Testing

See nextstrain/ncov#941

@victorlin victorlin requested a review from a team May 3, 2022 17:27
@victorlin victorlin self-assigned this May 3, 2022
Copy link
Copy Markdown
Contributor

@tsibley tsibley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me to start with the specific use in the ncov repo. For broader use (which would be great), I think we'd want to:

  • Make the Conda setup optional. Not all our repos use Conda for the docs build, and it my experience it seems to result in slower docs builds than pip. (IIRC, this also means we'd want to make the run.shell bit conditional on setup-miniconda, as that's the thing that restores -euo pipefail to the shell invocation another way.)
  • Make the doc format (make target) configurable, as some repos use dirhtml.

Comment thread .github/workflows/docs-ci.yaml Outdated
Comment thread workflow-templates/docs-ci.yaml
@victorlin victorlin force-pushed the victorlin/add-docs-ci branch from 3623a1b to 6789fbe Compare May 3, 2022 20:44
This parallels the motivation behind 6245d9e for pathogen repo CI, but for repos containing Sphinx documentation.

As a starting point, the reusable workflow fails on build warnings such as invalid links and bad formatting.
@victorlin victorlin force-pushed the victorlin/add-docs-ci branch from 6789fbe to a65c1b2 Compare May 3, 2022 20:45
Comment thread .github/workflows/docs-ci.yaml
@victorlin victorlin requested a review from tsibley May 3, 2022 20:49
@victorlin victorlin merged commit 5771e15 into master May 4, 2022
@victorlin victorlin deleted the victorlin/add-docs-ci branch May 4, 2022 18:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

No open projects

Development

Successfully merging this pull request may close these issues.

2 participants