You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[ci] Fix broken "build docs" in nightly_docs.yml #538
I prefer option 1, even though we won't see which feature is required to enable feature gated code, we can keep documenting it with the docsrs attribute and when the feature(doc_cfg) is available in +stable turn it back on.
If we take option 2 the issue may get fixed in the next few days but we can still run into some other regression in a future +nightly and will have our CI randomly broken again.
changed the title [-][CI] Use +stable for rustdocs and disable `feature(doc_cfg)` until available in +stable[/-][+][CI] Fix broken "build docs" in Publish nightly_docs.yml[/+]on Feb 2, 2022
Maybe a third option is to pin a specific nightly version that we know is working fine?
It's not the end of the world to lose the doc_cfg feature, but I would like to replicate the environment in docs.rs as much as we can, so that we can see if anything is wrong before publishing a release
Activity
notmandatory commentedon Feb 2, 2022
I prefer option 1, even though we won't see which feature is required to enable feature gated code, we can keep documenting it with the
docsrsattribute and when thefeature(doc_cfg)is available in+stableturn it back on.If we take option 2 the issue may get fixed in the next few days but we can still run into some other regression in a future
+nightlyand will have our CI randomly broken again.[-][CI] Use +stable for rustdocs and disable `feature(doc_cfg)` until available in +stable[/-][+][CI] Fix broken "build docs" in Publish nightly_docs.yml[/+][-][CI] Fix broken "build docs" in Publish nightly_docs.yml[/-][+][CI] Fix broken "build docs" in nightly_docs.yml[/+]afilini commentedon Feb 4, 2022
Maybe a third option is to pin a specific nightly version that we know is working fine?
It's not the end of the world to lose the
doc_cfgfeature, but I would like to replicate the environment in docs.rs as much as we can, so that we can see if anything is wrong before publishing a releasenotmandatory commentedon Feb 4, 2022
Good idea! I forgot we can use specific nightly builds. I'll put together a PR to do that.
[-][CI] Fix broken "build docs" in nightly_docs.yml[/-][+][ci] Fix broken "build docs" in nightly_docs.yml[/+]Merge bitcoindevkit#539: [ci] Pin nightly docs workflow rust version …