-
Notifications
You must be signed in to change notification settings - Fork 77
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
workflow for documentation updates #378
Comments
Hmm... this is very complex workflow. I have adapted the readthedocs PR build for the doc-test site since that's what I have access to. Seemed to work for Test PR #379. See docs. I think to simplify this, just keep newest docs update to be PR to |
Thanks @lsetiawan!! Creating a new RTD "dev" version (https://echopype.readthedocs.io/en/dev/) tied to the The part I don't follow is how we'd push doc fixes before new release to the RTD
The release branch will include all changes in that release, including potentially changes to the API that would be reflected in the docs build; the latter is what I want to avoid. Plus, we'd still be relying on other branches (a release branch), so it seems like it's not actually reducing the number of branches, but rather using them differently. Could you elaborate? |
I think we can use what RTD offers re having a custom
I actually think what @emiliom is proposing is not super complicated. Assuming we use a
How does this sound? |
@leewujung That is great! Thanks for laying it out! 😄 Just one change/clarification:
|
I agree with the others but don't understand this one: why wouldn't |
Yea. That's fine too, now thinking about it. :)
Been a while since I did ascii art ... this is too fun 😆 |
I've consolidated the descriptions of this workflow, as they stand; noting that we're now describing the entire workflow, not just aspects that are specific to documentation! Proposed Workflow
NotesIMHO, having a |
stable should be merged into release/x.x.x and resolve any conflicts there before releases, not to master.
Right now the dev branch docs are hidden, so maybe this should be latest, in case someone does want to install the latest and greatest from github, since we have stable pointing to stable. One more thing, should
It does, however, as we speed up development, this provide a way for development to keep moving forward for the next release without affecting the current release that's being tested and worked on such as making last minute bug fixes / documentation update. It is better to get into this habit now, rather than later when we do have a large contribution. 😄 Like for example, If Imran and I were really fast at getting all the 0.5.2 tasks done, and we're both merging right and left to |
Thanks @lsetiawan !! For now, I'll comment just on this:
I agree. Let's point RTD
I've had the same thought. I can see pros and cons. Do you know what's the most common practice in this git workflow? I think I lean towards making |
Thanks for catching that. I now see that my late-night copy and paste job left two statements that were not mutually consistent 🤦. I'll remove the first statement. But, any reason not to merge |
For a hotfix workflow, see the Hotfix Branches section at https://www.atlassian.com/git/tutorials/comparing-workflows/gitflow-workflow |
RTD versions currently set, other than ones corresponding to each release:
|
Yeah, except for resolving some issues around the
I agree. Let's point RTD
I've had the same thought. I can see pros and cons. Do you know what's the most common practice in this git workflow? I think I lean towards making |
I agree we should use For RTD, how about
|
We touched on this at our last call. We weren't proposing a change to the workflow. If you're proposing a simplification of the workflow by removing the use of a
Correct me if I'm wrong, but here I think you're building on your previous recommendation to remove the |
@emiliom: Ha, yes I have mistaken the discussion to be the actual code workflow instead of the RTD! I think there may be advantages to simplify the workflow, but it is not a priority at the moment. Putting it in a separate issue sounds like a good idea so we can revisit later. |
Looping back to this as we move toward the next release (v0.5.5). Is this resolved? |
I've moved the RTD-builds topic to a new, dedicated issue (#467). So, I'm now closing this sprawling issue. |
It would be helpful to be able to updates the ReadTheDocs documentation without being tied to code release cycles. Here I'm referring specifically to doc updates that reference the latest released API; in other words, corrections of mistakes, improved explanations, expanded content, etc.
In the Git development-branch (
dev
) workflow we've adopted for echopype, all changes (code & docs) are merged intodev
first, anddev
is merged intomaster
only when a new release is ready to be issued. Changes to the API indev
potentially affect the API descriptions in the docs, so they may conflict with the documentation for the current release.I'd like to propose the following workflow for documentation:
docsdev
branch that serves as an analog to thedev
branch but is used only for doc changes that don't involve changes to the API -- the types of changes listed in the first paragraph. Documentation-only PR's involving such changes would be merged into this branch.docsdev
, we merge intomaster
and prepare a new minor, tagged echopype release that only includes documentation updates. We also merge fromdocsdev
intodev
, to keep that branch in sync.latest
version so it points to thedev
branch rather than themaster
branch. The default version isstable
(as it should be, IMHO), which is updated with new releases.I realize that adopting this workflow adds complexity, for the benefit of being able to push docs updates to live more quickly than the code driven package release cycle allows. I would manage this process. I foresee that at least for a few more months, there is work to be done on the documentation that would benefit from this faster docs release workflow. Maybe by then the benefits of this faster but more complex cycle will no longer outweigh its costs, and we can go back to just the
dev
>master
workflow.I did some searching on the topic of documentation workflows and couldn't find anything helpful. Some of these suggestions stem from my chat with Jessica Scheick, the maintainer of https://icepyx.readthedocs.io/
Thoughts?
The text was updated successfully, but these errors were encountered: