A paragraph to introduce the project, describing it in a few short sentences to grab people's attention and let them know if it will be useful for them.
- Introduction
- Contents
- Features
- Usage
- Installation
- Function Contents
- Function List 1
- Function List 2
- Function Listing
- Additional
- Useful Links
- Credits
- A short list of points about the project
- The list should apply to most use cases of the project
An explanation on how to use the project on a basic level, with one or two brief examples.
print('Code example.');
// 'Code example.'
This may go into more depth about the high-level usage of the project, such as if its data manipulation is mutable or immutable, describing any custom data formats, etc.
Instructions explaining how to install the project, so that the user can start working with it themselves. The section should consider covering the following points:
- Installation through a dependency manager
- Installing without a dependency manager
- The environment required to work (any prerequesite libraries or binaries)
- Any changes that need to be made between development and production deployment
- Using sub-headings to differentiate between multiple installation methods
- Step-by-step guide to explain how to install
- Using the most basic feature of the project to ensure it works
This section lists all of the available functions.
An alphabetical, or otherwise logically sorted list (from top-left to bottom-right, reading left-to-right) of functions available in the project. No more than 4 per line, so the list is still all viewable on smaller screens.
If there are not multiple distinct types of functions, the subheadings can be left out.
- | - | - | - |
---|---|---|---|
functionOne | functionTwo | functionThree | functionFour |
functionFive |
- | - | - | - |
---|---|---|---|
functionSix | functionSeven |
Description: Description of the function.
Returns: type
- The data type(s) the function returns.
Arguments:
# | Required | Type | Name | Description | Default |
---|---|---|---|---|---|
1 | [x] | type |
arg1 | Description of the argument. | |
2 | [x] | type |
arg2 | Description of the argument. | |
3 | [ ] | type |
argOptional | Description of the argument. Basic HTML can be used for formatting such as line breaks. |
|
4 | [ ] | type |
argWithDefault | Description of the argument. | true |
Example:
functionOne(arg1, arg2)
// Function's return value displayed here
Description: Description of the function.
Returns: type
- The data type(s) the function returns.
Arguments:
# | Required | Type | Name | Description | Default |
---|---|---|---|---|---|
1 | [x] | `type` | arg1 | Description of the argument. | |
2 | [x] | `type` | arg2 | Description of the argument. | |
3 | [ ] | `type` | argOptional |
Description of the argument with additional detail.
|
|
1 | [x] | `type` | argWithDefault | Description of the argument. | `true` |
# | Required | Type | Name | Description | Default |
---|---|---|---|---|---|
1 | [x] | type |
arg1 | Description of the argument. | |
2 | [x] | type |
arg2 | Description of the argument. | |
3 | [ ] | type |
argOptional | Description of the argument. | |
4 | [ ] | type |
argWithDefault | Description of the argument. | true |
Example:
functionTwo(arg1, arg2)
// Function's return value displayed here
Any additional content, notes, and sections after the main bulk of the documentation's content.
The following people have helped with this project, and should be thanked:
- @you (project lead)
- @me (documentation)
- @randomGuy (frequent PRs to add additional features)
- @huehue (Translating documentation to Portuguese)