{
  "version": "https://jsonfeed.org/version/1.1",
  "title": "Cecil - Commands",
  "home_page_url": "https://cloudflare.cecil.app/documentation/commands/",
  "feed_url": "https://cloudflare.cecil.app/documentation/commands/feed.json",
  "description": "Reference of Cecil CLI commands and options.",
  "icon": "https://cloudflare.cecil.app/favicon.7ff4b89eec6dad139a7d2d6561543285.png",
  "favicon": "https://cloudflare.cecil.app/thumbnails/64x/favicon.7ff4b89eec6dad139a7d2d6561543285.png",
  "language": "en",
  "items": [
    {
      "id": "https://cloudflare.cecil.app/documentation/commands/new-extension/",
      "url": "https://cloudflare.cecil.app/documentation/commands/new-extension/",
      "title": "new:extension",
      "summary": "Create the skeleton of an extension: generator, Twig extension, post-processor, event subscriber or plugin.",
      "date_published": "2026-10-26T00:00:00+00:00",
      "date_modified": "2026-10-26T00:00:00+00:00","content_text": "new:extension\nCreates the skeleton of an extension class in the extensions directory, and displays the configuration to enable it.\nUsage\nDescription:\n  Creates a new extension\n\nUsage:\n  new:extension [options] [--] [&lt;path&gt;]\n\nArguments:\n  path                       Use the given path as working directory\n\nOptions:\n  -t, --type=TYPE            Extension type (generator, twig, postprocessor, subscriber, plugin)\n      --name=NAME            Extension class name (e.g.: \"MyGenerator\")\n      --namespace=NAMESPACE  Root namespace of the extension (e.g.: \"MySite\")\n  -f, --force                Override the file if already exist\n  -h, --help                 Display help for the given command. When no command is given display help for the list command\n      --silent               Do not output any message\n  -q, --quiet                Only errors are displayed. All other output is suppressed\n  -V, --version              Display this application version\n      --ansi|--no-ansi       Force (or disable --no-ansi) ANSI output\n  -n, --no-interaction       Do not ask any interactive question\n  -v|vv|vvv, --verbose       Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug\n\nHelp:\n  The new:extension command creates the skeleton of an extension class in the extensions directory,\n  and displays the configuration to enable it.\n  If you run this command without any options, it will ask you for the extension type, name and namespace.\n\n    cecil.phar new:extension\n    cecil.phar new:extension --type=generator --name=Database --namespace=MySite\n\n  Available types: generator, twig, postprocessor, subscriber and plugin.\n\n  To override an existing extension, run:\n\n    cecil.phar new:extension --force\nTypes\n\n\n\nType\nClass\nConfiguration\n\n\n\n\ngenerator\n&lt;namespace&gt;\\Generator\\&lt;name&gt; (page generator)\npages.generators\n\n\ntwig\n&lt;namespace&gt;\\Twig\\&lt;name&gt; (Twig extension)\nlayouts.extensions\n\n\npostprocessor\n&lt;namespace&gt;\\PostProcessor\\&lt;name&gt; (output post-processor)\noutput.postprocessors\n\n\nsubscriber\n&lt;namespace&gt;\\Subscriber\\&lt;name&gt; (build events subscriber)\nextensions.subscribers\n\n\nplugin\n&lt;namespace&gt;\\&lt;name&gt; (plugin)\nextensions.plugins\n\n\n\nThe class is created in extensions\/&lt;namespace path&gt;\/. The Cecil namespace is reserved and can't be used.",
      "content_html": "<h1>new:extension</h1>\n<p>Creates the skeleton of an <a href=\"../developers/1-extend.md\">extension</a> class in the <code translate=\"no\">extensions</code> directory, and displays the configuration to enable it.</p>\n<h2 id=\"usage\">Usage<a class=\"heading-anchor\" href=\"#usage\" aria-hidden=\"true\" tabindex=\"-1\"></a></h2>\n<pre data-lang=\"plaintext\"><code class=\"language-plaintext hljs plaintext\" translate=\"no\">Description:\n  Creates a new extension\n\nUsage:\n  new:extension [options] [--] [&lt;path&gt;]\n\nArguments:\n  path                       Use the given path as working directory\n\nOptions:\n  -t, --type=TYPE            Extension type (generator, twig, postprocessor, subscriber, plugin)\n      --name=NAME            Extension class name (e.g.: \"MyGenerator\")\n      --namespace=NAMESPACE  Root namespace of the extension (e.g.: \"MySite\")\n  -f, --force                Override the file if already exist\n  -h, --help                 Display help for the given command. When no command is given display help for the list command\n      --silent               Do not output any message\n  -q, --quiet                Only errors are displayed. All other output is suppressed\n  -V, --version              Display this application version\n      --ansi|--no-ansi       Force (or disable --no-ansi) ANSI output\n  -n, --no-interaction       Do not ask any interactive question\n  -v|vv|vvv, --verbose       Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug\n\nHelp:\n  The new:extension command creates the skeleton of an extension class in the extensions directory,\n  and displays the configuration to enable it.\n  If you run this command without any options, it will ask you for the extension type, name and namespace.\n\n    cecil.phar new:extension\n    cecil.phar new:extension --type=generator --name=Database --namespace=MySite\n\n  Available types: generator, twig, postprocessor, subscriber and plugin.\n\n  To override an existing extension, run:\n\n    cecil.phar new:extension --force</code></pre>\n<h2 id=\"types\">Types<a class=\"heading-anchor\" href=\"#types\" aria-hidden=\"true\" tabindex=\"-1\"></a></h2>\n<table>\n<thead>\n<tr>\n<th>Type</th>\n<th>Class</th>\n<th>Configuration</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code translate=\"no\">generator</code></td>\n<td><code translate=\"no\">&lt;namespace&gt;\\Generator\\&lt;name&gt;</code> (page generator)</td>\n<td><code translate=\"no\">pages.generators</code></td>\n</tr>\n<tr>\n<td><code translate=\"no\">twig</code></td>\n<td><code translate=\"no\">&lt;namespace&gt;\\Twig\\&lt;name&gt;</code> (Twig extension)</td>\n<td><code translate=\"no\">layouts.extensions</code></td>\n</tr>\n<tr>\n<td><code translate=\"no\">postprocessor</code></td>\n<td><code translate=\"no\">&lt;namespace&gt;\\PostProcessor\\&lt;name&gt;</code> (output post-processor)</td>\n<td><code translate=\"no\">output.postprocessors</code></td>\n</tr>\n<tr>\n<td><code translate=\"no\">subscriber</code></td>\n<td><code translate=\"no\">&lt;namespace&gt;\\Subscriber\\&lt;name&gt;</code> (build events subscriber)</td>\n<td><code translate=\"no\">extensions.subscribers</code></td>\n</tr>\n<tr>\n<td><code translate=\"no\">plugin</code></td>\n<td><code translate=\"no\">&lt;namespace&gt;\\&lt;name&gt;</code> (plugin)</td>\n<td><code translate=\"no\">extensions.plugins</code></td>\n</tr>\n</tbody>\n</table>\n<p>The class is created in <code translate=\"no\">extensions/&lt;namespace path&gt;/</code>. The <code translate=\"no\">Cecil</code> namespace is reserved and can't be used.</p>",
      "language": "en"
    },
    {
      "id": "https://cloudflare.cecil.app/documentation/commands/new-site/",
      "url": "https://cloudflare.cecil.app/documentation/commands/new-site/",
      "title": "new:site",
      "summary": "Create a new website.",
      "date_published": "2020-12-19T00:00:00+00:00",
      "date_modified": "2026-11-01T00:00:00+00:00","content_text": "new:site\nCreates a new site.\nUsage\nDescription:\n  Creates a new website\n\nUsage:\n  new:site [options] [--] [&lt;path&gt;]\n\nArguments:\n  path                  Use the given path as working directory\n\nOptions:\n  -f, --force           Override directory if it already exists\n      --demo            Add demo content (pages, templates and assets)\n  -h, --help            Display help for the given command. When no command is given display help for the list command\n      --silent          Do not output any message\n  -q, --quiet           Only errors are displayed. All other output is suppressed\n  -V, --version         Display this application version\n      --ansi|--no-ansi  Force (or disable --no-ansi) ANSI output\n  -n, --no-interaction  Do not ask any interactive question\n  -v|vv|vvv, --verbose  Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug\n\nHelp:\n  The new:site command creates a new website in the current directory, or in &lt;path&gt; if provided.\n  If you run this command without any options, it will ask you for the website title, baseline, base URL, description, author, language, etc.\n\n    cecil.phar new:site\n    cecil.phar new:site path\/to\/the\/working\/directory\n\n  To create a new website with demo content, run:\n\n    cecil.phar new:site --demo\n\n  To override an existing website, run:\n\n    cecil.phar new:site --force\nCreated files\nThe command creates the following files:\n\ncecil.yml: the configuration, with commented examples of common options\npages\/index.md: the home page\nassets\/favicon.png and assets\/icon.png: the favicon and the default image of social networks cards\nstatic\/favicon.ico: the legacy favicon\nREADME.md and .gitignore (_site\/, .cache\/ and .cecil\/), if they don't already exist\n.github\/workflows\/build-and-deploy.yml: a GitHub Actions workflow to deploy on GitHub Pages, if requested\n\nWith the --demo option, it also adds demo content: a blog (with tags, pagination, a draft and a French translation), a documentation section (sorted by weight, with a table of contents enabled by cascade), custom templates, a Sass stylesheet, a data file and translations.",
      "content_html": "<h1>new:site</h1>\n<p>Creates a new site.</p>\n<h2 id=\"usage\">Usage<a class=\"heading-anchor\" href=\"#usage\" aria-hidden=\"true\" tabindex=\"-1\"></a></h2>\n<pre data-lang=\"plaintext\"><code class=\"language-plaintext hljs plaintext\" translate=\"no\">Description:\n  Creates a new website\n\nUsage:\n  new:site [options] [--] [&lt;path&gt;]\n\nArguments:\n  path                  Use the given path as working directory\n\nOptions:\n  -f, --force           Override directory if it already exists\n      --demo            Add demo content (pages, templates and assets)\n  -h, --help            Display help for the given command. When no command is given display help for the list command\n      --silent          Do not output any message\n  -q, --quiet           Only errors are displayed. All other output is suppressed\n  -V, --version         Display this application version\n      --ansi|--no-ansi  Force (or disable --no-ansi) ANSI output\n  -n, --no-interaction  Do not ask any interactive question\n  -v|vv|vvv, --verbose  Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug\n\nHelp:\n  The new:site command creates a new website in the current directory, or in &lt;path&gt; if provided.\n  If you run this command without any options, it will ask you for the website title, baseline, base URL, description, author, language, etc.\n\n    cecil.phar new:site\n    cecil.phar new:site path/to/the/working/directory\n\n  To create a new website with demo content, run:\n\n    cecil.phar new:site --demo\n\n  To override an existing website, run:\n\n    cecil.phar new:site --force</code></pre>\n<h2 id=\"created-files\">Created files<a class=\"heading-anchor\" href=\"#created-files\" aria-hidden=\"true\" tabindex=\"-1\"></a></h2>\n<p>The command creates the following files:</p>\n<ul>\n<li><code translate=\"no\">cecil.yml</code>: the configuration, with commented examples of common options</li>\n<li><code translate=\"no\">pages/index.md</code>: the home page</li>\n<li><code translate=\"no\">assets/favicon.png</code> and <code translate=\"no\">assets/icon.png</code>: the favicon and the default image of social networks cards</li>\n<li><code translate=\"no\">static/favicon.ico</code>: the legacy favicon</li>\n<li><code translate=\"no\">README.md</code> and <code translate=\"no\">.gitignore</code> (<code translate=\"no\">_site/</code>, <code translate=\"no\">.cache/</code> and <code translate=\"no\">.cecil/</code>), if they don't already exist</li>\n<li><code translate=\"no\">.github/workflows/build-and-deploy.yml</code>: a GitHub Actions workflow to <a href=\"https://cecil.app/how-to/deploy-github-pages/\" target=\"_blank\" rel=\"noopener noreferrer\">deploy on GitHub Pages</a>, if requested</li>\n</ul>\n<p>With the <code translate=\"no\">--demo</code> option, it also adds demo content: a blog (with tags, pagination, a draft and a French translation), a documentation section (sorted by weight, with a table of contents enabled by <code translate=\"no\">cascade</code>), custom templates, a Sass stylesheet, a data file and translations.</p>",
      "language": "en"
    },
    {
      "id": "https://cloudflare.cecil.app/documentation/commands/new-page/",
      "url": "https://cloudflare.cecil.app/documentation/commands/new-page/",
      "title": "new:page",
      "summary": "Create a new page, optionally from a model.",
      "date_published": "2020-12-19T00:00:00+00:00",
      "date_modified": "2026-12-01T00:00:00+00:00","content_text": "new:page\nCreates a new page.\nUsage\nDescription:\n  Creates a new page\n\nUsage:\n  new:page [options] [--] [&lt;path&gt;]\n\nArguments:\n  path                        Use the given path as working directory\n\nOptions:\n      --name=NAME             Page path name\n      --slugify|--no-slugify  Slugify file name (or disable --no-slugify)\n  -p, --prefix                Prefix the file name with the current date (`YYYY-MM-DD`)\n  -f, --force                 Override the file if already exist\n  -o, --open                  Open editor automatically\n      --editor=EDITOR         Editor to use with open option\n  -h, --help                  Display help for the given command. When no command is given display help for the list command\n      --silent                Do not output any message\n  -q, --quiet                 Only errors are displayed. All other output is suppressed\n  -V, --version               Display this application version\n      --ansi|--no-ansi        Force (or disable --no-ansi) ANSI output\n  -n, --no-interaction        Do not ask any interactive question\n  -v|vv|vvv, --verbose        Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug\n\nHelp:\n  The new:page command creates a new page file.\n  If you run this command without any options, it will ask you for the page name and other options.\n\n    cecil.phar new:page\n    cecil.phar new:page --name=path\/to\/a-page.md\n    cecil.phar new:page --name=path\/to\/A Page.md --slugify\n\n  To create a new page with a date prefix (i.e: `YYYY-MM-DD`), run:\n\n    cecil.phar new:page --prefix\n\n  To create a new page and open it with an editor, run:\n\n    cecil.phar new:page --open --editor=editor\n\n  To override an existing page, run:\n\n    cecil.phar new:page --force\nPage models\nYou can define your own models for your new pages in the models directory:\n\nA section model must be named after the section (e.g. blog.md for pages created in blog\/)\nThe model for root pages must be named default.md\n\nA page created in a section without a model uses the built-in model.\nA model is a Twig template, rendered when the page is created. The following variables are available:\n\n\n\nVariable\nDescription\n\n\n\n\n{{ title }}\nThe title, derived from the file name (without extension, dashes replaced by spaces, first letter capitalized)\n\n\n{{ date }}\nThe current date (YYYY-MM-DD)\n\n\n{{ name }}\nThe file name, without extension\n\n\n{{ section }}\nThe section (first directory of the page path), empty for root pages\n\n\n{{ path }}\nThe page file path, relative to the pages directory\n\n\n{{ site }}\nThe site configuration (e.g. {{ site.author.name }})\n\n\n\nAll Twig built-in filters and functions can be used (e.g. {{ date|date('d\/m\/Y') }}), as well as two additional filters:\n\nyaml_encode: encodes a value for the front matter, quoting it when needed (e.g. a title containing : or #)\nslugify: converts a string to a slug\n\nExample of a models\/blog.md model:\n---\ntitle: {{ title|yaml_encode }}\ndate: {{ date }}\nauthor: {{ site.author.name|default('Anonymous') }}\ntags: [{{ section }}]\n---\n_Your content here_\nAn undefined variable causes an error. To keep Twig syntax as is in the created page, wrap it in a {% verbatim %} block.\nThe %title% and %date% placeholders of previous versions are still supported but deprecated: replace them with {{ title }} and {{ date }}.\nOpen with your editor\nWith the --open option, the page is opened automatically with the editor defined by the editor key of your configuration file (e.g. editor: typora), or with the one given by the --editor option.",
      "content_html": "<h1>new:page</h1>\n<p>Creates a new page.</p>\n<h2 id=\"usage\">Usage<a class=\"heading-anchor\" href=\"#usage\" aria-hidden=\"true\" tabindex=\"-1\"></a></h2>\n<pre data-lang=\"plaintext\"><code class=\"language-plaintext hljs plaintext\" translate=\"no\">Description:\n  Creates a new page\n\nUsage:\n  new:page [options] [--] [&lt;path&gt;]\n\nArguments:\n  path                        Use the given path as working directory\n\nOptions:\n      --name=NAME             Page path name\n      --slugify|--no-slugify  Slugify file name (or disable --no-slugify)\n  -p, --prefix                Prefix the file name with the current date (`YYYY-MM-DD`)\n  -f, --force                 Override the file if already exist\n  -o, --open                  Open editor automatically\n      --editor=EDITOR         Editor to use with open option\n  -h, --help                  Display help for the given command. When no command is given display help for the list command\n      --silent                Do not output any message\n  -q, --quiet                 Only errors are displayed. All other output is suppressed\n  -V, --version               Display this application version\n      --ansi|--no-ansi        Force (or disable --no-ansi) ANSI output\n  -n, --no-interaction        Do not ask any interactive question\n  -v|vv|vvv, --verbose        Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug\n\nHelp:\n  The new:page command creates a new page file.\n  If you run this command without any options, it will ask you for the page name and other options.\n\n    cecil.phar new:page\n    cecil.phar new:page --name=path/to/a-page.md\n    cecil.phar new:page --name=path/to/A Page.md --slugify\n\n  To create a new page with a date prefix (i.e: `YYYY-MM-DD`), run:\n\n    cecil.phar new:page --prefix\n\n  To create a new page and open it with an editor, run:\n\n    cecil.phar new:page --open --editor=editor\n\n  To override an existing page, run:\n\n    cecil.phar new:page --force</code></pre>\n<h2 id=\"page-models\">Page models<a class=\"heading-anchor\" href=\"#page-models\" aria-hidden=\"true\" tabindex=\"-1\"></a></h2>\n<p>You can define your own models for your new pages in the <code translate=\"no\">models</code> directory:</p>\n<ol>\n<li>A section model must be named after the section (e.g. <code translate=\"no\">blog.md</code> for pages created in <code translate=\"no\">blog/</code>)</li>\n<li>The model for root pages must be named <code translate=\"no\">default.md</code></li>\n</ol>\n<p>A page created in a section without a model uses the built-in model.</p>\n<p>A model is a <a href=\"https://twig.symfony.com\" target=\"_blank\" rel=\"noopener noreferrer\">Twig</a> template, rendered when the page is created. The following variables are available:</p>\n<table>\n<thead>\n<tr>\n<th>Variable</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code translate=\"no\">{{ title }}</code></td>\n<td>The title, derived from the file name (without extension, dashes replaced by spaces, first letter capitalized)</td>\n</tr>\n<tr>\n<td><code translate=\"no\">{{ date }}</code></td>\n<td>The current date (<code translate=\"no\">YYYY-MM-DD</code>)</td>\n</tr>\n<tr>\n<td><code translate=\"no\">{{ name }}</code></td>\n<td>The file name, without extension</td>\n</tr>\n<tr>\n<td><code translate=\"no\">{{ section }}</code></td>\n<td>The section (first directory of the page path), empty for root pages</td>\n</tr>\n<tr>\n<td><code translate=\"no\">{{ path }}</code></td>\n<td>The page file path, relative to the pages directory</td>\n</tr>\n<tr>\n<td><code translate=\"no\">{{ site }}</code></td>\n<td>The site configuration (e.g. <code translate=\"no\">{{ site.author.name }}</code>)</td>\n</tr>\n</tbody>\n</table>\n<p>All Twig built-in filters and functions can be used (e.g. <code translate=\"no\">{{ date|date('d/m/Y') }}</code>), as well as two additional filters:</p>\n<ul>\n<li><code translate=\"no\">yaml_encode</code>: encodes a value for the front matter, quoting it when needed (e.g. a title containing <code translate=\"no\">:</code> or <code translate=\"no\">#</code>)</li>\n<li><code translate=\"no\">slugify</code>: converts a string to a slug</li>\n</ul>\n<p>Example of a <code translate=\"no\">models/blog.md</code> model:</p>\n<pre data-lang=\"twig\"><code class=\"language-twig hljs twig\" translate=\"no\"><span class=\"xml\">---\ntitle: </span><span class=\"hljs-template-variable\">{{ title|yaml_encode }}</span><span class=\"xml\">\ndate: </span><span class=\"hljs-template-variable\">{{ <span class=\"hljs-name\">date</span> }}</span><span class=\"xml\">\nauthor: </span><span class=\"hljs-template-variable\">{{ site.author.name|<span class=\"hljs-keyword\">default</span>('Anonymous') }}</span><span class=\"xml\">\ntags: [</span><span class=\"hljs-template-variable\">{{ section }}</span><span class=\"xml\">]\n---\n_Your content here_</span></code></pre>\n<p>An undefined variable causes an error. To keep Twig syntax as is in the created page, wrap it in a <code translate=\"no\">{% verbatim %}</code> block.</p>\n<aside class=\"note note-info\"><p>The <code translate=\"no\">%title%</code> and <code translate=\"no\">%date%</code> placeholders of previous versions are still supported but deprecated: replace them with <code translate=\"no\">{{ title }}</code> and <code translate=\"no\">{{ date }}</code>.</p></aside>\n<h2 id=\"open-with-your-editor\">Open with your editor<a class=\"heading-anchor\" href=\"#open-with-your-editor\" aria-hidden=\"true\" tabindex=\"-1\"></a></h2>\n<p>With the <code translate=\"no\">--open</code> option, the page is opened automatically with the editor defined by the <code translate=\"no\">editor</code> key of your configuration file (e.g. <code translate=\"no\">editor: typora</code>), or with the one given by the <code translate=\"no\">--editor</code> option.</p>",
      "language": "en"
    },
    {
      "id": "https://cloudflare.cecil.app/documentation/commands/serve/",
      "url": "https://cloudflare.cecil.app/documentation/commands/serve/",
      "title": "serve",
      "summary": "Preview the website with the built-in server.",
      "date_published": "2020-12-19T00:00:00+00:00",
      "date_modified": "2026-10-16T00:00:00+00:00","content_text": "serve\nBuilds and serves the site locally.\nThe web server is designed to aid website testing. It is not intended to be a full-featured web server and it should not be used on a public network.\nUsage\nDescription:\n  Starts the built-in server\n\nUsage:\n  serve [options] [--] [&lt;path&gt;]\n\nArguments:\n  path                             Use the given path as working directory\n\nOptions:\n  -o, --open                       Open web browser automatically\n      --host=HOST                  Server host [default: \"localhost\"]\n      --port=PORT                  Server port [default: \"8000\"]\n  -w, --watch|--no-watch           Enable (or disable --no-watch) changes watcher (enabled by default)\n  -i, --incremental                Enable incremental builds (rebuild only changed pages)\n  -d, --drafts                     Include drafts\n      --optimize|--no-optimize     Enable (or disable --no-optimize) optimization of generated files\n  -c, --config=CONFIG              Set the path to extra config files (comma-separated)\n      --clear-cache[=CLEAR-CACHE]  Clear cache before build (optional cache key as regular expression) [default: false]\n  -p, --page=PAGE                  Build a specific page\n      --no-ignore-vcs              Changes watcher must not ignore VCS directories\n  -m, --metrics                    Show build metrics (duration and memory) of each step\n      --timeout=TIMEOUT            Sets the process timeout (max. runtime) in seconds [default: 7200]\n      --notify                     Send desktop notification on server start\n  -b, --background                 Run the server in the background\n  -h, --help                       Display help for the given command. When no command is given display help for the list command\n      --silent                     Do not output any message\n  -q, --quiet                      Only errors are displayed. All other output is suppressed\n  -V, --version                    Display this application version\n      --ansi|--no-ansi             Force (or disable --no-ansi) ANSI output\n  -n, --no-interaction             Do not ask any interactive question\n  -v|vv|vvv, --verbose             Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug\n\nHelp:\n  The serve command starts the live-reloading-built-in web server.\n\n    cecil.phar serve\n    cecil.phar serve path\/to\/the\/working\/directory\n    cecil.phar serve --open\n    cecil.phar serve --drafts\n    cecil.phar serve --no-watch\n\n  To speed up local development you can enable incremental builds with the --incremental option.\n  When content pages change, Cecil rebuilds just those pages.\n  When templates change, Cecil rebuilds only pages using those templates (including Twig dependencies such as extends\/include).\n  Any other change (data, config, static or asset file, or file deletion) triggers a full rebuild:\n\n    cecil.phar serve --incremental\n\n  You can use a custom host and port by using the --host and --port options:\n\n    cecil.phar serve --host=127.0.0.1 --port=8080\n\n  To build the website with an extra configuration file, you can use the --config option.\n  This is useful during local development to override some settings without modifying the main configuration:\n\n    cecil.phar serve --config=config\/dev.yml\n\n  To start the server with changes watcher not ignoring VCS directories, run:\n\n    cecil.phar serve --no-ignore-vcs\n\n  To define the process timeout (in seconds), run:\n\n    cecil.phar serve --timeout=7200\n\n  Send a desktop notification on server start, run:\n\n    cecil.phar serve --notify\n\n  To run the server in the background, run:\n\n    cecil.phar serve --background\n    cecil.phar serve -b\n\n  Then stop it with:\n\n    cecil.phar serve:stop\nIn background mode, file changes are not watched.\nserve:background\nAlias of serve --background: starts the built-in server in the background without occupying the terminal. It accepts the same options as serve.\nDescription:\n  Starts the built-in server in the background (alias of `serve --background`)\n\nUsage:\n  serve:background [options] [--] [&lt;path&gt;]\n\nArguments:\n  path                             Use the given path as working directory\n\nOptions:\n  -o, --open                       Open web browser automatically\n      --host=HOST                  Server host [default: \"localhost\"]\n      --port=PORT                  Server port [default: \"8000\"]\n  -w, --watch|--no-watch           Enable (or disable --no-watch) changes watcher (enabled by default)\n  -i, --incremental                Enable incremental builds (rebuild only changed pages)\n  -d, --drafts                     Include drafts\n      --optimize|--no-optimize     Enable (or disable --no-optimize) optimization of generated files\n  -c, --config=CONFIG              Set the path to extra config files (comma-separated)\n      --clear-cache[=CLEAR-CACHE]  Clear cache before build (optional cache key as regular expression) [default: false]\n  -p, --page=PAGE                  Build a specific page\n      --no-ignore-vcs              Changes watcher must not ignore VCS directories\n  -m, --metrics                    Show build metrics (duration and memory) of each step\n      --timeout=TIMEOUT            Sets the process timeout (max. runtime) in seconds [default: 7200]\n      --notify                     Send desktop notification on server start\n  -b, --background                 Run the server in the background\n  -h, --help                       Display help for the given command. When no command is given display help for the list command\n      --silent                     Do not output any message\n  -q, --quiet                      Only errors are displayed. All other output is suppressed\n  -V, --version                    Display this application version\n      --ansi|--no-ansi             Force (or disable --no-ansi) ANSI output\n  -n, --no-interaction             Do not ask any interactive question\n  -v|vv|vvv, --verbose             Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug\n\nHelp:\n  The serve:background command starts the built-in web server in the background.\n\n    cecil.phar serve:background\n    cecil.phar serve:background path\/to\/the\/working\/directory\n\n  This command is an alias of serve --background.\n\n  Stop the server with:\n\n    cecil.phar serve:stop\nserve:log\nDisplays the combined server and error logs, sorted by date.\nDescription:\n  Shows combined server and error logs\n\nUsage:\n  serve:log [options] [--] [&lt;path&gt;]\n\nArguments:\n  path                  Use the given path as working directory\n\nOptions:\n  -l, --lines=LINES     Number of entries to display [default: 25]\n  -h, --help            Display help for the given command. When no command is given display help for the list command\n      --silent          Do not output any message\n  -q, --quiet           Only errors are displayed. All other output is suppressed\n  -V, --version         Display this application version\n      --ansi|--no-ansi  Force (or disable --no-ansi) ANSI output\n  -n, --no-interaction  Do not ask any interactive question\n  -v|vv|vvv, --verbose  Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug\n\nHelp:\n  The serve:log command displays entries from combined server and error logs.\n\n    cecil.phar serve:log\n    cecil.phar serve:log path\/to\/the\/working\/directory\n    cecil.phar serve:log --lines=100\n    cecil.phar serve:log -l 100\nLogs are read from the .cecil\/errors.log and .cecil\/server.log files, which is useful to debug issues with the local development server.",
      "content_html": "<h1>serve</h1>\n<p>Builds and serves the site locally.</p>\n<aside class=\"note note-warning\"><p>The web server is designed to aid website testing. It is not intended to be a full-featured web server and it should not be used on a public network.</p></aside>\n<h2 id=\"usage\">Usage<a class=\"heading-anchor\" href=\"#usage\" aria-hidden=\"true\" tabindex=\"-1\"></a></h2>\n<pre data-lang=\"plaintext\"><code class=\"language-plaintext hljs plaintext\" translate=\"no\">Description:\n  Starts the built-in server\n\nUsage:\n  serve [options] [--] [&lt;path&gt;]\n\nArguments:\n  path                             Use the given path as working directory\n\nOptions:\n  -o, --open                       Open web browser automatically\n      --host=HOST                  Server host [default: \"localhost\"]\n      --port=PORT                  Server port [default: \"8000\"]\n  -w, --watch|--no-watch           Enable (or disable --no-watch) changes watcher (enabled by default)\n  -i, --incremental                Enable incremental builds (rebuild only changed pages)\n  -d, --drafts                     Include drafts\n      --optimize|--no-optimize     Enable (or disable --no-optimize) optimization of generated files\n  -c, --config=CONFIG              Set the path to extra config files (comma-separated)\n      --clear-cache[=CLEAR-CACHE]  Clear cache before build (optional cache key as regular expression) [default: false]\n  -p, --page=PAGE                  Build a specific page\n      --no-ignore-vcs              Changes watcher must not ignore VCS directories\n  -m, --metrics                    Show build metrics (duration and memory) of each step\n      --timeout=TIMEOUT            Sets the process timeout (max. runtime) in seconds [default: 7200]\n      --notify                     Send desktop notification on server start\n  -b, --background                 Run the server in the background\n  -h, --help                       Display help for the given command. When no command is given display help for the list command\n      --silent                     Do not output any message\n  -q, --quiet                      Only errors are displayed. All other output is suppressed\n  -V, --version                    Display this application version\n      --ansi|--no-ansi             Force (or disable --no-ansi) ANSI output\n  -n, --no-interaction             Do not ask any interactive question\n  -v|vv|vvv, --verbose             Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug\n\nHelp:\n  The serve command starts the live-reloading-built-in web server.\n\n    cecil.phar serve\n    cecil.phar serve path/to/the/working/directory\n    cecil.phar serve --open\n    cecil.phar serve --drafts\n    cecil.phar serve --no-watch\n\n  To speed up local development you can enable incremental builds with the --incremental option.\n  When content pages change, Cecil rebuilds just those pages.\n  When templates change, Cecil rebuilds only pages using those templates (including Twig dependencies such as extends/include).\n  Any other change (data, config, static or asset file, or file deletion) triggers a full rebuild:\n\n    cecil.phar serve --incremental\n\n  You can use a custom host and port by using the --host and --port options:\n\n    cecil.phar serve --host=127.0.0.1 --port=8080\n\n  To build the website with an extra configuration file, you can use the --config option.\n  This is useful during local development to override some settings without modifying the main configuration:\n\n    cecil.phar serve --config=config/dev.yml\n\n  To start the server with changes watcher not ignoring VCS directories, run:\n\n    cecil.phar serve --no-ignore-vcs\n\n  To define the process timeout (in seconds), run:\n\n    cecil.phar serve --timeout=7200\n\n  Send a desktop notification on server start, run:\n\n    cecil.phar serve --notify\n\n  To run the server in the background, run:\n\n    cecil.phar serve --background\n    cecil.phar serve -b\n\n  Then stop it with:\n\n    cecil.phar serve:stop</code></pre>\n<p>In background mode, file changes are not watched.</p>\n<h2 id=\"serve-background\">serve:background<a class=\"heading-anchor\" href=\"#serve-background\" aria-hidden=\"true\" tabindex=\"-1\"></a></h2>\n<p>Alias of <code translate=\"no\">serve --background</code>: starts the built-in server in the background without occupying the terminal. It accepts the same options as <code translate=\"no\">serve</code>.</p>\n<pre data-lang=\"plaintext\"><code class=\"language-plaintext hljs plaintext\" translate=\"no\">Description:\n  Starts the built-in server in the background (alias of `serve --background`)\n\nUsage:\n  serve:background [options] [--] [&lt;path&gt;]\n\nArguments:\n  path                             Use the given path as working directory\n\nOptions:\n  -o, --open                       Open web browser automatically\n      --host=HOST                  Server host [default: \"localhost\"]\n      --port=PORT                  Server port [default: \"8000\"]\n  -w, --watch|--no-watch           Enable (or disable --no-watch) changes watcher (enabled by default)\n  -i, --incremental                Enable incremental builds (rebuild only changed pages)\n  -d, --drafts                     Include drafts\n      --optimize|--no-optimize     Enable (or disable --no-optimize) optimization of generated files\n  -c, --config=CONFIG              Set the path to extra config files (comma-separated)\n      --clear-cache[=CLEAR-CACHE]  Clear cache before build (optional cache key as regular expression) [default: false]\n  -p, --page=PAGE                  Build a specific page\n      --no-ignore-vcs              Changes watcher must not ignore VCS directories\n  -m, --metrics                    Show build metrics (duration and memory) of each step\n      --timeout=TIMEOUT            Sets the process timeout (max. runtime) in seconds [default: 7200]\n      --notify                     Send desktop notification on server start\n  -b, --background                 Run the server in the background\n  -h, --help                       Display help for the given command. When no command is given display help for the list command\n      --silent                     Do not output any message\n  -q, --quiet                      Only errors are displayed. All other output is suppressed\n  -V, --version                    Display this application version\n      --ansi|--no-ansi             Force (or disable --no-ansi) ANSI output\n  -n, --no-interaction             Do not ask any interactive question\n  -v|vv|vvv, --verbose             Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug\n\nHelp:\n  The serve:background command starts the built-in web server in the background.\n\n    cecil.phar serve:background\n    cecil.phar serve:background path/to/the/working/directory\n\n  This command is an alias of serve --background.\n\n  Stop the server with:\n\n    cecil.phar serve:stop</code></pre>\n<h2 id=\"serve-log\">serve:log<a class=\"heading-anchor\" href=\"#serve-log\" aria-hidden=\"true\" tabindex=\"-1\"></a></h2>\n<p>Displays the combined server and error logs, sorted by date.</p>\n<pre data-lang=\"plaintext\"><code class=\"language-plaintext hljs plaintext\" translate=\"no\">Description:\n  Shows combined server and error logs\n\nUsage:\n  serve:log [options] [--] [&lt;path&gt;]\n\nArguments:\n  path                  Use the given path as working directory\n\nOptions:\n  -l, --lines=LINES     Number of entries to display [default: 25]\n  -h, --help            Display help for the given command. When no command is given display help for the list command\n      --silent          Do not output any message\n  -q, --quiet           Only errors are displayed. All other output is suppressed\n  -V, --version         Display this application version\n      --ansi|--no-ansi  Force (or disable --no-ansi) ANSI output\n  -n, --no-interaction  Do not ask any interactive question\n  -v|vv|vvv, --verbose  Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug\n\nHelp:\n  The serve:log command displays entries from combined server and error logs.\n\n    cecil.phar serve:log\n    cecil.phar serve:log path/to/the/working/directory\n    cecil.phar serve:log --lines=100\n    cecil.phar serve:log -l 100</code></pre>\n<p>Logs are read from the <code translate=\"no\">.cecil/errors.log</code> and <code translate=\"no\">.cecil/server.log</code> files, which is useful to debug issues with the local development server.</p>",
      "language": "en"
    },
    {
      "id": "https://cloudflare.cecil.app/documentation/commands/build/",
      "url": "https://cloudflare.cecil.app/documentation/commands/build/",
      "title": "build",
      "summary": "Build the website.",
      "date_published": "2020-12-19T00:00:00+00:00",
      "date_modified": "2026-11-01T00:00:00+00:00","content_text": "build\nBuilds the site.\nUsage\nDescription:\n  Builds the website\n\nUsage:\n  build [options] [--] [&lt;path&gt;]\n\nArguments:\n  path                               Use the given path as working directory\n\nOptions:\n  -d, --drafts                       Include drafts\n  -u, --baseurl=BASEURL              Set the base URL\n  -o, --output=OUTPUT                Set the output directory\n      --optimize|--no-optimize       Enable (or disable --no-optimize) optimization of generated files\n      --dry-run                      Build without saving\n  -c, --config=CONFIG                Set the path to extra config files (comma-separated)\n      --clear-cache[=CLEAR-CACHE]    Clear cache before build (optional cache key as regular expression) [default: false]\n  -p, --page=PAGE                    Build a specific page\n      --render-subset=RENDER-SUBSET  Render a subset of pages\n      --show-pages                   Show list of built pages in a table\n  -m, --metrics                      Show build metrics (duration and memory) of each step\n      --notify                       Send desktop notification on build completion\n  -h, --help                         Display help for the given command. When no command is given display help for the list command\n      --silent                       Do not output any message\n  -q, --quiet                        Only errors are displayed. All other output is suppressed\n  -V, --version                      Display this application version\n      --ansi|--no-ansi               Force (or disable --no-ansi) ANSI output\n  -n, --no-interaction               Do not ask any interactive question\n  -v|vv|vvv, --verbose               Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug\n\nHelp:\n  The build command generates the website in the output directory.\n\n    cecil.phar build\n    cecil.phar build path\/to\/the\/working\/directory\n    cecil.phar build --baseurl=https:\/\/example.com\/\n    cecil.phar build --output=_site\n\n  To build the website with optimization of generated files, you can use the --optimize option.\n  This is useful to reduce the size of the generated files and improve performance:\n\n    cecil.phar build --optimize\n    cecil.phar build --no-optimize\n\n  To build the website without overwriting files in the output directory, you can use the --dry-run option.\n  This is useful to check what would be built without actually writing files:\n\n    cecil.phar build --dry-run\n\n  To build the website with a specific subset of rendered pages, you can use the --render-subset option.\n  This is useful to build only a part of the website, for example, only \"hot\" pages or a specific section:\n\n    cecil.phar build --render-subset=subset\n\n  To show build steps metrics, run:\n\n    cecil.phar build --metrics\n\n  Send a desktop notification on build completion, run:\n\n    cecil.phar build --notify\nDeploy\nBy default, the site is built in the _site directory, and can be deployed as is to any web server or static hosting service.\nTo build and deploy the site automatically on each push to a Git repository, Cecil provides:\n\n\na build script, to use as build command on a Jamstack platform or a CI service:\ncurl -sSOL https:\/\/cecil.app\/build.sh &amp;&amp; bash .\/build.sh\nIt downloads Cecil (or its standalone binary if PHP is not available), installs themes and builds the site, deducing the build context (production or preview) and the base URL from the platform.\nSet the CECIL_ENV environment variable to force the build context, CECIL_VERSION to use a specific Cecil release and CECIL_CMD_OPTIONS to add options to the build command (e.g.: --optimize); other variables prefixed with CECIL_ override the configuration (e.g.: CECIL_OUTPUT_DIR).\n\n\na GitHub Action, Cecil Action, to build the site in a GitHub Actions workflow: the new:site command can create a workflow that deploys to GitHub Pages.\n\n\nSee Deploy for ready-to-use configurations (Netlify, Vercel, Cloudflare Pages, GitHub Pages, GitLab CI, etc.).",
      "content_html": "<h1>build</h1>\n<p>Builds the site.</p>\n<h2 id=\"usage\">Usage<a class=\"heading-anchor\" href=\"#usage\" aria-hidden=\"true\" tabindex=\"-1\"></a></h2>\n<pre data-lang=\"plaintext\"><code class=\"language-plaintext hljs plaintext\" translate=\"no\">Description:\n  Builds the website\n\nUsage:\n  build [options] [--] [&lt;path&gt;]\n\nArguments:\n  path                               Use the given path as working directory\n\nOptions:\n  -d, --drafts                       Include drafts\n  -u, --baseurl=BASEURL              Set the base URL\n  -o, --output=OUTPUT                Set the output directory\n      --optimize|--no-optimize       Enable (or disable --no-optimize) optimization of generated files\n      --dry-run                      Build without saving\n  -c, --config=CONFIG                Set the path to extra config files (comma-separated)\n      --clear-cache[=CLEAR-CACHE]    Clear cache before build (optional cache key as regular expression) [default: false]\n  -p, --page=PAGE                    Build a specific page\n      --render-subset=RENDER-SUBSET  Render a subset of pages\n      --show-pages                   Show list of built pages in a table\n  -m, --metrics                      Show build metrics (duration and memory) of each step\n      --notify                       Send desktop notification on build completion\n  -h, --help                         Display help for the given command. When no command is given display help for the list command\n      --silent                       Do not output any message\n  -q, --quiet                        Only errors are displayed. All other output is suppressed\n  -V, --version                      Display this application version\n      --ansi|--no-ansi               Force (or disable --no-ansi) ANSI output\n  -n, --no-interaction               Do not ask any interactive question\n  -v|vv|vvv, --verbose               Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug\n\nHelp:\n  The build command generates the website in the output directory.\n\n    cecil.phar build\n    cecil.phar build path/to/the/working/directory\n    cecil.phar build --baseurl=https://example.com/\n    cecil.phar build --output=_site\n\n  To build the website with optimization of generated files, you can use the --optimize option.\n  This is useful to reduce the size of the generated files and improve performance:\n\n    cecil.phar build --optimize\n    cecil.phar build --no-optimize\n\n  To build the website without overwriting files in the output directory, you can use the --dry-run option.\n  This is useful to check what would be built without actually writing files:\n\n    cecil.phar build --dry-run\n\n  To build the website with a specific subset of rendered pages, you can use the --render-subset option.\n  This is useful to build only a part of the website, for example, only \"hot\" pages or a specific section:\n\n    cecil.phar build --render-subset=subset\n\n  To show build steps metrics, run:\n\n    cecil.phar build --metrics\n\n  Send a desktop notification on build completion, run:\n\n    cecil.phar build --notify</code></pre>\n<h2 id=\"deploy\">Deploy<a class=\"heading-anchor\" href=\"#deploy\" aria-hidden=\"true\" tabindex=\"-1\"></a></h2>\n<p>By default, the site is built in the <strong><code translate=\"no\">_site</code></strong> directory, and <strong>can be deployed as is</strong> to any web server or static hosting service.</p>\n<p>To build and deploy the site automatically on each push to a Git repository, Cecil provides:</p>\n<ul>\n<li>\n<p>a <strong>build script</strong>, to use as build command on a Jamstack platform or a CI service:</p>\n<pre data-lang=\"bash\"><code class=\"language-bash hljs bash\" translate=\"no\">curl -sSOL https://cecil.app/build.sh &amp;&amp; bash ./build.sh</code></pre>\n<p>It downloads Cecil (or its <a href=\"../getting-started/2-installation.md#standalone-binary\">standalone binary</a> if PHP is not available), installs themes and builds the site, deducing the build context (<code translate=\"no\">production</code> or <code translate=\"no\">preview</code>) and the base URL from the platform.<br>\nSet the <code translate=\"no\">CECIL_ENV</code> environment variable to force the build context, <code translate=\"no\">CECIL_VERSION</code> to use a specific Cecil release and <code translate=\"no\">CECIL_CMD_OPTIONS</code> to add options to the <code translate=\"no\">build</code> command (e.g.: <code translate=\"no\">--optimize</code>); other variables prefixed with <code translate=\"no\">CECIL_</code> override the <a href=\"../configuration/index.md\">configuration</a> (e.g.: <code translate=\"no\">CECIL_OUTPUT_DIR</code>).</p>\n</li>\n<li>\n<p>a <strong>GitHub Action</strong>, <a href=\"https://github.com/Cecilapp/Cecil-Action\" target=\"_blank\" rel=\"noopener noreferrer\">Cecil Action</a>, to build the site in a GitHub Actions workflow: the <a href=\"1-new-site.md\"><code translate=\"no\">new:site</code></a> command can create a workflow that deploys to GitHub Pages.</p>\n</li>\n</ul>\n<aside class=\"note note-tip\"><p>See <a href=\"https://cecil.app/documentation/deploy/\" target=\"_blank\" rel=\"noopener noreferrer\">Deploy</a> for ready-to-use configurations (Netlify, Vercel, Cloudflare Pages, GitHub Pages, GitLab CI, etc.).</p></aside>",
      "language": "en"
    },
    {
      "id": "https://cloudflare.cecil.app/documentation/commands/doctor/",
      "url": "https://cloudflare.cecil.app/documentation/commands/doctor/",
      "title": "doctor",
      "summary": "Diagnose the configuration, front matter, SEO and links.",
      "date_published": "2020-12-19T00:00:00+00:00",
      "date_modified": "2026-10-19T00:00:00+00:00","content_text": "doctor\nDiagnoses the current site and Cecil environment.\nUsage\nDescription:\n  Diagnoses the site configuration\n\nUsage:\n  doctor [options] [--] [&lt;path&gt;]\n\nArguments:\n  path                  Use the given path as working directory\n\nOptions:\n  -c, --config=CONFIG   Set the path to an extra configuration file\n  -h, --help            Display help for the given command. When no command is given display help for the list command\n      --silent          Do not output any message\n  -q, --quiet           Only errors are displayed. All other output is suppressed\n  -V, --version         Display this application version\n      --ansi|--no-ansi  Force (or disable --no-ansi) ANSI output\n  -n, --no-interaction  Do not ask any interactive question\n  -v|vv|vvv, --verbose  Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug\n\nHelp:\n  The doctor command diagnoses the current site and Cecil environment.\n\n    cecil.phar doctor\n    cecil.phar doctor path\/to\/the\/working\/directory\n\n  To inspect a site with an extra configuration file, run:\n\n    cecil.phar doctor --config=config.yml\ndoctor:cache\nShows the cache settings (enabled caches, directory) and usage (number of files and size of each cache pool).\nDescription:\n  Shows cache status\n\nUsage:\n  doctor:cache [&lt;path&gt;]\n\nArguments:\n  path                  Use the given path as working directory\n\nOptions:\n  -h, --help            Display help for the given command. When no command is given display help for the list command\n      --silent          Do not output any message\n  -q, --quiet           Only errors are displayed. All other output is suppressed\n  -V, --version         Display this application version\n      --ansi|--no-ansi  Force (or disable --no-ansi) ANSI output\n  -n, --no-interaction  Do not ask any interactive question\n  -v|vv|vvv, --verbose  Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug\n\nHelp:\n  The doctor:cache command shows cache settings and usage details.\ndoctor:frontmatter\nValidates pages front matter syntax.\nDescription:\n  Validates pages front matter syntax\n\nUsage:\n  doctor:frontmatter [options] [--] [&lt;path&gt;]\n  doctor:fm\n\nArguments:\n  path                  Use the given path as working directory\n\nOptions:\n  -c, --config=CONFIG   Set the path to an extra configuration file\n  -p, --page=PAGE       Validate a single page relative to the pages directory\n  -h, --help            Display help for the given command. When no command is given display help for the list command\n      --silent          Do not output any message\n  -q, --quiet           Only errors are displayed. All other output is suppressed\n  -V, --version         Display this application version\n      --ansi|--no-ansi  Force (or disable --no-ansi) ANSI output\n  -n, --no-interaction  Do not ask any interactive question\n  -v|vv|vvv, --verbose  Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug\n\nHelp:\n  The doctor:frontmatter command validates front matter syntax for pages.\n\n    cecil.phar doctor:frontmatter\n    cecil.phar doctor:frontmatter path\/to\/the\/working\/directory\n\n  To validate a single page, run:\n\n    cecil.phar doctor:frontmatter --page=blog\/post.md\n\n  To inspect a site with an extra configuration file, run:\n\n    cecil.phar doctor:frontmatter --config=config.yml\ndoctor:seo\nAudits rendered HTML pages for common SEO issues.\nDescription:\n  Audits rendered HTML pages for common SEO issues\n\nUsage:\n  doctor:seo [options] [--] [&lt;path&gt;]\n\nArguments:\n  path                     Use the given path as working directory\n\nOptions:\n  -c, --config=CONFIG      Set the path to an extra configuration file\n  -p, --page=PAGE          Audit a single page relative to the pages directory\n      --format=FORMAT      Output format: text (default) or json [default: \"text\"]\n      --include-generated  Include generated pages (sections, taxonomies, pagination, etc.) in audit\n      --feedback           Include findings with feedback level\n      --fail-on=FAIL-ON    Return a failure exit code when findings of this level or higher are found: bad (default), ok, feedback or never [default: \"bad\"]\n  -h, --help               Display help for the given command. When no command is given display help for the list command\n      --silent             Do not output any message\n  -q, --quiet              Only errors are displayed. All other output is suppressed\n  -V, --version            Display this application version\n      --ansi|--no-ansi     Force (or disable --no-ansi) ANSI output\n  -n, --no-interaction     Do not ask any interactive question\n  -v|vv|vvv, --verbose     Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug\n\nHelp:\n  The doctor:seo command builds the site in dry-run mode, then audits\n  the rendered HTML output for a focused set of SEO checks.\n\n    cecil.phar doctor:seo\n    cecil.phar doctor:seo path\/to\/the\/working\/directory\n\n  To audit a single page, run:\n\n    cecil.phar doctor:seo --page=blog\/post.md\n\n  To output results as JSON for CI integration:\n\n    cecil.phar doctor:seo --format=json\n\n  To include generated pages (sections, taxonomies, pagination, etc.):\n\n    cecil.phar doctor:seo --include-generated\n\n  To include findings with feedback level:\n\n    cecil.phar doctor:seo --feedback\n\n  By default, the command fails if findings with the bad level are found.\n  To change this behavior, use the --fail-on option:\n\n    cecil.phar doctor:seo --fail-on=ok\n    cecil.phar doctor:seo --fail-on=never\n\n  To inspect a site with an extra configuration file, run:\n\n    cecil.phar doctor:seo --config=config.yml\n\n  Configure audit thresholds and checks in your configuration:\n\n    doctor:\n      seo:\n        title: { min: 30, max: 60 }\n        description: { min: 120, max: 160 }\n        content: { min_words: 300 }\n        checks:\n          title: true\n          description: true\n          canonical: true\n          h1: true\n          og_tags: true\n          img_alt: true\n          content_length: true\n          lang_attribute: true\nThe command builds the site in dry-run mode, then audits the rendered HTML output for a focused set of checks: title tag, meta description, canonical URL, heading structure, Open Graph tags, image alt attributes, estimated content length and lang attribute of the &lt;html&gt; element.\nBy default, generated pages (pages without content file: sections, taxonomies, pagination, etc.) are excluded from the audit. Use --include-generated to include them.\nBy default, findings with level feedback are not listed.\nUse --feedback to include findings with level feedback in addition to other findings.\nOutput results as JSON for CI integration using --format=json.\nBy default, the command returns a failure exit code (1) when findings with level bad are found. Use --fail-on=ok to also fail on ok findings, --fail-on=feedback to fail on any finding, or --fail-on=never to always succeed.\nConfiguration\nCustomize audit thresholds and enabled checks in your configuration file:\ndoctor:\n  seo:\n    title: { min: 30, max: 60 }\n    description: { min: 120, max: 160 }\n    content: { min_words: 300 }\n    checks:\n      title: true\n      description: true\n      canonical: true\n      h1: true\n      og_tags: true\n      img_alt: true\n      content_length: true\n      lang_attribute: true\ndoctor:links\nChecks internal and external links of the rendered pages.\nDescription:\n  Checks internal and external links of the rendered pages\n\nUsage:\n  doctor:links [options] [--] [&lt;path&gt;]\n\nArguments:\n  path                           Use the given path as working directory\n\nOptions:\n  -c, --config=CONFIG            Set the path to an extra configuration file\n  -p, --page=PAGE                Check links of a single page relative to the pages directory\n      --internal                 Check internal links\n      --external                 Check external links\n      --exclude=EXCLUDE          Exclude links matching this regular expression (multiple values allowed)\n      --timeout=TIMEOUT          External links request timeout, in seconds\n      --concurrency=CONCURRENCY  Number of concurrent external links requests\n      --no-cache                 Do not use cached external links results\n      --format=FORMAT            Output format: text (default) or json [default: \"text\"]\n      --include-generated        Include generated pages (sections, taxonomies, pagination, etc.) in audit\n      --feedback                 Include findings with feedback level\n      --fail-on=FAIL-ON          Return a failure exit code when findings of this level or higher are found: bad (default), ok, feedback or never [default: \"bad\"]\n  -h, --help                     Display help for the given command. When no command is given display help for the list command\n      --silent                   Do not output any message\n  -q, --quiet                    Only errors are displayed. All other output is suppressed\n  -V, --version                  Display this application version\n      --ansi|--no-ansi           Force (or disable --no-ansi) ANSI output\n  -n, --no-interaction           Do not ask any interactive question\n  -v|vv|vvv, --verbose           Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug\n\nHelp:\n  The doctor:links command builds the site in dry-run mode, then checks the links\n  found in the rendered HTML pages (links, images, scripts, stylesheets, media, inline\n  styles) and in the linked CSS files (url() and @import).\n\n    cecil.phar doctor:links\n    cecil.phar doctor:links path\/to\/the\/working\/directory\n\n  By default, only internal links are checked. To check external links too, run:\n\n    cecil.phar doctor:links --internal --external\n\n  To check external links only, run:\n\n    cecil.phar doctor:links --external\n\n  To check links of a single page, run:\n\n    cecil.phar doctor:links --page=blog\/post.md\n\n  To exclude links matching a regular expression, run:\n\n    cecil.phar doctor:links --external --exclude=\"linkedin\\.com\" --exclude=\"^https:\/\/localhost\"\n\n  To output results as JSON for CI integration:\n\n    cecil.phar doctor:links --format=json\n\n  By default, the command fails if findings with the bad level are found.\n  To change this behavior, use the --fail-on option:\n\n    cecil.phar doctor:links --fail-on=ok\n    cecil.phar doctor:links --fail-on=never\n\n  Configure default settings in your configuration:\n\n    doctor:\n      links:\n        internal: true\n        external: false\n        timeout: 10\n        concurrency: 10\n        cache_ttl: 86400\n        exclude: ['linkedin\\.com']\nThe command builds the site in dry-run mode, then checks the links found in the rendered HTML pages: links (&lt;a&gt;, &lt;area&gt;, &lt;link&gt;), images (src and srcset), scripts, iframes, media and inline styles. CSS files linked from the pages are also analyzed (url() and @import).\n\nInternal links must target a page of the site, a static file or an asset. Fragments (#anchor) must match an element ID of the target page. Absolute URLs starting with baseurl are considered internal links.\nExternal links are requested over HTTP (HEAD, then GET if the server refuses HEAD), concurrently. Successful results are cached (24 hours by default): use --no-cache to check them again.\n\nBy default, only internal links are checked:\nphp cecil.phar doctor:links                       # internal links (default)\nphp cecil.phar doctor:links --external            # external links only\nphp cecil.phar doctor:links --internal --external # both\nFinding levels:\n\n\n\nLevel\nMeaning\n\n\n\n\nbad\nBroken link: target not found, missing anchor, HTTP error (4xx, 5xx), unresolved host, etc.\n\n\nok\nWorking link that could be improved: redirection, missing trailing slash\n\n\nfeedback\nUnverifiable link: access denied (401, 403, 429, 999), probably due to bot protection, or timeout\n\n\n\nLinks using schemes other than HTTP(S) (e.g. mailto:, tel:, data:) are ignored. Use --exclude (regular expression, case-insensitive) to ignore other links.\nThe --page, --include-generated, --feedback, --format and --fail-on options behave as with doctor:seo (see above).\nChecking external links requires the PHP cURL extension.\nConfiguration\nCustomize default settings in your configuration file:\ndoctor:\n  links:\n    internal: true    # check internal links\n    external: false   # check external links\n    timeout: 10       # external links request timeout, in seconds\n    concurrency: 10   # number of concurrent external links requests\n    cache_ttl: 86400  # external links successful results cache TTL, in seconds\n    exclude: []       # links to ignore (list of regular expressions), e.g. ['linkedin\\.com', '^https:\/\/localhost']\n    useragent: ~      # User-Agent header of external links requests (`assets.remote.useragent.default` by default)",
      "content_html": "<h1>doctor</h1>\n<p>Diagnoses the current site and Cecil environment.</p>\n<h2 id=\"usage\">Usage<a class=\"heading-anchor\" href=\"#usage\" aria-hidden=\"true\" tabindex=\"-1\"></a></h2>\n<pre data-lang=\"plaintext\"><code class=\"language-plaintext hljs plaintext\" translate=\"no\">Description:\n  Diagnoses the site configuration\n\nUsage:\n  doctor [options] [--] [&lt;path&gt;]\n\nArguments:\n  path                  Use the given path as working directory\n\nOptions:\n  -c, --config=CONFIG   Set the path to an extra configuration file\n  -h, --help            Display help for the given command. When no command is given display help for the list command\n      --silent          Do not output any message\n  -q, --quiet           Only errors are displayed. All other output is suppressed\n  -V, --version         Display this application version\n      --ansi|--no-ansi  Force (or disable --no-ansi) ANSI output\n  -n, --no-interaction  Do not ask any interactive question\n  -v|vv|vvv, --verbose  Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug\n\nHelp:\n  The doctor command diagnoses the current site and Cecil environment.\n\n    cecil.phar doctor\n    cecil.phar doctor path/to/the/working/directory\n\n  To inspect a site with an extra configuration file, run:\n\n    cecil.phar doctor --config=config.yml</code></pre>\n<h2 id=\"doctor-cache\">doctor:cache<a class=\"heading-anchor\" href=\"#doctor-cache\" aria-hidden=\"true\" tabindex=\"-1\"></a></h2>\n<p>Shows the cache settings (enabled caches, directory) and usage (number of files and size of each cache pool).</p>\n<pre data-lang=\"plaintext\"><code class=\"language-plaintext hljs plaintext\" translate=\"no\">Description:\n  Shows cache status\n\nUsage:\n  doctor:cache [&lt;path&gt;]\n\nArguments:\n  path                  Use the given path as working directory\n\nOptions:\n  -h, --help            Display help for the given command. When no command is given display help for the list command\n      --silent          Do not output any message\n  -q, --quiet           Only errors are displayed. All other output is suppressed\n  -V, --version         Display this application version\n      --ansi|--no-ansi  Force (or disable --no-ansi) ANSI output\n  -n, --no-interaction  Do not ask any interactive question\n  -v|vv|vvv, --verbose  Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug\n\nHelp:\n  The doctor:cache command shows cache settings and usage details.</code></pre>\n<h2 id=\"doctor-frontmatter\">doctor:frontmatter<a class=\"heading-anchor\" href=\"#doctor-frontmatter\" aria-hidden=\"true\" tabindex=\"-1\"></a></h2>\n<p>Validates pages front matter syntax.</p>\n<pre data-lang=\"plaintext\"><code class=\"language-plaintext hljs plaintext\" translate=\"no\">Description:\n  Validates pages front matter syntax\n\nUsage:\n  doctor:frontmatter [options] [--] [&lt;path&gt;]\n  doctor:fm\n\nArguments:\n  path                  Use the given path as working directory\n\nOptions:\n  -c, --config=CONFIG   Set the path to an extra configuration file\n  -p, --page=PAGE       Validate a single page relative to the pages directory\n  -h, --help            Display help for the given command. When no command is given display help for the list command\n      --silent          Do not output any message\n  -q, --quiet           Only errors are displayed. All other output is suppressed\n  -V, --version         Display this application version\n      --ansi|--no-ansi  Force (or disable --no-ansi) ANSI output\n  -n, --no-interaction  Do not ask any interactive question\n  -v|vv|vvv, --verbose  Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug\n\nHelp:\n  The doctor:frontmatter command validates front matter syntax for pages.\n\n    cecil.phar doctor:frontmatter\n    cecil.phar doctor:frontmatter path/to/the/working/directory\n\n  To validate a single page, run:\n\n    cecil.phar doctor:frontmatter --page=blog/post.md\n\n  To inspect a site with an extra configuration file, run:\n\n    cecil.phar doctor:frontmatter --config=config.yml</code></pre>\n<h2 id=\"doctor-seo\">doctor:seo<a class=\"heading-anchor\" href=\"#doctor-seo\" aria-hidden=\"true\" tabindex=\"-1\"></a></h2>\n<p>Audits rendered HTML pages for common SEO issues.</p>\n<pre data-lang=\"plaintext\"><code class=\"language-plaintext hljs plaintext\" translate=\"no\">Description:\n  Audits rendered HTML pages for common SEO issues\n\nUsage:\n  doctor:seo [options] [--] [&lt;path&gt;]\n\nArguments:\n  path                     Use the given path as working directory\n\nOptions:\n  -c, --config=CONFIG      Set the path to an extra configuration file\n  -p, --page=PAGE          Audit a single page relative to the pages directory\n      --format=FORMAT      Output format: text (default) or json [default: \"text\"]\n      --include-generated  Include generated pages (sections, taxonomies, pagination, etc.) in audit\n      --feedback           Include findings with feedback level\n      --fail-on=FAIL-ON    Return a failure exit code when findings of this level or higher are found: bad (default), ok, feedback or never [default: \"bad\"]\n  -h, --help               Display help for the given command. When no command is given display help for the list command\n      --silent             Do not output any message\n  -q, --quiet              Only errors are displayed. All other output is suppressed\n  -V, --version            Display this application version\n      --ansi|--no-ansi     Force (or disable --no-ansi) ANSI output\n  -n, --no-interaction     Do not ask any interactive question\n  -v|vv|vvv, --verbose     Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug\n\nHelp:\n  The doctor:seo command builds the site in dry-run mode, then audits\n  the rendered HTML output for a focused set of SEO checks.\n\n    cecil.phar doctor:seo\n    cecil.phar doctor:seo path/to/the/working/directory\n\n  To audit a single page, run:\n\n    cecil.phar doctor:seo --page=blog/post.md\n\n  To output results as JSON for CI integration:\n\n    cecil.phar doctor:seo --format=json\n\n  To include generated pages (sections, taxonomies, pagination, etc.):\n\n    cecil.phar doctor:seo --include-generated\n\n  To include findings with feedback level:\n\n    cecil.phar doctor:seo --feedback\n\n  By default, the command fails if findings with the bad level are found.\n  To change this behavior, use the --fail-on option:\n\n    cecil.phar doctor:seo --fail-on=ok\n    cecil.phar doctor:seo --fail-on=never\n\n  To inspect a site with an extra configuration file, run:\n\n    cecil.phar doctor:seo --config=config.yml\n\n  Configure audit thresholds and checks in your configuration:\n\n    doctor:\n      seo:\n        title: { min: 30, max: 60 }\n        description: { min: 120, max: 160 }\n        content: { min_words: 300 }\n        checks:\n          title: true\n          description: true\n          canonical: true\n          h1: true\n          og_tags: true\n          img_alt: true\n          content_length: true\n          lang_attribute: true</code></pre>\n<p>The command builds the site in dry-run mode, then audits the rendered HTML output for a focused set of checks: title tag, meta description, canonical URL, heading structure, Open Graph tags, image alt attributes, estimated content length and <code translate=\"no\">lang</code> attribute of the <code translate=\"no\">&lt;html&gt;</code> element.</p>\n<p>By default, generated pages (pages without content file: sections, taxonomies, pagination, etc.) are excluded from the audit. Use <code translate=\"no\">--include-generated</code> to include them.</p>\n<p>By default, findings with level <code translate=\"no\">feedback</code> are not listed.</p>\n<p>Use <code translate=\"no\">--feedback</code> to include findings with level <code translate=\"no\">feedback</code> in addition to other findings.</p>\n<p>Output results as JSON for CI integration using <code translate=\"no\">--format=json</code>.</p>\n<p>By default, the command returns a failure exit code (<code translate=\"no\">1</code>) when findings with level <code translate=\"no\">bad</code> are found. Use <code translate=\"no\">--fail-on=ok</code> to also fail on <code translate=\"no\">ok</code> findings, <code translate=\"no\">--fail-on=feedback</code> to fail on any finding, or <code translate=\"no\">--fail-on=never</code> to always succeed.</p>\n<h3 id=\"configuration\">Configuration<a class=\"heading-anchor\" href=\"#configuration\" aria-hidden=\"true\" tabindex=\"-1\"></a></h3>\n<p>Customize audit thresholds and enabled checks in your configuration file:</p>\n<pre data-lang=\"yaml\"><code class=\"language-yaml hljs yaml\" translate=\"no\"><span class=\"hljs-attr\">doctor:</span>\n  <span class=\"hljs-attr\">seo:</span>\n    <span class=\"hljs-attr\">title:</span> <span class=\"hljs-string\">{</span> <span class=\"hljs-attr\">min:</span> <span class=\"hljs-number\">30</span><span class=\"hljs-string\">,</span> <span class=\"hljs-attr\">max:</span> <span class=\"hljs-number\">60</span> <span class=\"hljs-string\">}</span>\n    <span class=\"hljs-attr\">description:</span> <span class=\"hljs-string\">{</span> <span class=\"hljs-attr\">min:</span> <span class=\"hljs-number\">120</span><span class=\"hljs-string\">,</span> <span class=\"hljs-attr\">max:</span> <span class=\"hljs-number\">160</span> <span class=\"hljs-string\">}</span>\n    <span class=\"hljs-attr\">content:</span> <span class=\"hljs-string\">{</span> <span class=\"hljs-attr\">min_words:</span> <span class=\"hljs-number\">300</span> <span class=\"hljs-string\">}</span>\n    <span class=\"hljs-attr\">checks:</span>\n      <span class=\"hljs-attr\">title:</span> <span class=\"hljs-literal\">true</span>\n      <span class=\"hljs-attr\">description:</span> <span class=\"hljs-literal\">true</span>\n      <span class=\"hljs-attr\">canonical:</span> <span class=\"hljs-literal\">true</span>\n      <span class=\"hljs-attr\">h1:</span> <span class=\"hljs-literal\">true</span>\n      <span class=\"hljs-attr\">og_tags:</span> <span class=\"hljs-literal\">true</span>\n      <span class=\"hljs-attr\">img_alt:</span> <span class=\"hljs-literal\">true</span>\n      <span class=\"hljs-attr\">content_length:</span> <span class=\"hljs-literal\">true</span>\n      <span class=\"hljs-attr\">lang_attribute:</span> <span class=\"hljs-literal\">true</span></code></pre>\n<h2 id=\"doctor-links\">doctor:links<a class=\"heading-anchor\" href=\"#doctor-links\" aria-hidden=\"true\" tabindex=\"-1\"></a></h2>\n<p>Checks internal and external links of the rendered pages.</p>\n<pre data-lang=\"plaintext\"><code class=\"language-plaintext hljs plaintext\" translate=\"no\">Description:\n  Checks internal and external links of the rendered pages\n\nUsage:\n  doctor:links [options] [--] [&lt;path&gt;]\n\nArguments:\n  path                           Use the given path as working directory\n\nOptions:\n  -c, --config=CONFIG            Set the path to an extra configuration file\n  -p, --page=PAGE                Check links of a single page relative to the pages directory\n      --internal                 Check internal links\n      --external                 Check external links\n      --exclude=EXCLUDE          Exclude links matching this regular expression (multiple values allowed)\n      --timeout=TIMEOUT          External links request timeout, in seconds\n      --concurrency=CONCURRENCY  Number of concurrent external links requests\n      --no-cache                 Do not use cached external links results\n      --format=FORMAT            Output format: text (default) or json [default: \"text\"]\n      --include-generated        Include generated pages (sections, taxonomies, pagination, etc.) in audit\n      --feedback                 Include findings with feedback level\n      --fail-on=FAIL-ON          Return a failure exit code when findings of this level or higher are found: bad (default), ok, feedback or never [default: \"bad\"]\n  -h, --help                     Display help for the given command. When no command is given display help for the list command\n      --silent                   Do not output any message\n  -q, --quiet                    Only errors are displayed. All other output is suppressed\n  -V, --version                  Display this application version\n      --ansi|--no-ansi           Force (or disable --no-ansi) ANSI output\n  -n, --no-interaction           Do not ask any interactive question\n  -v|vv|vvv, --verbose           Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug\n\nHelp:\n  The doctor:links command builds the site in dry-run mode, then checks the links\n  found in the rendered HTML pages (links, images, scripts, stylesheets, media, inline\n  styles) and in the linked CSS files (url() and @import).\n\n    cecil.phar doctor:links\n    cecil.phar doctor:links path/to/the/working/directory\n\n  By default, only internal links are checked. To check external links too, run:\n\n    cecil.phar doctor:links --internal --external\n\n  To check external links only, run:\n\n    cecil.phar doctor:links --external\n\n  To check links of a single page, run:\n\n    cecil.phar doctor:links --page=blog/post.md\n\n  To exclude links matching a regular expression, run:\n\n    cecil.phar doctor:links --external --exclude=\"linkedin\\.com\" --exclude=\"^https://localhost\"\n\n  To output results as JSON for CI integration:\n\n    cecil.phar doctor:links --format=json\n\n  By default, the command fails if findings with the bad level are found.\n  To change this behavior, use the --fail-on option:\n\n    cecil.phar doctor:links --fail-on=ok\n    cecil.phar doctor:links --fail-on=never\n\n  Configure default settings in your configuration:\n\n    doctor:\n      links:\n        internal: true\n        external: false\n        timeout: 10\n        concurrency: 10\n        cache_ttl: 86400\n        exclude: ['linkedin\\.com']</code></pre>\n<p>The command builds the site in dry-run mode, then checks the links found in the rendered HTML pages: links (<code translate=\"no\">&lt;a&gt;</code>, <code translate=\"no\">&lt;area&gt;</code>, <code translate=\"no\">&lt;link&gt;</code>), images (<code translate=\"no\">src</code> and <code translate=\"no\">srcset</code>), scripts, iframes, media and inline styles. CSS files linked from the pages are also analyzed (<code translate=\"no\">url()</code> and <code translate=\"no\">@import</code>).</p>\n<ul>\n<li><strong>Internal links</strong> must target a page of the site, a static file or an asset. Fragments (<code translate=\"no\">#anchor</code>) must match an element ID of the target page. Absolute URLs starting with <code translate=\"no\">baseurl</code> are considered internal links.</li>\n<li><strong>External links</strong> are requested over HTTP (<code translate=\"no\">HEAD</code>, then <code translate=\"no\">GET</code> if the server refuses <code translate=\"no\">HEAD</code>), concurrently. Successful results are cached (24 hours by default): use <code translate=\"no\">--no-cache</code> to check them again.</li>\n</ul>\n<p>By default, only internal links are checked:</p>\n<pre data-lang=\"bash\"><code class=\"language-bash hljs bash\" translate=\"no\">php cecil.phar doctor:links                       <span class=\"hljs-comment\"># internal links (default)</span>\nphp cecil.phar doctor:links --external            <span class=\"hljs-comment\"># external links only</span>\nphp cecil.phar doctor:links --internal --external <span class=\"hljs-comment\"># both</span></code></pre>\n<p>Finding levels:</p>\n<table>\n<thead>\n<tr>\n<th>Level</th>\n<th>Meaning</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code translate=\"no\">bad</code></td>\n<td>Broken link: target not found, missing anchor, HTTP error (4xx, 5xx), unresolved host, etc.</td>\n</tr>\n<tr>\n<td><code translate=\"no\">ok</code></td>\n<td>Working link that could be improved: redirection, missing trailing slash</td>\n</tr>\n<tr>\n<td><code translate=\"no\">feedback</code></td>\n<td>Unverifiable link: access denied (401, 403, 429, 999), probably due to bot protection, or timeout</td>\n</tr>\n</tbody>\n</table>\n<p>Links using schemes other than HTTP(S) (e.g. <code translate=\"no\">mailto:</code>, <code translate=\"no\">tel:</code>, <code translate=\"no\">data:</code>) are ignored. Use <code translate=\"no\">--exclude</code> (regular expression, case-insensitive) to ignore other links.</p>\n<p>The <code translate=\"no\">--page</code>, <code translate=\"no\">--include-generated</code>, <code translate=\"no\">--feedback</code>, <code translate=\"no\">--format</code> and <code translate=\"no\">--fail-on</code> options behave as with <code translate=\"no\">doctor:seo</code> (see above).</p>\n<aside class=\"note note-info\"><p>Checking external links requires the PHP cURL extension.</p></aside>\n<h3 id=\"configuration-1\">Configuration<a class=\"heading-anchor\" href=\"#configuration-1\" aria-hidden=\"true\" tabindex=\"-1\"></a></h3>\n<p>Customize default settings in your configuration file:</p>\n<pre data-lang=\"yaml\"><code class=\"language-yaml hljs yaml\" translate=\"no\"><span class=\"hljs-attr\">doctor:</span>\n  <span class=\"hljs-attr\">links:</span>\n    <span class=\"hljs-attr\">internal:</span> <span class=\"hljs-literal\">true</span>    <span class=\"hljs-comment\"># check internal links</span>\n    <span class=\"hljs-attr\">external:</span> <span class=\"hljs-literal\">false</span>   <span class=\"hljs-comment\"># check external links</span>\n    <span class=\"hljs-attr\">timeout:</span> <span class=\"hljs-number\">10</span>       <span class=\"hljs-comment\"># external links request timeout, in seconds</span>\n    <span class=\"hljs-attr\">concurrency:</span> <span class=\"hljs-number\">10</span>   <span class=\"hljs-comment\"># number of concurrent external links requests</span>\n    <span class=\"hljs-attr\">cache_ttl:</span> <span class=\"hljs-number\">86400</span>  <span class=\"hljs-comment\"># external links successful results cache TTL, in seconds</span>\n    <span class=\"hljs-attr\">exclude:</span> <span class=\"hljs-string\">[]</span>       <span class=\"hljs-comment\"># links to ignore (list of regular expressions), e.g. ['linkedin\\.com', '^https://localhost']</span>\n    <span class=\"hljs-attr\">useragent:</span> <span class=\"hljs-string\">~</span>      <span class=\"hljs-comment\"># User-Agent header of external links requests (`assets.remote.useragent.default` by default)</span></code></pre>",
      "language": "en"
    }
  ]
}
