[docgen] Update doc/neogen.txt

skip-checks: true
This commit is contained in:
github-actions
2022-01-30 13:10:24 +00:00
parent 815ad7a858
commit 034be1d695

View File

@@ -1,4 +1,14 @@
============================================================================== ==============================================================================
------------------------------------------------------------------------------
Table of contents:
Neogen's purpose....................................................|neogen|
The setup function..........................................|neogen.setup()|
Usage.........................................................|neogen-usage|
Configure the setup...................................|neogen-configuration|
Generate annotations.....................................|neogen.generate()|
Contributing................................................|neogen-develop|
------------------------------------------------------------------------------ ------------------------------------------------------------------------------
*neogen* *neogen*
What is Neogen ? What is Neogen ?
@@ -29,7 +39,7 @@ Usage~
`require('neogen').setup({})` (replace `{}` with your `config` table) `require('neogen').setup({})` (replace `{}` with your `config` table)
------------------------------------------------------------------------------ ------------------------------------------------------------------------------
*neogen.usage* *neogen-usage*
Neogen Usage Neogen Usage
Neogen will use Treesitter parsing to properly generate annotations. Neogen will use Treesitter parsing to properly generate annotations.
@@ -69,7 +79,7 @@ To know the supported types for a certain language
NOTE: calling `:Neogen` without any type is the same as `:Neogen func` NOTE: calling `:Neogen` without any type is the same as `:Neogen func`
------------------------------------------------------------------------------ ------------------------------------------------------------------------------
*neogen.configuration* *neogen-configuration*
`neogen.configuration` `neogen.configuration`
# Basic configurations~ # Basic configurations~
@@ -103,7 +113,7 @@ Neogen provides those defaults, and you can change them to suit your needs
I'm thinking of removing it from defaults so that it can't be modified I'm thinking of removing it from defaults so that it can't be modified
------------------------------------------------------------------------------ ------------------------------------------------------------------------------
*test.generator* *neogen.generate()*
`neogen.generate`({opts}) `neogen.generate`({opts})
The only function required to use Neogen. The only function required to use Neogen.
@@ -117,7 +127,7 @@ Parameters~
Currently supported: `func`, `class`, `type`, `file` Currently supported: `func`, `class`, `type`, `file`
------------------------------------------------------------------------------ ------------------------------------------------------------------------------
*neogen.develop* *neogen-develop*
Contribute to Neogen Contribute to Neogen
* Want to add a new language? * Want to add a new language?