-
Notifications
You must be signed in to change notification settings - Fork 186
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
delay doc publishing until a release is tagged #1157
Conversation
1928454
to
1a72dfa
Compare
@@ -1,9 +1,8 @@ | |||
jdk: | |||
- openjdk8 | |||
stages: | |||
- name: test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dead conf?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks dead
1a72dfa
to
6a8de34
Compare
New features/deprecations should not be publicly documented until a corresponding release is cut. mdoc is now run as part of the CI workflow to limit the risk of docs/docusaurusPublishGhpages failing at release time.
6a8de34
to
cdd9224
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would recommend against this change since it’s desirable to be able to update the documentation after a release based on user feedback. I still haven’t found an ideal solution for dealing with this problem, versioned documentation pages have their issues as well. It works best in my experience to update docs on every commit, release frequently and try to document all stable versions together in the same document (tables showing compatible matrix etc)
@@ -1,9 +1,8 @@ | |||
jdk: | |||
- openjdk8 | |||
stages: | |||
- name: test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks dead
Thanks for the feedback @olafurpg! I am new to this, so I naively thought this would be better, but it's not that simple indeed.
Without going the full way of an (over-engineered) versioned documentation, we could have a However, as sbt-scalafix and scalafix-core drift apart lifecycle/version-wise, this would no longer work unless the sbt-specific pages are migrated to sbt-scalafic repo (with potentially the same strategy), so the website becomes the combination of both docs. Maybe it's slightly off topic and should rather be discussed in #1146, but do you have some thoughts on this? |
I haven't used a custom branch strategy in any projects so I'm not sure how it would work in practice. I suspect I personally would think it requires too much manual effort to cherry-pick commits into the In Metals, we have an We haven't used With all things considered, my recommendation would be to continue updating docs on every merge into master and hold off merging PRs documenting new functionality. |
Makes sense, thanks for sharing your experience! |
New features/deprecations should not be publicly documented until a corresponding release is cut.
mdoc
is now run as part of the CI workflow to limit the risk ofdocs/docusaurusPublishGhpages
failing at release time (would a doc change breaking mdoc be visible only on master now?).This came up as I realized I should hold #1155 & #1160 (granted, it's not a big deal if I don't) after seeing the
SNAPSHOT
version in https://scalacenter.github.io/scalafix/docs/users/installation.html#help. Holding documentation PRs is hard to manage - we would need GitHub milestones to handle them properly?.Once #1146 is done, the concept of release will be local, so another strategy will need to be found.