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

Build-test documentation in the CI and fix/improve broken links #455

Merged
merged 1 commit into from
Apr 8, 2022

Conversation

MarijnS95
Copy link
Contributor

Some intradoc links were broken because their crates are only available as dev-dependencies, while others unnecessarily had a forced link to docs.rs which could also be an intradoc link (in turn pointing to locally built documentation if not building on docs.rs).

To make sure these links don't break again over time, build-test the documentation in the CI while disallowing any warnings which includes broken links.

.github/workflows/ci.yml Outdated Show resolved Hide resolved
@codecov-commenter
Copy link

codecov-commenter commented Apr 7, 2022

Codecov Report

Merging #455 (3c5b216) into master (62f7b8e) will increase coverage by 0.03%.
The diff coverage is n/a.

❗ Current head 3c5b216 differs from pull request most recent head d67395b. Consider uploading reports for the commit d67395b to get more accurate results

@@            Coverage Diff             @@
##           master     #455      +/-   ##
==========================================
+ Coverage   80.25%   80.29%   +0.03%     
==========================================
  Files          73       73              
  Lines        8353     8353              
==========================================
+ Hits         6704     6707       +3     
+ Misses       1649     1646       -3     

Copy link
Contributor

@flub flub left a comment

Choose a reason for hiding this comment

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

thanks for adding this!

.github/workflows/ci.yml Outdated Show resolved Hide resolved
.github/workflows/ci.yml Show resolved Hide resolved
.github/workflows/ci.yml Outdated Show resolved Hide resolved
@MarijnS95 MarijnS95 force-pushed the ci-doc branch 2 times, most recently from d67395b to 6bc37c5 Compare April 8, 2022 11:32
Some intradoc links were broken because their crates are only available
as `dev-dependencies`, while others unnecessarily had a forced link to
`docs.rs` which could also be an intradoc link (in turn pointing to
locally built documentation if not building on docs.rs).

To make sure these links don't break again over time, build-test the
documentation in the CI while disallowing any warnings which includes
broken links.
@flub flub merged commit 5c338e7 into getsentry:master Apr 8, 2022
@MarijnS95 MarijnS95 deleted the ci-doc branch April 8, 2022 12:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants