<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="https://statidocs.cecil.app/xsl/atom.xsl" media="all"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://statidocs.cecil.app/docs/introduction/</id>
  <title>Statidocs - Introduction</title>
  <subtitle><![CDATA[Write your pages in Markdown, customize templates with Twig and Tailwind CSS, and enjoy the power of Cecil static site generator.]]></subtitle>
  <link href="https://statidocs.cecil.app/docs/introduction/atom.xml" rel="self" type="application/atom+xml" />
  <link href="https://statidocs.cecil.app/docs/introduction/" rel="alternate" type="text/html" />
  <updated>2026-08-26T22:26:13+00:00</updated>
  <author>
    <name>Arnaud Ligny</name>
    <uri>https://arnaudligny.fr</uri>
  </author>
  <entry xml:lang="en">
    <id>https://statidocs.cecil.app/docs/introduction/getting-started/</id>
    <title>Getting started</title>
    <published>2026-08-26T22:26:00+00:00</published>
    <link href="https://statidocs.cecil.app/docs/introduction/getting-started/" rel="alternate" type="text/html" />
    <content type="html">
      <![CDATA[<h1>Getting started</h1>
<p>Statidocs is a powerful documentation starter, built by static site generator <a href="https://cecil.app" rel="noopener noreferrer">Cecil</a>.</p>
<aside class="note note-important"><p>PHP 8.1+ is required.</p></aside>
<h2 id="create-a-new-project">Create a new project</h2>
<p>The easiest way to create a new Statidocs project is using <a href="https://getcomposer.org" rel="noopener noreferrer">Composer</a>:</p>
<pre><code class="language-bash hljs bash" translate="no">composer create-project cecil/statidocs my-project</code></pre>
<aside class="note note-info"><p>This command also download <code translate="no">cecil.phar</code> binary.</p></aside>
<h2 id="start-the-local-server">Start the local server</h2>
<p>When working locally, <a href="https://cecil.app/documentation/commands/#serve" rel="noopener noreferrer">Cecil’s built-in server</a> lets you preview your work and automatically refreshes your browser when you make changes.</p>
<p>Inside your project directory, run the following command to start the local server:</p>
<pre><code class="language-bash hljs bash" translate="no">php cecil.phar serve</code></pre>
<p>This will log a message to your terminal with the URL of your local preview. Open this URL (<a href="http://localhost:8000" rel="noopener noreferrer">http://localhost:8000</a> by default) to start browsing your documentation.</p>
<h2 id="add-articles">Add articles</h2>
<h3 id="file-formats">File formats</h3>
<p>Statidocs supports authoring content in Markdown with no configuration required. You can extend default capabilities by enabling <a href="https://cecil.app/documentation/content/#markdown" rel="noopener noreferrer">Cecil's Markdown options</a>.</p>
<h3 id="add-pages">Add pages</h3>
<p>Add new pages to your site by creating <code translate="no">.md</code> files in <code translate="no">pages/docs/</code>. Use one level sub-folders to organize your files and number prefix to sort them.</p>
<p>For example, the following file structure will generate pages at <code translate="no">domain.tld/docs/getting-started</code> and <code translate="no">domain.tld/docs/guides/i18n</code>:</p>
<pre><code class="language-text" translate="no">&lt;mywebsite&gt;
└─ pages
   └─ docs
      ├─ guides
      |  └─ 2-i18n.md
      └─ 1-Getting Started.md</code></pre>
<h3 id="front-matter">Front matter</h3>
<p>All pages use front matter variables to control how the page appears:</p>
<pre><code class="language-yaml hljs yaml" translate="no"><span class="hljs-meta">---</span>
<span class="hljs-attr">title:</span> <span class="hljs-string">Hello</span> <span class="hljs-string">world</span>
<span class="hljs-attr">description:</span> <span class="hljs-string">This</span> <span class="hljs-string">is</span> <span class="hljs-string">a</span> <span class="hljs-string">page</span> <span class="hljs-string">description.</span>
<span class="hljs-meta">---</span></code></pre>
<p>To know more, checks the <a href="https://cecil.app/documentation/content/#front-matter" rel="noopener noreferrer">Cecil front matter documentation</a>.</p>
<h2 id="updating-statidocs">Updating Statidocs</h2>
<aside class="note note-tip"><p>Statidocs is still in development, there will be frequent updates and improvements. Be sure to update Statidocs regularly</p></aside>
<p>Statidocs is built on top of the Cecil theme <em><a href="https://github.com/Cecilapp/theme-docs" rel="noopener noreferrer">docs</a></em>. You can update it and other Cecil themes by running the following command in your terminal:</p>
<pre><code class="language-bash hljs bash" translate="no">composer update</code></pre>]]>
    </content>
  </entry>
</feed>
