Skip to content

Commit 8d9f667

Browse files
authored
Add contributing guide (#545)
1 parent 05afda3 commit 8d9f667

File tree

2 files changed

+55
-19
lines changed

2 files changed

+55
-19
lines changed

CONTRIBUTING.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# Contributing Guide
2+
3+
Thanks for wanting to help out with nvim-orgmode, we appreciate the effort!
4+
5+
## Reporting Bugs/Features
6+
7+
> :mega: Please always make a quick search in our [issue-tracker](https://github.com/nvim-orgmode/orgmode/issues) before reporting anything. If the bug/feature has already been reported, continue the conversation on the existing issue.
8+
9+
We distinguish between `core` (part of [orgmode](https://orgmode.org/)) and `non-core` features.
10+
The former will be prioritized. Bugs get the highest priority.
11+
12+
If you're reporting a `core` feature, please be sure to provide a link that describes it. There are several places where features could be documented, have a look at these [resources](https://orgmode.org/worg/#resources). The more info you provide the better!
13+
14+
## Documentation
15+
16+
If you spot something missing in our [docs](DOCS.md), don't hesitate making a PR. The [wiki](https://github.com/nvim-orgmode/orgmode/wiki) can be edited freely.
17+
18+
## Code
19+
20+
You can take a look at our [feature completeness](https://github.com/nvim-orgmode/orgmode/wiki/Feature-Completeness) list and see if any of the missing features catch your interest.
21+
22+
If you prefer working on an issue that has been reported, please leave a comment voicing your interest.
23+
24+
Please document any new code you add with [emmylua annotations](https://emmylua.github.io/annotation.html). Feel free to add annotations/docs to any existing functions integral to your PR that are missing them.
25+
26+
### Tests
27+
28+
To run tests, [plenary.nvim](https://github.com/nvim-lua/plenary.nvim) and [nvim-treesitter](https://github.com/nvim-treesitter/nvim-treesitter) must be present in the nvim-orgmode directory:
29+
```
30+
git clone https://github.com/nvim-treesitter/nvim-treesitter
31+
git clone https://github.com/nvim-lua/plenary.nvim
32+
make test
33+
```
34+
35+
### Formatting
36+
37+
Formatting is done via [StyLua](https://github.com/JohnnyMorganz/StyLua). To format everything run:
38+
```
39+
make format
40+
```
41+
42+
### Parser
43+
44+
Parsing is done via builtin treesitter parser and the [tree-sitter-org](https://github.com/milisims/tree-sitter-org) grammar.

README.md

Lines changed: 11 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
Orgmode clone written in Lua for Neovim 0.8+
1212

13-
[Setup](#setup)[Docs](/DOCS.md)[Showcase](#showcase)[Treesitter](#treesitter-info)[Troubleshoot](#troubleshoot)[Plugins](#plugins)[Development](#development)[Kudos](#thanks-to)
13+
[Setup](#setup)[Docs](/DOCS.md)[Showcase](#showcase)[Treesitter](#treesitter-info)[Troubleshoot](#troubleshoot)[Plugins](#plugins)[Contributing](CONTRIBUTING.md)[Kudos](#thanks-to)
1414

1515

1616
</div>
@@ -371,29 +371,21 @@ and a good foundation for external plugins.<br />
371371
If you want to build a plugin, post suggestions and improvements on [Plugins infrastructure](https://github.com/nvim-orgmode/orgmode/issues/26)
372372
issue.
373373

374-
## Development
374+
### :wrench: API
375375

376-
### Tests
377-
To run tests, [plenary.nvim](https://github.com/nvim-lua/plenary.nvim) and [nvim-treesitter](https://github.com/nvim-treesitter/nvim-treesitter) must be present in the nvim-orgmode directory:
378-
```
379-
git clone https://github.com/nvim-treesitter/nvim-treesitter
380-
git clone https://github.com/nvim-lua/plenary.nvim
381-
make test
382-
```
376+
Documentation for our work-in-progress API can be found [here](doc/orgmode_api.txt)
383377

384-
### Documentation
385-
Hosted documentation is on: [https://nvim-orgmode.github.io/](https://nvim-orgmode.github.io/)
378+
## Contributing
386379

387-
Vim documentation is auto generated from [DOCS.md](DOCS.md) file with [md2vim](https://github.com/FooSoft/md2vim).
380+
See [CONTRIBUTING.md](CONTRIBUTING.md)
388381

389-
### Formatting
390-
Formatting is done via [StyLua](https://github.com/JohnnyMorganz/StyLua). To format everything run:
391-
```
392-
make format
393-
```
382+
## Documentation
383+
384+
If you are just starting out with orgmode, have a look at the [Getting Started](https://github.com/nvim-orgmode/orgmode/wiki/Getting-Started) section in our wiki.
394385

395-
### Parser
396-
Parsing is done via builtin treesitter parser and [tree-sitter-org](https://github.com/milisims/tree-sitter-org) grammar.
386+
Vim documentation is auto generated from [DOCS.md](DOCS.md) file with [md2vim](https://github.com/FooSoft/md2vim).
387+
388+
Hosted documentation is on: [https://nvim-orgmode.github.io/](https://nvim-orgmode.github.io/)
397389

398390
## Roadmap
399391
* [X] Support searching by properties

0 commit comments

Comments
 (0)