Skip to content

Commit

Permalink
documentation special instruction
Browse files Browse the repository at this point in the history
  • Loading branch information
Tars Verschelde committed Oct 2, 2023
1 parent cd7f74c commit 078d6e6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/src/implementation_details/documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ The current list of fields for constraints:
+ description: describes the formulation of the constraint in words
+ formulation: describes the formulation of the constraints in latex formulas

There is also a special instruction specifically for getting the same field (or fields) from all constraint functions; instead of specifying the function name you can write `alldocstrings`. It will also automatically generate titles in between corresponding to the constraint.

An example for how the docstring looks:

```
Expand Down

0 comments on commit 078d6e6

Please sign in to comment.