Documentation v8.1.9

Page Configuration

The page config link the menu to the view. The Laravel page configuration is separated into 2 types which are global and demo level config. Both configs will be merged. The global page can be found in the config folder config/global/page.php. The page items will be available for all demos in the future updates.

The demo config can be found in the config folder config/demo1/page.php. The page in this config will be specifically available for current selected demo.

The global page contains documentation and other general pages as example below.

return array(
    // Documentation pages
    'documentation' => array(
        '*' => array(...),

        'getting-started' => array(...),

        'general' => array(...),

        'configuration' => array(...),
    ),
);

Each page may contains this config to override the global value. For example JS and CSS assets from general config in config/demo1/general.php

'login'           => array(
    'title'  => 'Login',
    'assets' => array(
        'custom' => array(
            'js' => array(
                'js/custom/authentication/sign-in/general.js',
            ),
        ),
    ),
),