xima / xm_drupal_manual
This module provides a manual for Drupal using the export route of the books core module.
Installs: 89
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 5
Forks: 0
Open Issues: 0
Language:SCSS
Type:drupal-module
Requires
- php: ^8.2
- drupal/core: ^10.2
Requires (Dev)
- rector/rector: ^1.1
This package is auto-updated.
Last update: 2024-11-17 14:40:54 UTC
README
This module provides a manual for Drupal using the export route of the books core module.
The current state is experimental and may contain hard codings.
Features
- templates for displaying a book with all of its pages on a single page
- hides the books outline for non-book-page nodes
- a minimal styling for the manual
Requirements
- Drupal 10+
Installation
- Install using composer.json:
composer require xima/xm_drupal_manual
- Enable the module in the drupal backend as usual
Developer instructions
PHP quality tools
Rector
A rector config is provided. Run the following command to execute it:
composer run-script php:check
Build assets
Navigate to the module folder in order to rebuild the assets:
Build the minified js:
npm run js
Compile scss into minified css:
npm run sass