Skip to content

Commit

Permalink
WEB-4108 niapi promo numbers does not support createupdate by idfromn…
Browse files Browse the repository at this point in the history
…etwork: Describe Read the Docs build workaround for new branches

- Should be remove when readthedocs/readthedocs.org#4450 is completed.
  • Loading branch information
collin-mcgrath committed Oct 18, 2018
1 parent f4ac383 commit d0593ef
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ The [developer portal](http://developers.invoca.net) contains public documentati

**IMPORTANT things to note:**

1. Changes made to this repo are AUTOMATICALLY picked up by RTD and published to the site.
1. ~~Changes made to this repo are AUTOMATICALLY picked up by RTD and published to the site.~~ **An open issue with Read the Docs prevents this** (https://github.com/rtfd/readthedocs.org/issues/4450). There is a workaround: After creating a new branch that you want to test the documentation for, you can trigger a build of `latest` which will synchronize the versions and your new branches will appear as versions on Read the Docs.
2. The method of adding comments to API controllers is officially deprecated.
3. General branching stratagy: Always branch off of the most recent live branch. The most recent live branch is subject to change at any time so be sure you're up to date and resolve any conflicts. If you are contributing to a new overall version (e.g. 2029-09-16) but do not own that branch, be sure to communicate with the owner about individual API versions.
4. A branch on git maps to a "version" on read-the-docs. To create a new version (branch) and have it displayed as default,
Expand Down Expand Up @@ -37,7 +37,8 @@ bash html
`bash html`
4. Check your changes locally by opening `build/html/index.html`
5. Commit your changes and push to GitHub (Only members of the Developer Docs Administrators group can push to a publically version of the docs.)
6. ReadTheDocs will automatically pickup your changes and recompile the site
6. ~~ReadTheDocs will automatically pickup your changes and recompile the site.~~
**An open issue with Read the Docs prevents this** (https://github.com/rtfd/readthedocs.org/issues/4450). There is a workaround: After creating a new branch that you want to test the documentation for, you can trigger a build of `latest` which will synchronize the versions and your new branches will appear as versions on Read the Docs.
7. Visit https://developers.invoca.net to check your changes

## Making changes to an existing version and keeping them private:
Expand All @@ -47,15 +48,17 @@ bash html
`bash html`
4. Check your changes locally by opening `build/html/index.html`
5. Commit your changes and push to GitHub
6. ReadTheDocs will automatically pickup your changes and recompile the site
6. ~~ReadTheDocs will automatically pickup your changes and recompile the site.~~
**An open issue with Read the Docs prevents this** (https://github.com/rtfd/readthedocs.org/issues/4450). There is a workaround: After creating a new branch that you want to test the documentation for, you can trigger a build of `latest` which will synchronize the versions and your new branches will appear as versions on Read the Docs.
7. Login to ReadTheDocs.com (credentials in lastpass)
8. Click on the Versions button and then the Edit button next to your branch
9. Click on the Active checkbox and set the Privacy Level to Private
10. Visit https://developers.invoca.net
11. Click on the "latest" link in the lower left, your new branch should appear in the list of version
12. Click on your branch name to view and you should be able to check the changes you made
13. Once you decide to make your changes public, merge your branch into an existing version branch, then delete your branch. (Only members of the Developer Docs Administrators group can push to a publically version of the docs.)
14. ReadTheDocs will automatically pickup your changes and recompile the site
14. ~~ReadTheDocs will automatically pickup your changes and recompile the site.~~
**An open issue with Read the Docs prevents this** (https://github.com/rtfd/readthedocs.org/issues/4450). There is a workaround: After creating a new branch that you want to test the documentation for, you can trigger a build of `latest` which will synchronize the versions and your new branches will appear as versions on Read the Docs.

## Making a new version:
1. Checkout the most recent branch (default) and branch off of it. E.g. Default is: 2015-12-10, branch off this, you want to bump Network integration to 2016-01-01, so name your new branch '2016-01-01')
Expand Down

0 comments on commit d0593ef

Please sign in to comment.