Skip to content

Commit 92e022b

Browse files
committed
Use sentence case for headings
1 parent 2e37d47 commit 92e022b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docsite/source/getting-started.html.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ layout: gem-single
44
name: dry-types
55
---
66

7-
### Using `Dry::Types` in Your Application
7+
### Using dry-types in your application
88

99
1. Make the base types available to your application by defining your own module built from `Dry.Types()`:
1010

@@ -19,7 +19,7 @@ name: dry-types
1919
# => #<Dry::Types::Constructor type=#<Dry::Types::Definition primitive=String options={}>>
2020
```
2121

22-
### Creating Your First Type
22+
### Creating your first type
2323

2424
1. Define a struct's types by passing the name & type to the `attribute` method:
2525

docsite/source/optional-values.html.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ name: dry-types
66

77
Types themselves have optional attributes you can apply to get further functionality.
88

9-
### Append `.optional` to a _Type_ to allow `nil`
9+
### Append `.optional` to a type to allow `nil`
1010

1111
By default, nil values raise an error:
1212

@@ -32,6 +32,6 @@ optional_string[123]
3232

3333
`Types::String.optional` is just syntactic sugar for `Types::Strict::Nil | Types::Strict::String`.
3434

35-
### Handle optional values using Monads
35+
### Handle optional values using monads
3636

3737
See [Maybe](docs::extensions/maybe) extension for another approach to handling optional values by returning a [_Monad_](/gems/dry-monads/) object.

0 commit comments

Comments
 (0)