LaRecipe logo LaRecipe

Upgrade

We attempt to document every possible breaking change. Moreover, you can find more details about each release in the CHANGELOG.


Features

No actual core breaking changes from v1.1 to v1.2. However, there are some cool features and enhancements added to v1.2:

Algolia Search Support

You can now use Algolia DocSearch directly in your docs simply by passing your key and index. See configuration page for more details.

Disqus Forum Support

Config

Few enhancements have been added to v1.2

  1. Search Support : search array section has been added to the config.
return [
    'search'            => [
        'enabled'       => false,
        'default'       => 'algolia',
        'engines'       => [
            'algolia'   => [
                'key'   => '',
                'index' => ''
            ]
        ]
    ]
];
  1. Dynamic color palette : colors array has been added to the ui array.
return [
    'ui'                 => [
        ...
        'colors'         => [
            'primary'    => '#787AF6',
            'secondary'  => '#2b9cf2',
            'selection'  => '#f4f5f7'
        ],
        ...
    ]
];
  1. Sidebar visibility can be configured: show_side_bar has been added to the ui array.
return [
    'ui'                 => [
        ...
        'show_side_bar'  => true,
    ]
];
  1. Dark/Light code theme: code has been added to the ui array.
return [
    'ui'                 => [
        ...
        'code'           => 'dark',
    ]
];
  1. Better SEO support: og array has been added to the seo array.
return [
    'seo'                 => [
        ...
        'og'              => [
            'title'       => '',
            'type'        => 'article',
            'url'         => '',
            'image'       => '',
            'description' => '',
        ]
    ]
];
  1. Add disqus forum support: forum array section has been added to the config.
return [
    'forum'                 => [
        'enabled'           => false,
        'default'           => 'disqus',
        'services'          => [
            'disqus'        => [
                'site_name' => '', // yoursite.disqus.com
            ]
        ]
    ]
];

You can add them manually or you can run this command:

{warning} Please note running the command with --force will override your config settings.

php artisan vendor:publish --tag=larecipe_config --force

UI

There are some new enhancements and fixes added to v1.2. In order to apply them you can run:

{info} You might notice when run this command the fonts folder is added again to the public/vendor/binarytorch/assets, see #23. Therefor, you can now delete the old public/fonts manually if you want.

php artisan vendor:publish --tag=larecipe_assets --force