1.2 KiB
1.2 KiB
In order to leverage github/wiki look&feel in combination with github pull request process we have to use two git repositories in our workflow:
-
Technical git repository https://github.com/rusefi/rusefi_documentation is used to submit content using fork&pull request process
-
user-facing https://github.com/rusefi/rusefi.wiki.git repository is displayed to viewers at https://github.com/rusefi/rusefi/wiki Jenkins automation merges all changes from technical git into https://github.com/rusefi/rusefi.wiki.git behind the scenes.
For example, in order for user abelom to edit this page:
- abelom would start editing at https://github.com/rusefi/rusefi_documentation/blob/master/Special/Documentation_Workflow.md which would automatically create a branch in https://github.com/abelom/rusefi_documentation fork
- once changed are made, abelom would create a Pull Request
- once that PR is merged into primary rusEfi modified content would appear as https://github.com/rusefi/rusefi_documentation/blob/master/Special/Documentation_Workflow.md
- within the next 5 minutes automation would sync this page into wiki git and it would be available with nicer layour as https://github.com/rusefi/rusefi/wiki/Documentation_Workflow