Skip to content

Commit

Permalink
fix docs titles (#101)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheFes authored Nov 17, 2023
1 parent 9469ca9 commit 748ee5f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions documentation/4-data_output.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# 4. DATA OUTPUT

## 🚨 IMPORTANT NOTE 🚨

* A macro **ALWAYS** returns a string. So you need to convert the output based on the selected [mode](#output-modes). So if your output is the price, you need to convert it to a number using the `float` function of filter to be able to calculate with it, if it is the start or end time, you can use `as_datetime`. For more complex structures used in the modes `split` and `all` use `from_json` (only available as filter) and for the mode `is_now` you can use `bool`. Make sure to use defaults, or use the `value_on_error` parameter to avoid errors while converting the data.
Expand Down
2 changes: 1 addition & 1 deletion documentation/5-error_handling.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# ERROR HANDLING
# 5. ERROR HANDLING

The macro will display error messages as output in case of incorrect input.
|Message|What do do|
Expand Down
2 changes: 1 addition & 1 deletion documentation/6-examples.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# EXAMPLES
# 6. EXAMPLES

Based on the input recieved from users of the macro, I've written two examples of real life scenarios in which the macro can be used. If you have another example which can be added, let me know, or add it yourself using a PR :)

Expand Down

0 comments on commit 748ee5f

Please sign in to comment.