Craft User Manual allows developers (or even content editors) to provide CMS documentation using Craft's built-in sections (singles, channels, or structures) to create a `User Manual` or `Help` section directly in the control panel.
Craft User Manual allows developers (or even content editors) to provide CMS documentation using Craft's built-in sections (singles, channels, or structures) to create a "User Manual" or "Help" section directly in the control panel.
This plugin requires Craft CMS 3.0.0-beta.23 or later.
To install the plugin, follow these instructions.
Open your terminal and go to your Craft project:
Then tell Composer to load the plugin:
composer require hillholliday/craft-user-manual
In the Control Panel, go to Settings → Plugins and click the “Install” button for usermanual.
Select the section the plugin should use as the User Manual page in the CP.
- (Optional) - Replace the plugin's name to something your user's will understand.
- (Optional) - Use more than the default
bodyfieldhandle by setting up custom template overrides.
Click the User Manual link in the CP nav.
- All settings may be optionally configured using a config file. The values, contained in
config.php, are described below:
Intuitive, human-readable plugin name for the end user.
For more control over the output, you may optionally override the default template.
Path is relative to ../craft/templates/.
Entries in this section must have associated urls.
Enables the sidebar on the manual page
Defaults to true.
- The plugin currently only pulls in the
bodyfield from each entry in the selected section, unless you're using a template override.
- While the User Manual section works best with
Structures, you can certainly get away with using a one-off
- If you're running Craft Client or Craft Pro make sure your content editors don't have permission to edit whatever section you've selected to use as your User Manual
- Only sections with entry URLs may be used as your User Manual section.
This plugin was inspired by the team over at 70kft for their work on Craft-Help. While their plugin is definitely more flexible in terms of writing custom markdown in separate files, we wanted to create something that would make it easier for anyone to edit documentation without making any changes to the server. This works particularly well for larger projects where more than one person (especially non-devs) are writing documentation for how to use the CMS.
- 2.1.0 - Merging PRs from JorgeAnzola and sameerast
- 2.0.3 - Forcing updating to plugin store
- 2.0.2 - Merging in @aaronbushnell's fix for incorrect reference to asset bundle.
- 2.0.1 - Merging in @mgburns' fix for Craft 3 deprecation warnings.
- 2.0.0 - Merging in @jcdarwin Craft 3 port. Craft 3 version of Craft User Manual.
- 1.1.1 - Adding in RTL language support.
- 1.1.0 - Merging in @timkelty's work which includes template overrides, updated error prompts, and other misc improvements.
- 1.0.1 - Adding support for plugin custom icons in Craft 2.5.
- 1.0.0 - Initital release of Craft User Manual.
We hope this plugin is useful, and we'd love to hear any suggestions or issues you may have. @erskinerob.
Brought to you by Rob Erskine.