Skip to content

Commit d0593ef

Browse files
WEB-4108 niapi promo numbers does not support createupdate by idfromnetwork: Describe Read the Docs build workaround for new branches
- Should be remove when readthedocs/readthedocs.org#4450 is completed.
1 parent f4ac383 commit d0593ef

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

README.md

+7-4
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ The [developer portal](http://developers.invoca.net) contains public documentati
44

55
**IMPORTANT things to note:**
66

7-
1. Changes made to this repo are AUTOMATICALLY picked up by RTD and published to the site.
7+
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.
88
2. The method of adding comments to API controllers is officially deprecated.
99
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.
1010
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,
@@ -37,7 +37,8 @@ bash html
3737
`bash html`
3838
4. Check your changes locally by opening `build/html/index.html`
3939
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.)
40-
6. ReadTheDocs will automatically pickup your changes and recompile the site
40+
6. ~~ReadTheDocs will automatically pickup your changes and recompile the site.~~
41+
**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.
4142
7. Visit https://developers.invoca.net to check your changes
4243

4344
## Making changes to an existing version and keeping them private:
@@ -47,15 +48,17 @@ bash html
4748
`bash html`
4849
4. Check your changes locally by opening `build/html/index.html`
4950
5. Commit your changes and push to GitHub
50-
6. ReadTheDocs will automatically pickup your changes and recompile the site
51+
6. ~~ReadTheDocs will automatically pickup your changes and recompile the site.~~
52+
**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.
5153
7. Login to ReadTheDocs.com (credentials in lastpass)
5254
8. Click on the Versions button and then the Edit button next to your branch
5355
9. Click on the Active checkbox and set the Privacy Level to Private
5456
10. Visit https://developers.invoca.net
5557
11. Click on the "latest" link in the lower left, your new branch should appear in the list of version
5658
12. Click on your branch name to view and you should be able to check the changes you made
5759
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.)
58-
14. ReadTheDocs will automatically pickup your changes and recompile the site
60+
14. ~~ReadTheDocs will automatically pickup your changes and recompile the site.~~
61+
**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.
5962

6063
## Making a new version:
6164
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')

0 commit comments

Comments
 (0)