- Fork the githubio_source repository
- Make your changes. All of the pages on sldn.softlayer.com are from the
/content
directory. The only exception is the/content/reference
directory, which is automatically generated, and shouldn't be edited manually. - Create a pull request into the master branch
- Your request will be reviewed according to the requirements rules below.
- Once your request is merged in, an automated build will regenerate the HTML and be merged into the official SLDN repo.
A good example should meet the following criteria
- Have multiple API call examples
- If
id
s are required, have an example of how to get theid
s appropriate for use with the API call you are making an example for - Example should do something useful with the output, such as displaying a table of useful information, or printing a "Success" message if the API just returns a boolean value
- Use an
objectMask
if the function accepts one - Use an
objectFilter
if the function accepts one - Use a
resultLimit
if the fuction returns an array - If the function takes in parameters, explain how to get valid values for them.
- Language specific examples should use the official SoftLayer library
- doc blocks should have the language specifified
like this
```python
def some_function():
pass
```
- Have some "plain english" explanations for what API calls do, even if its obvious from the function name.