]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
Add GitHub Page website from docs
authorhulkoba <jacoba@neighbourhood.ie>
Wed, 24 Jan 2024 11:51:03 +0000 (12:51 +0100)
committerhulkoba <jacoba@neighbourhood.ie>
Wed, 24 Jan 2024 11:51:03 +0000 (12:51 +0100)
17 files changed:
docs/_data/extra_pages.json [new file with mode: 0644]
docs/_includes/footer.html [new file with mode: 0644]
docs/_includes/head.html [new file with mode: 0644]
docs/_includes/header.html [new file with mode: 0644]
docs/_layouts/default.html [new file with mode: 0644]
docs/_layouts/forward.html [new file with mode: 0644]
docs/assets/systemd-logo.svg [new file with mode: 0644]
docs/bootable.md
docs/building-rpms-from-source.md
docs/distribution-policy.md
docs/favicon.png [new file with mode: 0644]
docs/fonts/heebo-bold.woff [new file with mode: 0644]
docs/fonts/heebo-regular.woff [new file with mode: 0644]
docs/index.md [new file with mode: 0644]
docs/initrd.md
docs/style.css [new file with mode: 0644]
docs/sysext.md

diff --git a/docs/_data/extra_pages.json b/docs/_data/extra_pages.json
new file mode 100644 (file)
index 0000000..003cafd
--- /dev/null
@@ -0,0 +1,8 @@
+[
+    { "category": "Project", "title": "Brand", "url": "https://brand.systemd.io/" },
+    { "category": "Project", "title": "Releases", "url": "https://github.com/systemd/mkosi/releases" },
+    { "category": "Project", "title": "GitHub Project Page", "url": "https://github.com/systemd/mkosi" },
+    { "category": "Project", "title": "Issues", "url": "https://github.com/systemd/mkosi/issues" },
+    { "category": "Project", "title": "Pull Requests", "url": "https://github.com/systemd/mkosi/pulls" },
+    { "category": "Man page", "title": "A longer description and available features and options", "url": "https://github.com/systemd/mkosi/blob/main/mkosi/resources/mkosi.md" }
+]
diff --git a/docs/_includes/footer.html b/docs/_includes/footer.html
new file mode 100644 (file)
index 0000000..9b502a1
--- /dev/null
@@ -0,0 +1,7 @@
+<!-- SPDX-License-Identifier: LGPL-2.1-or-later -->
+
+<footer class="site-footer">
+  <p>&copy; systemd, 2024</p>
+
+  <p><a href="https://github.com/systemd/mkosi/tree/main/docs">Website source</a></p>
+</footer>
diff --git a/docs/_includes/head.html b/docs/_includes/head.html
new file mode 100644 (file)
index 0000000..ae39a3c
--- /dev/null
@@ -0,0 +1,16 @@
+<!-- SPDX-License-Identifier: LGPL-2.1-or-later -->
+
+<head>
+  <meta charset="utf-8">
+  <meta http-equiv="X-UA-Compatible" content="IE=edge">
+  <meta name="viewport" content="width=device-width, initial-scale=1">
+  <meta name="theme-color" content="#201A26">
+
+  <title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
+
+  <link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">
+
+  <link rel="stylesheet" href="{{ "/style.css" | prepend: site.baseurl }}">
+
+  <link rel="icon" type="image/png" href="/favicon.png" />
+</head>
diff --git a/docs/_includes/header.html b/docs/_includes/header.html
new file mode 100644 (file)
index 0000000..99c4b3a
--- /dev/null
@@ -0,0 +1,10 @@
+<!-- SPDX-License-Identifier: LGPL-2.1-or-later -->
+<header class="site-header">
+  <div class="wrapper">
+    <a class="page-logo" href="{{ site.baseurl }}/">
+      <svg width="202" height="26" viewBox="0 0 202 26">
+        <use href="/assets/systemd-logo.svg#systemd-logo"/>
+      </svg>
+    </a>
+  </div>
+</header>
diff --git a/docs/_layouts/default.html b/docs/_layouts/default.html
new file mode 100644 (file)
index 0000000..989178d
--- /dev/null
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<!-- SPDX-License-Identifier: LGPL-2.1-or-later -->
+<html lang="en">
+  {% include head.html %}
+  <body>
+    {% include header.html %}
+    <div class="container">
+      {{ content }}
+    </div>
+    {% include footer.html %}
+  </body>
+</html>
diff --git a/docs/_layouts/forward.html b/docs/_layouts/forward.html
new file mode 100644 (file)
index 0000000..5d3799b
--- /dev/null
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<!-- SPDX-License-Identifier: LGPL-2.1-or-later -->
+
+<html lang="en">
+  <head>
+    <meta charset="utf-8">
+    <meta http-equiv="refresh" content="0;url={{ page.target }}"/>
+    <meta http-equiv="X-UA-Compatible" content="IE=edge">
+    <meta name="viewport" content="width=device-width, initial-scale=1">
+    <meta name="theme-color" content="#201A26">
+    <meta name="robots" content="noindex,follow">
+    <link rel="stylesheet" href="{{ "/style.css" | prepend: site.baseurl }}">
+    <link rel="icon" type="image/png" href="/favicon.png" />
+    <link rel="canonical" href="{{ page.target }}"/>
+    <title>Redirecting to {{ page.target }}</title>
+  </head>
+  <body>
+    {% include header.html %}
+    <div class="container">
+      <p>
+        This document has moved.<br>
+        Redirecting to <a href="{{ page.target }}">{{ page.target }}</a>.
+      </p>
+    </div>
+  </body>
+</html>
diff --git a/docs/assets/systemd-logo.svg b/docs/assets/systemd-logo.svg
new file mode 100644 (file)
index 0000000..5885e7e
--- /dev/null
@@ -0,0 +1,7 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="202" height="26" viewBox="0 0 202 26" id="systemd-logo">
+  <!-- SPDX-License-Identifier: LGPL-2.1-or-later -->
+  <path d="M0 0v26h10v-4H4V4h6V0zm76 0v4h6v18h-6v4h10V0z" fill="currentColor"/>
+  <path d="M113.498 14.926q-4.5-.96-4.5-3.878 0-1.079.609-1.981.621-.902 1.781-1.441 1.16-.54 2.707-.54 1.63 0 2.848.528 1.219.516 1.875 1.453.656.926.656 2.121h-3.539q0-.762-.457-1.183-.457-.434-1.394-.434-.774 0-1.243.363-.457.364-.457.938 0 .55.516.89.527.34 1.781.575 1.5.28 2.543.738 1.043.445 1.653 1.242.62.797.62 2.027 0 1.114-.667 2.004-.657.88-1.887 1.383-1.219.504-2.836.504-1.711 0-2.965-.621-1.242-.633-1.898-1.617-.645-.985-.645-2.051h3.34q.036.914.656 1.36.621.433 1.594.433.902 0 1.383-.34.492-.351.492-.937 0-.364-.223-.61-.21-.258-.773-.48-.55-.223-1.57-.446zm19.384-7.606l-5.086 14.58q-.293.831-.726 1.523-.434.703-1.266 1.195-.832.504-2.098.504-.457 0-.75-.048-.281-.046-.785-.176v-2.672q.176.02.527.02.95 0 1.418-.293.47-.293.715-.961l.352-.926-4.43-12.738h3.797l2.262 7.687 2.285-7.687zm5.884 7.606q-4.5-.96-4.5-3.878 0-1.079.61-1.981.62-.902 1.781-1.441 1.16-.54 2.707-.54 1.629 0 2.848.528 1.218.516 1.875 1.453.656.926.656 2.121h-3.539q0-.762-.457-1.183-.457-.434-1.395-.434-.773 0-1.242.363-.457.364-.457.938 0 .55.516.89.527.34 1.781.575 1.5.28 2.543.738 1.043.445 1.652 1.242.621.797.621 2.027 0 1.114-.668 2.004-.656.88-1.886 1.383-1.219.504-2.836.504-1.711 0-2.965-.621-1.242-.633-1.899-1.617-.644-.985-.644-2.051h3.34q.036.914.656 1.36.621.433 1.594.433.902 0 1.383-.34.492-.351.492-.937 0-.364-.223-.61-.21-.258-.773-.48-.551-.223-1.57-.446zm13.983 2.403q.574 0 .984-.082v2.66q-.914.328-2.086.328-3.727 0-3.727-3.797V9.899h-1.793V7.321h1.793v-3.14h3.54v3.14h2.132v2.578h-2.133v6.129q0 .75.293 1.031.293.27.997.27zm14.228-2.519h-8.016q.2 1.183.985 1.886.785.691 2.015.691.914 0 1.688-.34.785-.351 1.336-1.042l1.699 1.957q-.668.96-1.957 1.617-1.278.656-3 .656-1.946 0-3.387-.82-1.43-.82-2.203-2.227-.762-1.406-.762-3.105v-.446q0-1.898.715-3.386.715-1.489 2.063-2.32 1.347-.844 3.187-.844 1.793 0 3.059.761 1.265.762 1.922 2.168.656 1.395.656 3.293zm-3.469-2.65q-.024-1.03-.574-1.628-.54-.598-1.617-.598-1.008 0-1.582.668-.563.668-.739 1.84h4.512zm19.923-5.073q1.934 0 2.989 1.148 1.054 1.148 1.054 3.727v8.039h-3.539V11.95q0-.797-.21-1.23-.212-.446-.61-.61-.387-.164-.984-.164-.715 0-1.219.352-.504.34-.797.972.02.082.02.27V20h-3.54v-8.015q0-.797-.21-1.242-.211-.445-.61-.621-.386-.176-.996-.176-.68 0-1.183.304-.492.293-.797.844V20h-3.539V7.32h3.316l.118 1.419q.633-.797 1.547-1.22.926-.433 2.086-.433 1.172 0 2.016.48.855.47 1.312 1.442.633-.926 1.582-1.418.961-.504 2.203-.504zM201.398 2v18h-3.187l-.176-1.359q-1.243 1.594-3.212 1.594-1.535 0-2.66-.82-1.113-.832-1.699-2.285-.574-1.454-.574-3.317v-.246q0-1.934.574-3.398.586-1.465 1.7-2.274 1.124-.808 2.683-.808 1.805 0 3.012 1.37V2.001zm-5.672 15.376q1.488 0 2.133-1.266v-4.898q-.61-1.266-2.11-1.266-1.207 0-1.77.984-.55.985-.55 2.637v.246q0 1.629.54 2.602.55.96 1.757.96z" fill="currentColor"/>
+  <path d="M45 13L63 3v20z" fill="#30d475"/>
+  <circle cx="30" cy="13" r="9" fill="#30d475"/>
+</svg>
index 9a836ae0e754f6bde950cade9b215a58b215c7da..65056ca62d8faa98eb6c4c8266365d68a89bb429 100644 (file)
@@ -1,3 +1,10 @@
+---
+title: Building a bootable image on different distros
+category: Documentation
+layout: default
+SPDX-License-Identifier: LGPL-2.1-or-later
+---
+
 # Building a bootable image on different distros
 
 To build a bootable image, you'll need to install a list of packages that differs depending on the
@@ -6,7 +13,7 @@ distributions:
 
 ## Arch
 
-```
+```conf
 [Content]
 Packages=linux
          systemd
@@ -14,7 +21,7 @@ Packages=linux
 
 ## Fedora
 
-```
+```conf
 [Content]
 Packages=kernel
          systemd
@@ -25,7 +32,7 @@ Packages=kernel
 
 ## CentOS
 
-```
+```conf
 [Content]
 Packages=kernel
          systemd
@@ -35,7 +42,7 @@ Packages=kernel
 
 ## Debian
 
-```
+```conf
 [Content]
 Packages=linux-image-generic
          systemd
@@ -47,7 +54,7 @@ Packages=linux-image-generic
 
 ## Ubuntu
 
-```
+```conf
 [Content]
 Repositories=main,universe
 Packages=linux-image-generic
@@ -59,7 +66,7 @@ Packages=linux-image-generic
 
 ## Opensuse
 
-```
+```conf
 [Content]
 Packages=kernel-default
          systemd
index 199a41edc8f62cce88ce2bf23e3fedfc4ca8ab19..5511a5abbebdc128004b9c08e6f255c08d862970 100644 (file)
@@ -1,3 +1,10 @@
+---
+title: Building RPMs from source with mkosi
+category: Documentation
+layout: default
+SPDX-License-Identifier: LGPL-2.1-or-later
+---
+
 # Building RPMs from source with mkosi
 
 If you want to build an RPM from source and install it within a mkosi
index 458b5d57d4b0a955d8c20cf3ce515fadfefb1bd9..87514056b0fa3ccb6b9cb630b6bc7f3288c98568 100644 (file)
@@ -1,3 +1,10 @@
+---
+title: Adding new distributions
+category: Documentation
+layout: default
+SPDX-License-Identifier: LGPL-2.1-or-later
+---
+
 # Adding new distributions
 
 Merging support for a new distribution in mkosi depends on a few
diff --git a/docs/favicon.png b/docs/favicon.png
new file mode 100644 (file)
index 0000000..f4b5cc1
Binary files /dev/null and b/docs/favicon.png differ
diff --git a/docs/fonts/heebo-bold.woff b/docs/fonts/heebo-bold.woff
new file mode 100644 (file)
index 0000000..1e45115
Binary files /dev/null and b/docs/fonts/heebo-bold.woff differ
diff --git a/docs/fonts/heebo-regular.woff b/docs/fonts/heebo-regular.woff
new file mode 100644 (file)
index 0000000..484eae4
Binary files /dev/null and b/docs/fonts/heebo-regular.woff differ
diff --git a/docs/index.md b/docs/index.md
new file mode 100644 (file)
index 0000000..f3beac5
--- /dev/null
@@ -0,0 +1,24 @@
+---
+layout: default
+SPDX-License-Identifier: LGPL-2.1-or-later
+---
+
+# mkosi — Build Bespoke OS Images
+
+A fancy wrapper around `dnf --installroot`, `apt`, `pacman` and `zypper` that generates customized disk images with a number of bells and whistles.
+
+---
+
+{% assign by_category = site.pages | group_by:"category" %}
+{% assign extra_pages = site.data.extra_pages | group_by:"category" %}
+{% assign merged = by_category | concat: extra_pages | sort:"name" %}
+
+{% for pair in merged %}
+  {% if pair.name != "" %}
+## {{ pair.name }}
+{% assign sorted = pair.items | sort:"title" %}{% for page in sorted %}
+* [{{ page.title }}]({{ page.url | relative_url }}){% endfor %}
+  {% endif %}
+{% endfor %}
+
+---
index e1e932e21cb647c5ff2743f485cfea3c0b030e9d..177dbc085045615fdf070e6dbb0f6d5d5ee89114 100644 (file)
@@ -1,8 +1,16 @@
+---
+title: Building a custom initrd and using it in a mkosi image
+category: Documentation
+layout: default
+SPDX-License-Identifier: LGPL-2.1-or-later
+---
+
 # Building a custom initrd and using it in a mkosi image
 
 Building an image with a mkosi-built initrd is a two step process, because you will build two images - the initrd and your distribution image.
 1. Build an initrd image using the `cpio` output format with the same target distributions as you want to use for your distribution image. mkosi compresses the `cpio` output format by default.
-```
+
+```conf
 [Output]
 Format=cpio
 
@@ -11,10 +19,13 @@ Packages=systemd
          udev
          kmod
 ```
+
 2. Invoke `mkosi` passing the initrd image via the `--initrd` option or add the `Initrd=` option to your mkosi config when building your distribution image.
+
 ```bash
 mkosi --initrd=<path-to-initrd-image> ...
 ```
+
 This will build an image using the provided initrd image.
 mkosi will add the kernel modules found in the distribution image to this initrd.
 
diff --git a/docs/style.css b/docs/style.css
new file mode 100644 (file)
index 0000000..6fb55ac
--- /dev/null
@@ -0,0 +1,490 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
+
+@font-face {
+  font-family: 'Heebo';
+  src: url('fonts/heebo-regular.woff');
+  font-weight: 400;
+}
+
+@font-face {
+  font-family: 'Heebo';
+  src: url('fonts/heebo-bold.woff');
+  font-weight: 600;
+}
+
+/* Variables */
+:root {
+  --sd-brand-black: hsl(270, 19%, 13%); /* #201A26; */
+  --sd-brand-green: hsl(145, 66%, 51%); /* #30D475; */
+  --sd-brand-white: #fff;
+
+  --sd-black: hsl(270, 7%, 13%);
+  --sd-green: hsl(145, 66%, 43%); /* #26b763 */
+  --sd-gray-extralight: hsl(30, 10%, 96%); /* #f6f5f4 */
+  --sd-gray-light: hsl(30, 10%, 92%);
+  --sd-gray: hsl(30, 10%, 85%);
+  --sd-gray-dark: hsl(257, 23%, 20%);
+  --sd-gray-extradark: hsl(257, 23%, 16%); /* #241f31 */
+  --sd-blue: hsl(200, 66%, 55%);
+
+  --sd-highlight-bg-light: rgba(255, 255, 255, 1);
+  --sd-highlight-bg-dark: rgba(0, 0, 0, .6);
+  --sd-highlight-inline-bg-light: rgba(0, 0, 0, 0.07);
+  --sd-highlight-inline-bg-dark: rgba(255, 255, 255, 0.1);
+
+  --sd-font-weight-normal: 400;
+  --sd-font-weight-bold: 600;
+
+  /* Light mode variables */
+  --sd-foreground-color: var(--sd-gray-extradark);
+  --sd-background-color: var(--sd-gray-extralight);
+  --sd-logo-color: var(--sd-brand-black);
+  --sd-link-color: var(--sd-green);
+  --sd-small-color: var(--sd-gray-dark);
+  --sd-highlight-bg: var(--sd-highlight-bg-light);
+  --sd-highlight-inline-bg: var(--sd-highlight-inline-bg-light);
+  --sd-link-font-weight: var(--sd-font-weight-bold);
+  --sd-table-row-bg: var(--sd-highlight-inline-bg-light);
+  --sd-table-row-hover-bg: var(--sd-gray);
+}
+
+@media (prefers-color-scheme: dark) {
+  :root {
+    color-scheme: dark;
+    --sd-foreground-color: var(--sd-gray);
+    --sd-background-color: var(--sd-black);
+    --sd-logo-color: var(--sd-brand-white);
+    --sd-link-color: var(--sd-brand-green);
+    --sd-small-color: var(--sd-gray);
+    --sd-highlight-bg: var(--sd-highlight-bg-dark);
+    --sd-highlight-inline-bg: var(--sd-highlight-inline-bg-dark);
+    --sd-link-font-weight: var(--sd-font-weight-normal);
+    --sd-table-row-bg: var(--sd-highlight-inline-bg-dark);
+    --sd-table-row-hover-bg: var(--sd-highlight-bg-dark);
+  }
+}
+
+/* Typography */
+* {
+  -moz-box-sizing: border-box;
+  -webkit-box-sizing: border-box;
+  box-sizing: border-box;
+}
+html, body {
+  margin: 0;
+  padding: 0;
+  font-size: 1rem;
+  font-family: "Heebo", sans-serif;
+  font-weight: 400;
+  line-height: 1.6;
+}
+body {
+  color: var(--sd-foreground-color);
+  background-color: var(--sd-background-color);
+}
+h1, h2, h3, h4, h5, h6 {
+  margin: 1rem 0 0.625rem;
+  font-weight: 600;
+  line-height: 1.25;
+}
+h1 {
+  text-align: center;
+  font-size: 1.87rem;
+  font-weight: 400;
+  font-style: normal;
+  margin-bottom: 2rem;
+}
+@media screen and (min-width: 650px) {
+  img {
+    margin-left: 10%;
+    margin-right: 10%;
+  }
+  h1 {
+    font-size: 2.375em;
+  }
+}
+h2 {
+  font-size: 1.25rem;
+  margin-top: 2.5em;
+}
+h3 {
+  font-size: 1.15rem;
+}
+a {
+  font-weight: var(--sd-link-font-weight);
+  text-decoration: none;
+  color: var(--sd-link-color);
+  cursor: pointer;
+}
+a:hover {
+  text-decoration: underline;
+}
+b {
+  font-weight: 600;
+}
+small {
+  color: var(--sd-small-color);
+}
+hr {
+  margin: 3rem auto 4rem;
+  width: 40%;
+  opacity: 40%;
+}
+
+/* Layout */
+.container {
+  width: 80%;
+  margin-left: auto;
+  margin-right: auto;
+  max-width: 720px;
+}
+
+/* Singletons */
+.page-logo {
+  display: block;
+  padding: 5rem 0 3rem;
+  color: var(--sd-logo-color);
+}
+.page-logo > svg {
+  display: block;
+  width: 12.625em;
+  height: auto;
+  margin: 0 auto;
+}
+
+.color-green {
+  color: var(--sd-brand-green);
+}
+
+.color-blue {
+  color: var(--sd-blue);
+}
+
+.page-link::after {
+  content: " ➜";
+}
+
+/* Footer */
+footer {
+  text-align: center;
+  padding: 3em 0 3em;
+  font-size: 1em;
+  margin-top: 4rem;
+}
+
+@media (prefers-color-scheme: light) {
+  .highlight .cm {
+    color: #999988;
+    font-style: italic;
+  }
+  .highlight .cp {
+    color: #999999;
+    font-weight: bold;
+  }
+  .highlight .c1 {
+    color: #999988;
+    font-style: italic;
+  }
+  .highlight .cs {
+    color: #999999;
+    font-weight: bold;
+    font-style: italic;
+  }
+  .highlight .c, .highlight .ch, .highlight .cd, .highlight .cpf {
+    color: #999988;
+    font-style: italic;
+  }
+  .highlight .err {
+    color: #a61717;
+    background-color: #e3d2d2;
+  }
+  .highlight .gd {
+    color: #000000;
+    background-color: #ffdddd;
+  }
+  .highlight .ge {
+    color: #000000;
+    font-style: italic;
+  }
+  .highlight .gr {
+    color: #aa0000;
+  }
+  .highlight .gh {
+    color: #999999;
+  }
+  .highlight .gi {
+    color: #000000;
+    background-color: #ddffdd;
+  }
+  .highlight .go {
+    color: #888888;
+  }
+  .highlight .gp {
+    color: #555555;
+  }
+  .highlight .gs {
+    font-weight: bold;
+  }
+  .highlight .gu {
+    color: #aaaaaa;
+  }
+  .highlight .gt {
+    color: #aa0000;
+  }
+  .highlight .kc {
+    color: #000000;
+    font-weight: bold;
+  }
+  .highlight .kd {
+    color: #000000;
+    font-weight: bold;
+  }
+  .highlight .kn {
+    color: #000000;
+    font-weight: bold;
+  }
+  .highlight .kp {
+    color: #000000;
+    font-weight: bold;
+  }
+  .highlight .kr {
+    color: #000000;
+    font-weight: bold;
+  }
+  .highlight .kt {
+    color: #445588;
+    font-weight: bold;
+  }
+  .highlight .k, .highlight .kv {
+    color: #000000;
+    font-weight: bold;
+  }
+  .highlight .mf {
+    color: #009999;
+  }
+  .highlight .mh {
+    color: #009999;
+  }
+  .highlight .il {
+    color: #009999;
+  }
+  .highlight .mi {
+    color: #009999;
+  }
+  .highlight .mo {
+    color: #009999;
+  }
+  .highlight .m, .highlight .mb, .highlight .mx {
+    color: #009999;
+  }
+  .highlight .sa {
+    color: #000000;
+    font-weight: bold;
+  }
+  .highlight .sb {
+    color: #d14;
+  }
+  .highlight .sc {
+    color: #d14;
+  }
+  .highlight .sd {
+    color: #d14;
+  }
+  .highlight .s2 {
+    color: #d14;
+  }
+  .highlight .se {
+    color: #d14;
+  }
+  .highlight .sh {
+    color: #d14;
+  }
+  .highlight .si {
+    color: #d14;
+  }
+  .highlight .sx {
+    color: #d14;
+  }
+  .highlight .sr {
+    color: #009926;
+  }
+  .highlight .s1 {
+    color: #d14;
+  }
+  .highlight .ss {
+    color: #990073;
+  }
+  .highlight .s, .highlight .dl {
+    color: #d14;
+  }
+  .highlight .na {
+    color: #008080;
+  }
+  .highlight .bp {
+    color: #999999;
+  }
+  .highlight .nb {
+    color: #0086B3;
+  }
+  .highlight .nc {
+    color: #445588;
+    font-weight: bold;
+  }
+  .highlight .no {
+    color: #008080;
+  }
+  .highlight .nd {
+    color: #3c5d5d;
+    font-weight: bold;
+  }
+  .highlight .ni {
+    color: #800080;
+  }
+  .highlight .ne {
+    color: #990000;
+    font-weight: bold;
+  }
+  .highlight .nf, .highlight .fm {
+    color: #990000;
+    font-weight: bold;
+  }
+  .highlight .nl {
+    color: #990000;
+    font-weight: bold;
+  }
+  .highlight .nn {
+    color: #555555;
+  }
+  .highlight .nt {
+    color: #000080;
+  }
+  .highlight .vc {
+    color: #008080;
+  }
+  .highlight .vg {
+    color: #008080;
+  }
+  .highlight .vi {
+    color: #008080;
+  }
+  .highlight .nv, .highlight .vm {
+    color: #008080;
+  }
+  .highlight .ow {
+    color: #000000;
+    font-weight: bold;
+  }
+  .highlight .o {
+    color: #000000;
+    font-weight: bold;
+  }
+  .highlight .w {
+    color: #bbbbbb;
+  }
+}
+
+@media (prefers-color-scheme: dark) {
+  /* rouge "base16.dark" code highlight */
+  /* generated with: rougify style base16.dark | sed '/background-color: #151515/d' */
+  .highlight, .highlight .w {
+    color: #d0d0d0;
+  }
+  .highlight .err {
+    color: #151515;
+    background-color: #ac4142;
+  }
+  .highlight .c, .highlight .ch, .highlight .cd, .highlight .cm, .highlight .cpf, .highlight .c1, .highlight .cs {
+    color: #505050;
+  }
+  .highlight .cp {
+    color: #f4bf75;
+  }
+  .highlight .nt {
+    color: #f4bf75;
+  }
+  .highlight .o, .highlight .ow {
+    color: #d0d0d0;
+  }
+  .highlight .p, .highlight .pi {
+    color: #d0d0d0;
+  }
+  .highlight .gi {
+    color: #90a959;
+  }
+  .highlight .gd {
+    color: #ac4142;
+  }
+  .highlight .gh {
+    color: #6a9fb5;
+    font-weight: bold;
+  }
+  .highlight .k, .highlight .kn, .highlight .kp, .highlight .kr, .highlight .kv {
+    color: #aa759f;
+  }
+  .highlight .kc {
+    color: #d28445;
+  }
+  .highlight .kt {
+    color: #d28445;
+  }
+  .highlight .kd {
+    color: #d28445;
+  }
+  .highlight .s, .highlight .sb, .highlight .sc, .highlight .dl, .highlight .sd, .highlight .s2, .highlight .sh, .highlight .sx, .highlight .s1 {
+    color: #90a959;
+  }
+  .highlight .sa {
+    color: #aa759f;
+  }
+  .highlight .sr {
+    color: #75b5aa;
+  }
+  .highlight .si {
+    color: #8f5536;
+  }
+  .highlight .se {
+    color: #8f5536;
+  }
+  .highlight .nn {
+    color: #f4bf75;
+  }
+  .highlight .nc {
+    color: #f4bf75;
+  }
+  .highlight .no {
+    color: #f4bf75;
+  }
+  .highlight .na {
+    color: #6a9fb5;
+  }
+  .highlight .m, .highlight .mb, .highlight .mf, .highlight .mh, .highlight .mi, .highlight .il, .highlight .mo, .highlight .mx {
+    color: #90a959;
+  }
+  .highlight .ss {
+    color: #90a959;
+  }
+}
+
+/* Code Blocks */
+.highlighter-rouge {
+  padding: 2px 1rem;
+  border-radius: 5px;
+  color: var(--sd-foreground-color);
+  background-color: var(--sd-highlight-bg);
+
+  overflow: auto;
+}
+.highlighter-rouge .highlight .err {
+  background: transparent !important;
+  color: inherit !important;
+}
+
+/* Inline Code */
+code.highlighter-rouge {
+  padding: 2px 6px;
+  background-color: var(--sd-highlight-inline-bg);
+}
+
+a code.highlighter-rouge {
+  color: inherit;
+}
index 52c6dff1abb3ffdd0ebe99abe60fb18a952f3fca..0266eb49a6c45913275f2acc414c40d5aa65201d 100644 (file)
@@ -1,3 +1,10 @@
+---
+title: Building system extensions with mkosi
+category: Documentation
+layout: default
+SPDX-License-Identifier: LGPL-2.1-or-later
+---
+
 # Building system extensions with mkosi
 
 [System extension](https://uapi-group.org/specifications/specs/extension_image/)