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

Clean up and regression check the docs. #2400

Merged
merged 2 commits into from
Apr 11, 2023

Conversation

Lukasa
Copy link
Contributor

@Lukasa Lukasa commented Apr 6, 2023

Motivation:

Up until recently, it has not been possible to regression check our documentation. However, in recent releases of the DocC plugin it has become possible to make warnings into errors, making it possible for us to CI our docs.

This patch adds support for doing that, and also cleans up our documentation so that it successfully passes the check.

Along the way I accidentally wrote an index.md for NIOCore so I figure we may as well keep it.

Modifications:

  • Structure the documentation for NIOCore
  • Fix up DocC issues
  • Add check-docs.sh script to check the docs cleanly build
  • Wire things up to our docker-compose scripts.

Result:

We can CI our docs.

Motivation:

Up until recently, it has not been possible to regression check our
documentation. However, in recent releases of the DocC plugin it has
become possible to make warnings into errors, making it possible for us
to CI our docs.

This patch adds support for doing that, and also cleans up our
documentation so that it successfully passes the check.

Along the way I accidentally wrote an `index.md` for `NIOCore` so I
figure we may as well keep it.

Modifications:

- Structure the documentation for NIOCore
- Fix up DocC issues
- Add `check-docs.sh` script to check the docs cleanly build
- Wire things up to our docker-compose scripts.

Result:

We can CI our docs.
@Lukasa Lukasa added the semver/none No version bump required. label Apr 6, 2023
@Lukasa Lukasa merged commit a7c36a7 into apple:main Apr 11, 2023
@Lukasa Lukasa deleted the cb-regression-check-documentation branch April 11, 2023 08:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver/none No version bump required.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants