123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191 |
- <?php
- return [
- /*
- |--------------------------------------------------------------------------
- | Documentation Routes
- |--------------------------------------------------------------------------
- |
- | These options configure the behavior of the LaRecipe docs basic route
- | where you can specify the url of your documentations, the location
- | of your docs and the landing page when a user visits /docs route.
- |
- |
- */
- 'docs' => [
- 'route' => '/stub-docs',
- 'path' => '/resources/docs',
- 'landing' => 'overview',
- ],
- /*
- |--------------------------------------------------------------------------
- | Documentation Versions
- |--------------------------------------------------------------------------
- |
- | Here you may specify and set the versions and the default (latest) one
- | of your documentation's versions where you can redirect the user to.
- | Just make sure that the default version is in the published list.
- |
- |
- */
- 'versions' => [
- 'default' => 'ErrorCodes',
- 'published' => [
- 'ErrorCodes',
- 'V1',
- 'V1_1'
- ]
- ],
- /*
- |--------------------------------------------------------------------------
- | Documentation Settings
- |--------------------------------------------------------------------------
- |
- | These options configure the additional behaviors of your documentation
- | where you can limit the access to only authenticated users in your
- | system. It is false initially so that guests can view your docs.
- |
- |
- */
- 'settings' => [
- 'auth' => false,
- 'ga_id' => ''
- ],
- /*
- |--------------------------------------------------------------------------
- | Cache
- |--------------------------------------------------------------------------
- |
- | Obviously rendering markdown at the back-end is costly especially if
- | the rendered files are massive. Thankfully, caching is considered
- | as a good option to speed up your app when having high traffic.
- |
- | Caching period unit: minutes
- |
- */
- 'cache' => [
- 'enabled' => false,
- 'period' => 5
- ],
- /*
- |--------------------------------------------------------------------------
- | Search
- |--------------------------------------------------------------------------
- |
- | Here you can add configure the search functionality of your docs.
- | You can choose the default engine of your search from the list
- | However, you can also enable/disable the search's visibility
- |
- | Supported Search Engines: 'algolia', 'internal'
- |
- */
- 'search' => [
- 'enabled' => false,
- 'default' => 'algolia',
- 'engines' => [
- 'internal' => [
- 'index' => ['h2', 'h3']
- ],
- 'algolia' => [
- 'key' => '',
- 'index' => ''
- ]
- ]
- ],
- /*
- |--------------------------------------------------------------------------
- | Appearance
- |--------------------------------------------------------------------------
- |
- | Here you can add configure the appearance of your docs. For example,
- | you can set the primary and secondary colors that will give your
- | documentation a unique look. You can set the fav of your docs.
- |
- |
- */
- 'ui' => [
- 'code_theme' => 'dark', // or: light
- 'fav' => '', // eg: fav.png
- 'fa_v4_shims' => true, // Add FontAwesome v4 shims prevent BC break
- 'colors' => [
- 'primary' => '#787AF6',
- 'secondary' => '#2b9cf2'
- ],
- ],
- /*
- |--------------------------------------------------------------------------
- | SEO
- |--------------------------------------------------------------------------
- |
- | These options configure the SEO settings of your docs. You can set the
- | author, the description and the keywords. Also, LaRecipe by default
- | sets the canonical link to the viewed page's link automatically.
- |
- |
- */
- 'seo' => [
- 'author' => '',
- 'description' => '',
- 'keywords' => '',
- 'og' => [
- 'title' => '',
- 'type' => 'article',
- 'url' => '',
- 'image' => '',
- 'description' => '',
- ]
- ],
- /*
- |--------------------------------------------------------------------------
- | Forum
- |--------------------------------------------------------------------------
- |
- | Giving a chance to your users to post their questions or feedback
- | directly on your docs, is pretty nice way to engage them more.
- | However, you can also enable/disable the forum's visibility.
- |
- | Supported Services: 'disqus'
- |
- */
- 'forum' => [
- 'enabled' => false,
- 'default' => 'disqus',
- 'services' => [
- 'disqus' => [
- 'site_name' => '', // yoursite.disqus.com
- ]
- ]
- ],
- /*
- |--------------------------------------------------------------------------
- | Components and Packages
- |--------------------------------------------------------------------------
- |
- | Once you create a new asset or theme, its directory will be
- | published under `larecipe-components` folder. However, If
- | you want a different location, feel free to change it.
- |
- |
- */
- 'packages' => [
- 'path' => 'larecipe-components',
- ]
- ];
|