nixos/manual: remove .title fenced divs

pandoc drops .title classes when rendering to docbook, so these are
effectively just paragraphs anyway. without support for including them
in a table of contents the complexity of parsing them in
nixos-render-docs won't be warranted.

pennae a15d7335 81636513

-2
doc/hooks/breakpoint.section.md
···
When a build failure happens there will be an instruction printed that shows how to attach with `cntr` to the build sandbox.
::: {.note}
-
::: {.title}
Caution with remote builds
-
:::
This won’t work with remote builds as the build environment is on a different machine and can’t be accessed by `cntr`. Remote builds can be turned off by setting `--option builders ''` for `nix-build` or `--builders ''` for `nix build`.
:::
+1 -2
nixos/doc/manual/development/freeform-modules.section.md
···
submodules.
::: {#ex-freeform-module .example}
-
::: {.title}
**Example: Freeform submodule**
-
:::
+
The following shows a submodule assigning a freeform type that allows
arbitrary attributes with `str` values below `settings`, but also
declares an option for the `settings.port` attribute to have it
-6
nixos/doc/manual/development/option-declarations.section.md
···
enforces that there can only be a single display manager enabled.
::: {#ex-option-declaration-eot-service .example}
-
::: {.title}
**Example: Extensible type placeholder in the service module**
-
:::
```nix
services.xserver.displayManager.enable = mkOption {
description = "Display manager to use";
···
:::
::: {#ex-option-declaration-eot-backend-gdm .example}
-
::: {.title}
**Example: Extending `services.xserver.displayManager.enable` in the `gdm` module**
-
:::
```nix
services.xserver.displayManager.enable = mkOption {
type = with types; nullOr (enum [ "gdm" ]);
···
:::
::: {#ex-option-declaration-eot-backend-sddm .example}
-
::: {.title}
**Example: Extending `services.xserver.displayManager.enable` in the `sddm` module**
-
:::
```nix
services.xserver.displayManager.enable = mkOption {
type = with types; nullOr (enum [ "sddm" ]);
+3 -18
nixos/doc/manual/development/option-types.section.md
···
together. This type is recommended when the option type is unknown.
::: {#ex-types-anything .example}
-
::: {.title}
**Example: `types.anything` Example**
-
:::
+
Two definitions of this type like
```nix
···
if you want to allow users to leave it undefined.
::: {#ex-submodule-direct .example}
-
::: {.title}
**Example: Directly defined submodule**
-
:::
```nix
options.mod = mkOption {
description = "submodule example";
···
:::
::: {#ex-submodule-reference .example}
-
::: {.title}
**Example: Submodule defined as a reference**
-
:::
```nix
let
modOptions = {
···
([Example: Definition of a list of submodules](#ex-submodule-listof-definition)).
::: {#ex-submodule-listof-declaration .example}
-
::: {.title}
**Example: Declaration of a list of submodules**
-
:::
```nix
options.mod = mkOption {
description = "submodule example";
···
:::
::: {#ex-submodule-listof-definition .example}
-
::: {.title}
**Example: Definition of a list of submodules**
-
:::
```nix
config.mod = [
{ foo = 1; bar = "one"; }
···
([Example: Definition of attribute sets of submodules](#ex-submodule-attrsof-definition)).
::: {#ex-submodule-attrsof-declaration .example}
-
::: {.title}
**Example: Declaration of attribute sets of submodules**
-
:::
```nix
options.mod = mkOption {
description = "submodule example";
···
:::
::: {#ex-submodule-attrsof-definition .example}
-
::: {.title}
**Example: Definition of attribute sets of submodules**
-
:::
```nix
config.mod.one = { foo = 1; bar = "one"; };
config.mod.two = { foo = 2; bar = "two"; };
···
([Example: Overriding a type check](#ex-extending-type-check-2)).
::: {#ex-extending-type-check-1 .example}
-
::: {.title}
**Example: Adding a type check**
-
:::
+
```nix
byte = mkOption {
description = "An integer between 0 and 255.";
···
:::
::: {#ex-extending-type-check-2 .example}
-
::: {.title}
**Example: Overriding a type check**
-
:::
+
```nix
nixThings = mkOption {
description = "words that start with 'nix'";
+1 -4
nixos/doc/manual/development/settings-options.section.md
···
:::
::: {#ex-settings-nix-representable .example}
-
::: {.title}
**Example: Module with conventional `settings` option**
-
:::
+
The following shows a module for an example program that uses a JSON
configuration file. It demonstrates how above values can be used, along
with some other related best practices. See the comments for
···
up in the manual.
::: {#ex-settings-typed-attrs .example}
-
::: {.title}
**Example: Declaring a type-checked `settings` attribute**
-
:::
```nix
settings = lib.mkOption {
type = lib.types.submodule {
-6
nixos/doc/manual/development/writing-modules.chapter.md
···
is shown in [Example: Structure of NixOS Modules](#ex-module-syntax).
::: {#ex-module-syntax .example}
-
::: {.title}
**Example: Structure of NixOS Modules**
-
:::
```nix
{ config, pkgs, ... }:
···
functions system environment substitution should *not* be disabled explicitly.
::: {#locate-example .example}
-
::: {.title}
**Example: NixOS Module for the "locate" Service**
-
:::
```nix
{ config, lib, pkgs, ... }:
···
:::
::: {#exec-escaping-example .example}
-
::: {.title}
**Example: Escaping in Exec directives**
-
:::
```nix
{ config, lib, pkgs, utils, ... }:
+1 -8
nixos/doc/manual/installation/installing.chapter.md
···
corresponding configuration Nix expression.
::: {#ex-partition-scheme-MBR .example}
-
::: {.title}
**Example: Example partition schemes for NixOS on `/dev/sda` (MBR)**
-
:::
```ShellSession
# parted /dev/sda -- mklabel msdos
# parted /dev/sda -- mkpart primary 1MB -8GB
···
:::
::: {#ex-partition-scheme-UEFI .example}
-
::: {.title}
**Example: Example partition schemes for NixOS on `/dev/sda` (UEFI)**
-
:::
```ShellSession
# parted /dev/sda -- mklabel gpt
# parted /dev/sda -- mkpart primary 512MB -8GB
···
:::
::: {#ex-install-sequence .example}
-
::: {.title}
**Example: Commands for Installing NixOS on `/dev/sda`**
-
:::
+
With a partitioned disk.
```ShellSession
···
:::
::: {#ex-config .example}
-
::: {.title}
**Example: NixOS Configuration**
-
:::
```ShellSession
{ config, pkgs, ... }: {
imports = [