Skip to content

Instantly share code, notes, and snippets.

@roberto-butti
Created May 26, 2024 21:18
Show Gist options
  • Save roberto-butti/5e43c07921eefe0a913ab076cb95bc5e to your computer and use it in GitHub Desktop.
Save roberto-butti/5e43c07921eefe0a913ab076cb95bc5e to your computer and use it in GitHub Desktop.
Ibis Next configuration file for Laravel Documentation
<?php
return [
/**
* The book title.
*/
'title' => 'Laravel Doc e-book',
/**
* The author name.
*/
'author' => '',
/**
* The list of fonts to be used in the different themes.
*/
'fonts' => [
// 'calibri' => 'Calibri-Regular.ttf',
// 'times' => 'times-regular.ttf',
],
/**
* Document Dimensions.
*/
'document' => [
'format' => [210, 297],
'margin_left' => 27,
'margin_right' => 27,
'margin_bottom' => 14,
'margin_top' => 14,
],
/**
* Table of Contents Levels
*/
'toc_levels' => [
'H1' => 0,
'H2' => 1,
'H3' => 2,
],
/**
* Cover photo position and dimensions
*/
'cover' => [
'position' => 'position: absolute; left:0; right: 0; top: -.2; bottom: 0;',
'dimensions' => 'width: 210mm; height: 297mm; margin: 0;',
'image' => 'cover-laravel.png',
],
/**
* Page ranges to be used with the sample command.
*/
'sample' => [
[1, 7],
[15, 15],
],
/**
* default commonmark
*/
'configure_commonmark' => [
],
/**
* A notice printed at the final page of a generated sample.
*/
'sample_notice' => 'This is a sample',
/**
* CSS inline style for the page header.
* If you want to skip header, comment the line
*/
'header' => 'font-style: italic; text-align: right; border-bottom: solid 1px #808080;',
/**
* List of the Markdown files.
* If the `md_file_list` is not set (default)
* all the markdown files in the content directory
* will be loaded.
* If you need to select a subset of markdown files
* for creating PDF or EPUB or HTML you can list here
* the files. You need to set the filename in the
* content directory. The fieldname should include the
* extension.
*/
'md_file_list' => [
'releases.md',
'upgrade.md',
'contributions.md',
'installation.md',
'configuration.md',
'structure.md',
'frontend.md',
'starter-kits.md',
'deployment.md',
'lifecycle.md',
'container.md',
'providers.md',
'facades.md',
'routing.md',
'middleware.md',
'csrf.md',
'controllers.md',
'requests.md',
'responses.md',
'views.md',
'blade.md',
'vite.md',
'urls.md',
'session.md',
'validation.md',
'errors.md',
'logging.md',
'artisan.md',
'broadcasting.md',
'cache.md',
'collections.md',
'context.md',
'contracts.md',
'events.md',
'filesystem.md',
'helpers.md',
'http-client.md',
'localization.md',
'mail.md',
'notifications.md',
'packages.md',
'processes.md',
'queues.md',
'rate-limiting.md',
'strings.md',
'scheduling.md',
'authentication.md',
'authorization.md',
'verification.md',
'encryption.md',
'hashing.md',
'passwords.md',
'database.md',
'queries.md',
'pagination.md',
'migrations.md',
'seeding.md',
'redis.md',
'eloquent.md',
'eloquent-relationships.md',
'eloquent-collections.md',
'eloquent-mutators.md',
'eloquent-resources.md',
'eloquent-serialization.md',
'eloquent-factories.md',
'testing.md',
'http-tests.md',
'console-tests.md',
'dusk.md',
'database-testing.md',
'mocking.md',
'billing.md',
'cashier-paddle.md',
'dusk.md',
'envoy.md',
'fortify.md',
'folio.md',
'homestead.md',
'horizon.md',
'mix.md',
'octane.md',
'passport.md',
'pennant.md',
'pint.md',
'precognition.md',
'prompts.md',
'pulse.md',
'reverb.md',
'sail.md',
'sanctum.md',
'scout.md',
'socialite.md',
'telescope.md',
'valet.md'
],
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment