|
1 | | -# Denops.vim Documentation |
| 1 | +# Denops Documentation |
2 | 2 |
|
3 | | -This repo is the source of documentation of `denops.vim`. |
| 3 | +[](https://github.com/vim-denops/denops-documentation/actions/workflows/test.yml) |
| 4 | +[](https://vim-denops.github.io/denops-documentation/) |
4 | 5 |
|
5 | | -Generated documentation is |
6 | | -[here](https://vim-denops.github.io/denops-documentation/). If you learn it in |
7 | | -Japanese, read an |
8 | | -[article](https://zenn.dev/lambdalisue/articles/b4a31fba0b1ce95104c9) written by |
9 | | -`Alisue`(@lambdalisue), the original author of `denops.vim`. |
| 6 | +This is an official documentation of [denops.vim][denops.vim], an ecosystem of |
| 7 | +Vim/Neovim which allows developers to write plugins in [Deno][Deno]. |
10 | 8 |
|
11 | | -## How to contribute |
| 9 | +[denops.vim]: https://github.com/vim-denops/denops.vim |
| 10 | +[deno]: https://deno.land |
12 | 11 |
|
13 | | -Any Contributions for this repo are all welcome! |
| 12 | +Visit https://vim-denops.github.io/denops-documentation to see the content. |
14 | 13 |
|
15 | | -The documents are auto-generated by `mdbook`. Read the |
16 | | -[`Contribution guide`](https://github.com/vim-denops/denops-documentation/blob/master/CONTRIBUTING.md) |
17 | | -for more info. |
| 14 | +## Contribution |
| 15 | + |
| 16 | +Any contributions are welcome 👍 |
| 17 | + |
| 18 | +To contribute, install the latest versions of the followings in your environment |
| 19 | + |
| 20 | +- [Rust](https://www.rust-lang.org/tools/install) |
| 21 | +- [Deno](https://deno.land/) |
| 22 | + |
| 23 | +Then, install [mdBook](https://github.com/rust-lang/mdBook) and its plugins in |
| 24 | +`.tools` directory by |
| 25 | + |
| 26 | +``` |
| 27 | +make tools |
| 28 | +``` |
| 29 | + |
| 30 | +Once required tools are installed, execute the following command to generate |
| 31 | +static files in [`./docs`](./docs) from markdown files in [`./src`](./src). |
| 32 | + |
| 33 | +``` |
| 34 | +make gen |
| 35 | +``` |
| 36 | + |
| 37 | +Note that all markdown files are formatted with |
| 38 | +[Deno's code formatter](https://deno.land/manual/tools/formatter) and checked by |
| 39 | +CI thus make sure to format codes by the following command |
| 40 | + |
| 41 | +``` |
| 42 | +make fmt |
| 43 | +``` |
| 44 | + |
| 45 | +## See also |
| 46 | + |
| 47 | +- Semi-official documentation written in Japanese (日本語)<br> |
| 48 | + [Deno で Vim/Neovim のプラグインを書く |
| 49 | + (denops.vim)](https://zenn.dev/lambdalisue/articles/b4a31fba0b1ce95104c9) |
| 50 | + |
| 51 | +## License |
| 52 | + |
| 53 | +The code follows MIT license written in [LICENSE](./LICENSE). Contributors need |
| 54 | +to agree that any modifications sent in this repository follow the license. |
0 commit comments