DOC-4730 experimental build target that uses local client repos #1059
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
DOC-4730
Summary:
make.pyfile that builds the docs has a--stackoption that specifies where to locate theindex.jsonfile for the client repos. Currently, we don't specify any option, so it uses the default.localserve) that works the same asmake servebut sets the--stackoption ofmake.pytodata/components_local/index.jsoninstead of the defaultdata/components/index.json. Thedata/components_localfolder is just a copy ofdata/componentsto begin with, but you can change the individual client repo files (redis-py.json, etc) to reference your local clones of the repos instead of the ones on Github.data/components_localto.gitignore.The theory, then, is that you can keep the files in
data/components_localpermanently set to your local client repo clones (changing the branch when necessary) and build with them usingmake localserve. You won't commit this folder by mistake because it is in.gitignore.Any suggestions for a better approach, better names, showstoppers, etc, are all very welcome :-)