Get involved
Get involved into improving documentation and translations of the Navixy Platform
Contributing to Developer documentation
Join us in enhancing Navixy developer documentation! Your contributions are highly valued and appreciated. Whether you’ve spotted an inaccuracy, found a typo, or have additional information to share, your help is appreciated. All our documentation is publicly available on GitHub, and you can get involved in several ways to make it better:
In each case, a GitHub account is required. If you prefer not to register on GitHub, you can contact us with any feedback or suggestions.
Quick edits in the browser
For simple, quick edits, you can use the built-in GitHub editor:
On any documentation page, find the pencil icon in the upper right corner and click it.
You will be prompted to create a fork of the repository if you haven't already.
Click the green "Create fork" button. This will open the source code of the page in an editable format.
Make your edits directly in the browser.
Provide a brief description of your changes in the commit message box.
Click the "Propose changes" button to create a new branch in your fork.
Submit a pull request from your fork to the main repository.
We will review your pull request and, once approved, merge it into the main branch. This method is best for minor, single-page edits.
Local editing
For more comprehensive edits, or if you need to work on multiple pages, you can set up the documentation locally:
Prerequisites
Before you start contributing to the Navixy API documentation in Stoplight, ensure you have the following tools installed:
Git – Required for version control and managing your contributions
GitHub Account – Needed for submitting your changes
Editing documentation
Getting started
Fork the repository, clone it to your local machine, and create a new branch for your changes. This keeps your contributions organized and makes the review process smoother.
Working with markdown files
The documentation consists primarily of Markdown files with GFM (GitHub Flavored Markdown) extensions:
Navigate to the folder containing the documentation you want to edit
Open the relevant
.mdfiles in your preferred text editorMake your changes following the GitHub Flavored Markdown conventions
Working with API specifications
If you're updating API endpoint documentation:
Locate the relevant OpenAPI specification files (
.yamlor.json)Edit them using Stoplight Studio for the best experience, or manually in an IDE of choice
Ensure your changes maintain the correct OpenAPI syntax
Test your changes for validity if possible (try out requests)
Submitting your changes
Commit your changes with clear, descriptive messages in English. Push to your fork on GitHub and create a pull request with a detailed description of your changes.
When creating your pull request, make sure to select master as the target branch. All contributions should be submitted against the master branch unless specifically instructed otherwise.
The repository maintainers will review your contribution and may request modifications or clarifications before merging.
Documentation style guidelines
Documentation structure
The documentation includes two types of files:
Documents (.md)
API calls (.json or .yaml)
Documents are divided into semantic parts, starting with an introduction that summarizes the content.
API call descriptions
Each API call should include the following sections:
Introduction - General information and purpose of the API call
Object structure - Describes the object structure used in the calls (optional)
API Actions - Base API call and associated actions, including:
Action description - Purpose of the API action
Requirements - Necessary permissions (optional)
Parameters table - Lists parameters for the API call with descriptions and data types
Examples - API call examples with parameters, including copy functionality
Response - Example of a successful server response with field descriptions
Errors - Specific errors related to the API action, plus a general error list
Example API documentation format (MD reference)
# Resource name
Resource description.
## Object name
Object and its description.
## API actions
Path: `/path/to/resource/`.
### method_name
Method description.
#### Parameters
| name | description | type | restrictions |
|:-------|:-------------|:--------|:---------------------|
| param1 | description. | int | `[1..100]`, not null |
| param2 | description. | boolean | not null |
#### Examples
<!--title: "cURL"-->
```shell
curl -X POST 'https://api.navixy.com/v2/resource/sub_resource/action' \
-H 'Content-Type: application/json' \
-d '{"param1": "value1", "param2": "value2", "hash": "a6aa75587e5c59c32d347da438505fc3"}'
```
<!--title: "HTTP GET"-->
```http
https://api.navixy.com/v2/resource/sub_resource/action?param1=value1¶m2&hash=a6aa75587e5c59c32d347da438505fc3
```
#### Response
```json
{
"success": true
}
```
#### Errors
Special error codes.Ensure your documentation is accurate and all examples work as described.
Last updated
Was this helpful?