|
@@ -58,10 +58,20 @@ return [
|
|
|
|
|
|
/*
|
|
/*
|
|
* Any extra info for your users. For instance, you can describe where to find (or generate) their auth credentials.
|
|
* Any extra info for your users. For instance, you can describe where to find (or generate) their auth credentials.
|
|
|
|
+ * Markdown and HTML are supported.
|
|
*/
|
|
*/
|
|
'extra_info' => 'You can retrieve your token by visiting your dashboard and clicking <b>Generate API token</b>.',
|
|
'extra_info' => 'You can retrieve your token by visiting your dashboard and clicking <b>Generate API token</b>.',
|
|
],
|
|
],
|
|
|
|
|
|
|
|
+ /*
|
|
|
|
+ * Text to place in the "Introduction" section. Markdown and HTML are supported.
|
|
|
|
+ */
|
|
|
|
+ 'intro_text' => <<<INTRO
|
|
|
|
+Welcome to our API documentation!
|
|
|
|
+
|
|
|
|
+<aside>As you scroll, you'll see code examples for working with the API in different programming languages in the dark area to the right (or as part of the content on mobile), and you can switch the programming language of the examples with the tabs in the top right (or from the nav menu at the top left on mobile).</aside>
|
|
|
|
+INTRO,
|
|
|
|
+
|
|
/*
|
|
/*
|
|
* Example requests for each endpoint will be shown in each of these languages.
|
|
* Example requests for each endpoint will be shown in each of these languages.
|
|
* Supported options are: bash, javascript, php, python
|
|
* Supported options are: bash, javascript, php, python
|