Coala: bear-docs master is actually pre

Created on 13 Jan 2017  路  4Comments  路  Source: coala/coala

The master README.rst on https://github.com/coala/bear-docs says

"
Note: The master branch contains docs for the latest stable version. If you want to view the docs for the latest development version, see the pre branch.
"

But the docs on pre are old and master is current.

Opened via gitter by @jayvdb

All 4 comments

So, does it imply to just interchange pre and old keywords in the readme ? @jayvdb

@yash-nisar , I believe the tool generating these docs needs to be re-configured to publish to different branches.

Should we append the line https://github.com/coala/bear-docs/blob/master/generate#L177 with git push origin pre and set a condition to merge pre with master only when a release occurs?

No. We should remove git operations from within generate - they should be done outside of the script, so that the user knows what they are doing, where they are pushing to, etc.
Then the user (or script) can push to either master or pre depending on whether they fetched the bears from the latest release or the development version.

Was this page helpful?
0 / 5 - 0 ratings