Skip to content

Commit 8104f71

Browse files
committed
handle docstrings better
1 parent 239da51 commit 8104f71

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

app/routes/ApiRoute.res

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -159,12 +159,9 @@ let default = () => {
159159
}
160160
->Array.at(0)
161161
->Option.flatMap(str => String.split(str, ".")[0])
162-
->Option.getOr("")
163-
164-
let _ = Console.log2(title, docstrings)
165162

166163
<>
167-
<Meta title />
164+
<Meta title description=?docstrings />
168165
<ApiDocs {...loaderData} />
169166
</>
170167
}

0 commit comments

Comments
 (0)