PHP code example of hillholliday / craft-user-manual

1. Go to this page and download the library: Download hillholliday/craft-user-manual library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

hillholliday / craft-user-manual example snippets


   return [
       'section'         => 'secHelp',        // your manual section
       'managedFolder'   => '@root/help-manual',
       'bodyField'       => 'helpContent',    // if not the default `body`
       'readOnlyManaged' => true,             // optional: lock CP editing of synced pages
   ];
   

'templateOverride' => 'usermanual-markdown',