8ef33e0285
* fixed broken link to raw template * removed problematic link to concept topic * added raw concept topic * added raw template for reference topic * added How to use section * fixed url for raw * Update website/developer-docs/docs/templates/procedural.md Co-authored-by: Jens L. <jens@goauthentik.io> Signed-off-by: Tana M Berry <tanamarieberry@yahoo.com> * Update website/developer-docs/docs/templates/conceptual.tmpl.md Signed-off-by: Tana M Berry <tanamarieberry@yahoo.com> * fixed empty file * linter issue * nother typo --------- Signed-off-by: Tana M Berry <tanamarieberry@yahoo.com> Co-authored-by: Tana Berry <tana@goauthentik.io> Co-authored-by: Jens L. <jens@goauthentik.io>
40 lines
1.9 KiB
Markdown
40 lines
1.9 KiB
Markdown
---
|
|
title: "Reference topic"
|
|
---
|
|
|
|
:::info
|
|
**How to use this template**: start with the markdown version of the template, either by copying the [`reference.tmpl.md`](https://github.com/goauthentik/authentik/tree/main/website/developer-docs/docs/templates) file from our GitHub repo or downloading the template file using the following command:
|
|
|
|
```
|
|
wget https://raw.githubusercontent.com/goauthentik/authentik/main/website/developer-docs/docs/templates/reference.tmpl.md
|
|
```
|
|
|
|
Edit your markdown file as you work, reading this page for the descriptions of each section. You can build out a "stub file" with just headers, then gradually add content to each section. Use screenshots sparingly, only for complex UIs where it is difficult to describe a UI element with words. Refer to our [General Guidelines](../writing-documentation#general-guidelines) for writing tips and authentik-specific rules.
|
|
:::
|
|
|
|
Create a title that specifies the component you are documenting. For example, "Group attributes".
|
|
|
|
Provide a sentence or two about the topic.
|
|
|
|
Reference documentation provides details, values, syntax, etc., about specific programming elements.
|
|
|
|
The most common type of reference documentation is for REST APIs; the request syntax, a successful response, any parameters such as query, header, or request body parameters, and possible http status codes.
|
|
|
|
Other types of reference content include lists of functions, parameters, object properties, event actions, and attributes.
|
|
|
|
## Head 2
|
|
|
|
Use a title that is descriptive, such as "User object attributes" or "Expression policy functions".
|
|
|
|
Use tables, bullet lists, Head3s... whatever you need to clearly present the values.
|
|
|
|
Be sure to use a sentence after every heading, to explain what the section is about, how the values are used, etc.
|
|
|
|
### Head 3 (optional, if needed)
|
|
|
|
Add a sentence explaining the following grouping.
|
|
|
|
### Head 3 (optional, if needed)
|
|
|
|
Add a sentence explaining the following grouping.
|