Description
I want to be able to publish updates to my /en/stable/
docs without needing to ship an entire release - for things like typo fixes and plugin directories.
My initial idea:
Have a stable-docs
branch which is published by ReadTheDocs as the stable version.
Publish workflow force-updates that branch to be a copy of the tag that was just released
A file called _plugins.md
lives in the repo and has the content for the plugins directory
Another workflow watches for changes to that file and automatically merges those changes into the stable-docs branch
So now… editing _plugins.md
always goes live on stable-docs
- and edits can be made on stable-docs to other stuff too, which will be over-written the next time a stable release is issued.
Would be good to have non-destructive merges into stable-docs
when a release goes out just to avoid any chance of accidentally deleting edits made there that need to be preserved in history.
Also: any time you commit a change that modifies docs, tag it with !stable-docs
and a workflow will automatically include that change in the current stable-docs
branch.