First of all, we are so glad that you are reading this right now, we need YOU to make Amadeus for Developers documentation{:target="_blank"} more consistent, and readable, adding missing information, correcting factual errors, or/and fixing typos. 😍🎉
Our guides are written in the second-person point of view, which is more engaging for the reader.
Keep the menu item names as short as possible but describe them in the page headers. For example, Pricing > Pricing options for Amadeus Travel APIs.
When writing step-by-step instructions, start each step with a verb. For example:
- Create an account.
- Register your app.
- Make an API call.
!!! warning This text box is used to describe an action that can potentially inflict damage to your system or business.
!!! information This text box is used to provide any supplementary information about your topic.
When referring to specific pages or products, we prefer putting their names in bold. For example, "navigate to the Settings page".
We prefer putting the navigation paths in bold as well. For example, "navigate to Settings > API keys".
If you need to use a placeholder in a code sample, set it between angle brackets and describe it after the code. For example:
{
"client_id": "<YOUR-CLIENT-ID>",
"token_type": "Bearer"
}
Replace <YOUR-CLIENT-ID>
with your client Id.
When using a parameter_name
in the text, put it between backticks ``.
When mentioning an Amadeus API, use a link to the API catalogue{:target="_blank"} in the [API name](url)
format.
- Open a GitHub issue{:target="_blank"} with descriptions of which sections and the reasons if necessary.
There are 2 ways for you to contribute by spreading your ideas!
- Make changes directly to the source code in GitHub{:target="_blank"}, and then open a pull request to apply your changes to the main branch. In this case, you will be able to contribute with your own words and contents directly. Check below about the documentation navigation so that you know which folders/files to update.
- Open a GitHub issue{:target="_blank"} with descriptions of your ideas and contents.
The Amadeus for Developers documentation is generated with Mkdocs and each page in the documentation is based on Markdown. The mkdocs.yml file{:target="_blank"} indicates which page is associated with which file in the project.
For example, API Tutorials > Flights section is with resources/flights.md{:target="_blank"}
Clone the repository
git clone https://github.com/amadeus4dev/developer-guides.git
cd developer-guides
Create your virtual environment and install the dependences
virtualenv venv
source venv/bin/activate
pip install -r requirements.txt
Run the server
mkdocs serve
Now you can go to http://127.0.0.1:8000 and check out the documentation. For any changes you make, you will just have to refresh your browser to see them.
Please feel free to join our Discord channel{:target="_blank"} to meet our community and ask questions!
Thank you! ❤️
The Amadeus for Developers Team