Better Monorepo support (multiple spaces in a single repo & branch) #57
jalaziz
started this conversation in
Feature Requests
Replies: 1 comment 4 replies
-
Thank you for the feedback! We just released a solution that should fit your needs 🎉 You can now configure a "Project directory" when configuring the GitSync. Learn more about it in our documentation. This option can be used to synchronize one repository with multiple spaces. Keep in mind that this feature is brand new, so let us know if you have any feedback or if you observe any issues. (If you don't see the option when configuring the GitSync, hard-refresh your page to clear your browser's cache). |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What's your feature/idea?
GitBook should support a configurable path to the
.gitbook.yaml
file, allowing it to exist in subdirectories of the repo.One of our biggest issues with GitBook is the single space per repo/branch limitation. We use a monorepo and one of the main reasons for doing so is being able to update related components in a single commit. In fact, we regularly run into issue where people forget to update docs in the same commit they make changes in, resulting in inconsistencies for our customers.
What's your desired outcome?
If the path to the
.gitbook.yaml
was configurable, then it would theoretically be possible to have multiple spaces reside in the same repo and on the same branch.This has several benefits:
What's the impact of this for you?
Anything else?
Using separate branches or submodules don't help here because you still end up with the single commit problem. It also becomes much trickier to version cohesively, especially when changes move between environments.
Beta Was this translation helpful? Give feedback.
All reactions