This directory stores various tools and automations to help contributors or develpers of doom-nvim.
## Doom Contrib Docker Image `./start_docker.sh`
@ -13,7 +13,7 @@ The setup and start process is handled in the `./start_docker.sh` script.
```
Bootstraps a docker image for contributing changes to doom-nvim
Syntax: ./start_docker.sh [-b <branc_name>]
Syntax: ./start_docker.sh [-b <branch_name>]
options:
-b Create a new branch for the contribution (default is doom-nvim-contrib)
-h Shows this help menu
@ -22,7 +22,7 @@ options:
### What this script does
1. On first execution it will setup a git worktree of doom-nvim, this means your main config and this copy of the repo will share the same git history.
- This worktree will be placed in the `docker/doom-nvim-contrib` folder inside of this repository.
- This worktree will be placed in the `contribute/doom-nvim-contrib` folder inside of this repository.
- Because they share history you wont be able to checkout the same branch on both copies of the repository. Unless specified, a new branch called `doom-nvim-contrib` will be created off the latest version of `develop`.
2. It will setup a new docker image to run this config within (if necessary).
3. It will then start the docker image and enter you into neovim.
@ -32,6 +32,8 @@ will have less settings and plugins than you personal branch and therefore it wi
not work as expected otherwise. Eg. you will see 'Dashboard' text on vim load instead of
'Doom'.
> Alternatively you can setup an isolated dev environment for contributing using our docker image [here](../contribute/README.md#doom-contrib-docker-image-start_dockersh).
## Reporting issues
### Acquire a backtrace from errors
@ -116,3 +118,13 @@ your pull request :)
[gist]: https://gist.github.com/
[stylua]: https://github.com/JohnnyMorganz/StyLua
[luacheck]:https://github.com/luarocks/luacheck
### Tools
A range of tools for contributors are currently housed in the `contribute/` folder.
Read the detailed [documentation](../contribute/README.md).
#### Notable Tools
- [`contribute/start_docker.sh`](../contribute/README.md#doom-contrib-docker-image-start_dockersh) Sets up a dev environment for contributing to doom-nvim. Creates a git worktree to make changes and a docker image to test them within.