Skip to content

Commit 7abb573

Browse files
authored
Merge pull request #8 from vim-denops/fixes
Fixes for v1.0.0
2 parents e3f437d + 2e11a77 commit 7abb573

27 files changed

+573
-724
lines changed

.gitattributes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
docs/* linguist-generated=true
1+
docs/**/* linguist-generated=true

CONTRIBUTING.md

Lines changed: 0 additions & 18 deletions
This file was deleted.

LICENSE

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
Copyright 2021 Alisue, hashnote.net
2+
3+
Permission is hereby granted, free of charge, to any person obtaining a copy
4+
of this software and associated documentation files (the "Software"), to deal
5+
in the Software without restriction, including without limitation the rights
6+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7+
copies of the Software, and to permit persons to whom the Software is
8+
furnished to do so, subject to the following conditions:
9+
10+
The above copyright notice and this permission notice shall be included in all
11+
copies or substantial portions of the Software.
12+
13+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19+
SOFTWARE.
20+

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ tools: FORCE ## Install development tools
1313
@cargo install mdbook-plantuml --root ${TOOLS}
1414

1515
fmt: FORCE ## Format code
16-
@deno fmt --ignore=docs
16+
@deno fmt src README.md
1717

1818
fmt-check: FORCE ## Format check
19-
@deno fmt --ignore=docs --check
19+
@deno fmt --check src README.md
2020

2121
gen: FORCE ## Generate codes
2222
@${TOOLS}/bin/mdbook build

README.md

Lines changed: 49 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,54 @@
1-
# Denops.vim Documentation
1+
# Denops Documentation
22

3-
This repo is the source of documentation of `denops.vim`.
3+
[![Test](https://github.com/vim-denops/denops-documentation/actions/workflows/test.yml/badge.svg)](https://github.com/vim-denops/denops-documentation/actions/workflows/test.yml)
4+
[![Documentation](https://img.shields.io/badge/denops-Documentation-yellow.svg)](https://vim-denops.github.io/denops-documentation/)
45

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].
108

11-
## How to contribute
9+
[denops.vim]: https://github.com/vim-denops/denops.vim
10+
[deno]: https://deno.land
1211

13-
Any Contributions for this repo are all welcome!
12+
Visit https://vim-denops.github.io/denops-documentation to see the content.
1413

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.

docs/404.html

Lines changed: 16 additions & 33 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)