Skip to content

Commit

Permalink
more signature types
Browse files Browse the repository at this point in the history
  • Loading branch information
JordanRL committed May 18, 2020
1 parent 62a0118 commit d443c2a
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 8 deletions.
15 changes: 8 additions & 7 deletions docs/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -199,13 +199,14 @@ svg.fa-signature path {

.rst-content .signature.constant .admonition-title::before {
content: "";
font-family: "FontAwesome";
margin-right: 4px;
margin-left: 10px;
color: #00c853;
position: relative;
top: 2px;
font-size: 20px;
}

.rst-content .signature.interface .admonition-title::before {
content: "";
}

.rst-content .signature.trait .admonition-title::before {
content: "";
}

.rst-content .note {
Expand Down
21 changes: 20 additions & 1 deletion docs/types-and-values/template.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,23 @@ test test test
: string

value
: The fully qualified class name of the `ImmutableComplexNumber` class.
: The fully qualified class name of the `ImmutableComplexNumber` class.

!!! signature interface "DecimalInterface"
namespace
: Samsara\Fermat\Types\Base\Interfaces\Numbers

extends
: - `SimpleNumberInterface` which extends `NumberInterface`

!!! signature trait "ArithmeticSimpleTrait"
namespace
: Samsara\Fermat\Types\Traits

uses
: - `ArithmeticScaleTrait`
- `ArithmeticNativeTrait`
- `ArithmeticSelectionTrat`

satisfies
: - `SimpleNumberInterface` (partially)

0 comments on commit d443c2a

Please sign in to comment.