]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
docs: use collections to structure the data 31178/head
authorhulkoba <jacoba@neighbourhood.ie>
Tue, 30 Jan 2024 11:57:10 +0000 (12:57 +0100)
committerhulkoba <jacoba@neighbourhood.ie>
Thu, 22 Feb 2024 09:11:54 +0000 (10:11 +0100)
83 files changed:
README.md
docs/_booting/AUTOMATIC_BOOT_ASSESSMENT.md [moved from docs/AUTOMATIC_BOOT_ASSESSMENT.md with 100% similarity]
docs/_booting/BOOT_LOADER_INTERFACE.md [moved from docs/BOOT_LOADER_INTERFACE.md with 99% similarity]
docs/_booting/BOOT_LOADER_SPECIFICATION.md [moved from docs/BOOT_LOADER_SPECIFICATION.md with 100% similarity]
docs/_booting/MOUNT_REQUIREMENTS.md [moved from docs/MOUNT_REQUIREMENTS.md with 100% similarity]
docs/_booting/TPM2_PCR_MEASUREMENTS.md [moved from docs/TPM2_PCR_MEASUREMENTS.md with 100% similarity]
docs/_concepts/BUILDING_IMAGES.md [moved from docs/BUILDING_IMAGES.md with 100% similarity]
docs/_concepts/COREDUMP.md [moved from docs/COREDUMP.md with 100% similarity]
docs/_concepts/CREDENTIALS.md [moved from docs/CREDENTIALS.md with 99% similarity]
docs/_concepts/DESKTOP_ENVIRONMENTS.md [moved from docs/DESKTOP_ENVIRONMENTS.md with 100% similarity]
docs/_concepts/DISTRO_PORTING.md [moved from docs/DISTRO_PORTING.md with 100% similarity]
docs/_concepts/PORTABLE_SERVICES.md [moved from docs/PORTABLE_SERVICES.md with 100% similarity]
docs/_concepts/RANDOM_SEEDS.md [moved from docs/RANDOM_SEEDS.md with 99% similarity]
docs/_config.yml
docs/_contributing/ARCHITECTURE.md [moved from docs/ARCHITECTURE.md with 99% similarity]
docs/_contributing/CODE_OF_CONDUCT.md [moved from docs/CODE_OF_CONDUCT.md with 100% similarity]
docs/_contributing/CODE_QUALITY.md [moved from docs/CODE_QUALITY.md with 99% similarity]
docs/_contributing/CODING_STYLE.md [moved from docs/CODING_STYLE.md with 100% similarity]
docs/_contributing/CONTRIBUTING.md [moved from docs/CONTRIBUTING.md with 97% similarity]
docs/_contributing/HACKING.md [moved from docs/HACKING.md with 98% similarity]
docs/_contributing/PORTING_TO_NEW_ARCHITECTURES.md [moved from docs/PORTING_TO_NEW_ARCHITECTURES.md with 100% similarity]
docs/_contributing/RELEASE.md [moved from docs/RELEASE.md with 100% similarity]
docs/_contributing/SECURITY.md [moved from docs/SECURITY.md with 100% similarity]
docs/_contributing/TESTING_WITH_SANITIZERS.md [moved from docs/TESTING_WITH_SANITIZERS.md with 100% similarity]
docs/_contributing/TRANSLATORS.md [moved from docs/TRANSLATORS.md with 100% similarity]
docs/_data/extra_pages.json
docs/_data/project.json [new file with mode: 0644]
docs/_devdocs/AUTOPGKTEST.md [moved from docs/AUTOPGKTEST.md with 100% similarity]
docs/_devdocs/BACKPORTS.md [moved from docs/BACKPORTS.md with 100% similarity]
docs/_devdocs/BOOT.md [moved from docs/BOOT.md with 100% similarity]
docs/_devdocs/CATALOG.md [moved from docs/CATALOG.md with 100% similarity]
docs/_devdocs/CONTROL_GROUP_INTERFACE.md [moved from docs/CONTROL_GROUP_INTERFACE.md with 100% similarity]
docs/_devdocs/INHIBITOR_LOCKS.md [moved from docs/INHIBITOR_LOCKS.md with 100% similarity]
docs/_devdocs/MINIMAL_BUILDS.md [moved from docs/MINIMAL_BUILDS.md with 100% similarity]
docs/_devdocs/OPTIMIZATIONS.md [moved from docs/OPTIMIZATIONS.md with 100% similarity]
docs/_devdocs/PRESET.md [moved from docs/PRESET.md with 100% similarity]
docs/_devdocs/SYSLOG.md [moved from docs/SYSLOG.md with 100% similarity]
docs/_devdocs/SYSTEMD_FILE_HIERARCHY_REQUIREMENTS.md [moved from docs/SYSTEMD_FILE_HIERARCHY_REQUIREMENTS.md with 100% similarity]
docs/_devdocs/THE_CASE_FOR_THE_USR_MERGE.md [moved from docs/THE_CASE_FOR_THE_USR_MERGE.md with 100% similarity]
docs/_devdocs/VIRTUALIZED_TESTING.md [moved from docs/VIRTUALIZED_TESTING.md with 100% similarity]
docs/_devdocs/WRITING_DESKTOP_ENVIRONMENTS.md [moved from docs/WRITING_DESKTOP_ENVIRONMENTS.md with 100% similarity]
docs/_devdocs/WRITING_DISPLAY_MANAGERS.md [moved from docs/WRITING_DISPLAY_MANAGERS.md with 100% similarity]
docs/_devdocs/WRITING_NETWORK_CONFIGURATION_MANAGERS.md [moved from docs/WRITING_NETWORK_CONFIGURATION_MANAGERS.md with 100% similarity]
docs/_devdocs/WRITING_RESOLVER_CLIENTS.md [moved from docs/WRITING_RESOLVER_CLIENTS.md with 100% similarity]
docs/_devdocs/WRITING_VM_AND_CONTAINER_MANAGERS.md [moved from docs/WRITING_VM_AND_CONTAINER_MANAGERS.md with 100% similarity]
docs/_groups/CONVERTING_TO_HOMED.md [moved from docs/CONVERTING_TO_HOMED.md with 97% similarity]
docs/_groups/GROUP_RECORD.md [moved from docs/GROUP_RECORD.md with 99% similarity]
docs/_groups/HOME_DIRECTORY.md [moved from docs/HOME_DIRECTORY.md with 99% similarity]
docs/_groups/UIDS-GIDS.md [moved from docs/UIDS-GIDS.md with 100% similarity]
docs/_groups/USERDB_AND_DESKTOPS.md [moved from docs/USERDB_AND_DESKTOPS.md with 97% similarity]
docs/_groups/USER_GROUP_API.md [moved from docs/USER_GROUP_API.md with 99% similarity]
docs/_groups/USER_NAMES.md [moved from docs/USER_NAMES.md with 100% similarity]
docs/_groups/USER_RECORD.md [moved from docs/USER_RECORD.md with 99% similarity]
docs/_interfaces/BLOCK_DEVICE_LOCKING.md [moved from docs/BLOCK_DEVICE_LOCKING.md with 100% similarity]
docs/_interfaces/CGROUP_DELEGATION.md [moved from docs/CGROUP_DELEGATION.md with 100% similarity]
docs/_interfaces/CONTAINER_INTERFACE.md [moved from docs/CONTAINER_INTERFACE.md with 100% similarity]
docs/_interfaces/ELF_PACKAGE_METADATA.md [moved from docs/ELF_PACKAGE_METADATA.md with 100% similarity]
docs/_interfaces/ENVIRONMENT.md [moved from docs/ENVIRONMENT.md with 100% similarity]
docs/_interfaces/FILE_DESCRIPTOR_STORE.md [moved from docs/FILE_DESCRIPTOR_STORE.md with 100% similarity]
docs/_interfaces/INITRD_INTERFACE.md [moved from docs/INITRD_INTERFACE.md with 98% similarity]
docs/_interfaces/JOURNAL_EXPORT_FORMATS.md [moved from docs/JOURNAL_EXPORT_FORMATS.md with 99% similarity]
docs/_interfaces/JOURNAL_FILE_FORMAT.md [moved from docs/JOURNAL_FILE_FORMAT.md with 99% similarity]
docs/_interfaces/JOURNAL_NATIVE_PROTOCOL.md [moved from docs/JOURNAL_NATIVE_PROTOCOL.md with 100% similarity]
docs/_interfaces/MEMORY_PRESSURE.md [moved from docs/MEMORY_PRESSURE.md with 100% similarity]
docs/_interfaces/PASSWORD_AGENTS.md [moved from docs/PASSWORD_AGENTS.md with 100% similarity]
docs/_interfaces/PORTABILITY_AND_STABILITY.md [moved from docs/PORTABILITY_AND_STABILITY.md with 96% similarity]
docs/_interfaces/ROOT_STORAGE_DAEMONS.md [moved from docs/ROOT_STORAGE_DAEMONS.md with 99% similarity]
docs/_interfaces/TEMPORARY_DIRECTORIES.md [moved from docs/TEMPORARY_DIRECTORIES.md with 100% similarity]
docs/_interfaces/TRANSIENT-SETTINGS.md [moved from docs/TRANSIENT-SETTINGS.md with 100% similarity]
docs/_networking/NETWORK_ONLINE.md [moved from docs/NETWORK_ONLINE.md with 100% similarity]
docs/_networking/PREDICTABLE_INTERFACE_NAMES.md [moved from docs/PREDICTABLE_INTERFACE_NAMES.md with 100% similarity]
docs/_networking/RESOLVED-VPNS.md [moved from docs/RESOLVED-VPNS.md with 100% similarity]
docs/_userdocs/API_FILE_SYSTEMS.md [moved from docs/API_FILE_SYSTEMS.md with 100% similarity]
docs/_userdocs/DAEMON_SOCKET_ACTIVATION.md [moved from docs/DAEMON_SOCKET_ACTIVATION.md with 100% similarity]
docs/_userdocs/DEBUGGING.md [moved from docs/DEBUGGING.md with 100% similarity]
docs/_userdocs/FAQ.md [moved from docs/FAQ.md with 100% similarity]
docs/_userdocs/INCOMPATIBILITIES.md [moved from docs/INCOMPATIBILITIES.md with 98% similarity]
docs/_userdocs/MY_SERVICE_CANT_GET_REATLIME.md [moved from docs/MY_SERVICE_CANT_GET_REATLIME.md with 100% similarity]
docs/_userdocs/SEPARATE_USR_IS_BROKEN.md [moved from docs/SEPARATE_USR_IS_BROKEN.md with 100% similarity]
docs/_userdocs/TIPS_AND_TRICKS.md [moved from docs/TIPS_AND_TRICKS.md with 100% similarity]
docs/index.md
meson.build
test/units/testsuite-46.sh

index c4522a2bac635b07cc790dda5c5eea58588aa717..b3bcf9ed940dca35adef90db756dfb5e9d283d23 100644 (file)
--- a/README.md
+++ b/README.md
@@ -26,13 +26,13 @@ Information about build requirements is provided in the [README file](README).
 
 Consult our [NEWS file](NEWS) for information about what's new in the most recent systemd versions.
 
-Please see the [Code Map](docs/ARCHITECTURE.md) for information about this repository's layout and content.
+Please see the [Code Map](docs/_contributing/ARCHITECTURE.md) for information about this repository's layout and content.
 
-Please see the [Hacking guide](docs/HACKING.md) for information on how to hack on systemd and test your modifications.
+Please see the [Hacking guide](docs/_contributing/HACKING.md) for information on how to hack on systemd and test your modifications.
 
-Please see our [Contribution Guidelines](docs/CONTRIBUTING.md) for more information about filing GitHub Issues and posting GitHub Pull Requests.
+Please see our [Contribution Guidelines](docs/_contributing/CONTRIBUTING.md) for more information about filing GitHub Issues and posting GitHub Pull Requests.
 
-When preparing patches for systemd, please follow our [Coding Style Guidelines](docs/CODING_STYLE.md).
+When preparing patches for systemd, please follow our [Coding Style Guidelines](docs/_contributing/CODING_STYLE.md).
 
 If you are looking for support, please contact our [mailing list](https://lists.freedesktop.org/mailman/listinfo/systemd-devel), join our [IRC channel #systemd on libera.chat](https://web.libera.chat/#systemd) or [Matrix channel](https://matrix.to/#/#systemd-project:matrix.org)
 
similarity index 99%
rename from docs/BOOT_LOADER_INTERFACE.md
rename to docs/_booting/BOOT_LOADER_INTERFACE.md
index f915cbacc99bf81f25b7b737a4b904947bd594fb..a1f6b595680d21dfd3f1c7562cc8cb8110957ddd 100644 (file)
@@ -78,7 +78,7 @@ variables. All EFI variables use the vendor UUID
   * `1 << 1` â†’ The boot loader honours `LoaderConfigTimeoutOneShot` when set.
   * `1 << 2` â†’ The boot loader honours `LoaderEntryDefault` when set.
   * `1 << 3` â†’ The boot loader honours `LoaderEntryOneShot` when set.
-  * `1 << 4` â†’ The boot loader supports boot counting as described in [Automatic Boot Assessment](AUTOMATIC_BOOT_ASSESSMENT.md).
+  * `1 << 4` â†’ The boot loader supports boot counting as described in [Automatic Boot Assessment](AUTOMATIC_BOOT_ASSESSMENT).
   * `1 << 5` â†’ The boot loader supports looking for boot menu entries in the Extended Boot Loader Partition.
   * `1 << 6` â†’ The boot loader supports passing a random seed to the OS.
   * `1 << 13` â†’ The boot loader honours `menu-disabled` option when set.
similarity index 100%
rename from docs/COREDUMP.md
rename to docs/_concepts/COREDUMP.md
similarity index 99%
rename from docs/CREDENTIALS.md
rename to docs/_concepts/CREDENTIALS.md
index 153a42be5474df48b4dfe9b87c689456922ae963..ed30eacf2bffbfb01dfec800804692e27bbd1257 100644 (file)
@@ -59,7 +59,7 @@ purpose. Specifically, the following features are provided:
 8. Credentials are an effective way to pass parameters into services that run
    with `RootImage=` or `RootDirectory=` and thus cannot read these resources
    directly from the host directory tree.
-   Specifically, [Portable Services](PORTABLE_SERVICES.md) may be
+   Specifically, [Portable Services](PORTABLE_SERVICES) may be
    parameterized this way securely and robustly.
 
 9. Credentials can be binary and relatively large (though currently an overall
@@ -288,7 +288,7 @@ services where they are ultimately consumed.
    invokes. [`systemd-nspawn(1)`](https://www.freedesktop.org/software/systemd/man/systemd-nspawn.html#Credentials)'s
    `--set-credential=` and `--load-credential=` switches implement this, in
    order to pass arbitrary credentials from host to container payload. Also see
-   the [Container Interface](CONTAINER_INTERFACE.md) documentation.
+   the [Container Interface](CONTAINER_INTERFACE) documentation.
 
 2. Quite similar, VMs can be passed credentials via SMBIOS OEM strings (example
    qemu command line switch `-smbios
similarity index 99%
rename from docs/RANDOM_SEEDS.md
rename to docs/_concepts/RANDOM_SEEDS.md
index 8c9b7eee56f5459851150801c1b926aedb03ff2e..b2712ca741129a571921989a693ae573ff3d39ab 100644 (file)
@@ -384,7 +384,7 @@ This primarily leaves two kind of systems in the cold:
     for an introduction why. That said, any boot loader can re-implement the
     logic described above, and can pass a random seed that systemd as PID 1
     will then upload into the kernel's entropy pool. For details see the
-    [Boot Loader Interface](BOOT_LOADER_INTERFACE.md) documentation.
+    [Boot Loader Interface](BOOT_LOADER_INTERFACE) documentation.
 
 11. *Why not pass the boot loader random seed via kernel command line instead
     of as EFI variable?*
index 412db1f413ff15b2be687496cb34c9316ced087f..3d44889f80d5435ccd94282bc0ff55f6286ea2ec 100644 (file)
@@ -4,7 +4,32 @@ title: systemd
 baseurl: "" # the subpath of your site, e.g. /blog/
 url: "https://systemd.io" # the base hostname & protocol for your site
 
-permalink: /:title/
-
 # Build settings
 markdown: kramdown
+
+collections:
+  concepts:
+    title: 'Concepts'
+    output: true
+  contributing:
+    title: 'Contributing'
+    output: true
+  userdocs:
+    output: true
+    title: 'Documentation for Users and Administrators'
+  booting:
+    title: 'Booting'
+    output: true
+  interfaces:
+    title: 'Interfaces'
+    output: true
+  networking:
+    title: 'Networking'
+    output: true
+  groups:
+    title: 'Users, Groups and Home Directories'
+    output: true
+  devdocs:
+    title: 'Documentation for Developers'
+    output: true
+
similarity index 99%
rename from docs/ARCHITECTURE.md
rename to docs/_contributing/ARCHITECTURE.md
index 33486203a6553b130a1f2513c1389be4d669f65b..1478ea0ef2ff0f0548244df34a2d1b7e435780ec 100644 (file)
@@ -145,7 +145,7 @@ as a normal executable and executed for each of the input samples under
 with sanitizers and invoked as part of the test suite (if `-Dfuzz-tests=true`
 is configured). Thirdly, fuzzers are executed through fuzzing engines that try
 to find new "interesting" inputs through coverage feedback and massive
-parallelization; see the links for oss-fuzz in [Code quality](CODE_QUALITY.md).
+parallelization; see the links for oss-fuzz in [Code quality](CODE_QUALITY).
 For testing and debugging, fuzzers can be executed as any other program,
 including under `valgrind` or `gdb`.
 
similarity index 99%
rename from docs/CODE_QUALITY.md
rename to docs/_contributing/CODE_QUALITY.md
index 0f983bd2997a7375c06a1be923fe0d6ec43bfe12..166b307b66b1a4e5422dd3105ee922566fe6efd2 100644 (file)
@@ -75,7 +75,7 @@ available functionality:
 
 15. Each PR is automatically tested with [Address Sanitizer](https://clang.llvm.org/docs/AddressSanitizer.html)
     and [Undefined Behavior Sanitizer](https://clang.llvm.org/docs/UndefinedBehaviorSanitizer.html).
-    See [Testing systemd using sanitizers](TESTING_WITH_SANITIZERS.md)
+    See [Testing systemd using sanitizers](TESTING_WITH_SANITIZERS)
     for more information.
 
 16. Fossies provides [source code misspelling reports](https://fossies.org/features.html#codespell).
similarity index 97%
rename from docs/CONTRIBUTING.md
rename to docs/_contributing/CONTRIBUTING.md
index e0f7c1d3ee42dc2bb72c7eb002834bc20a35fb70..f59997224330002956576eea8b9f300b6ed0cec8 100644 (file)
@@ -29,13 +29,13 @@ For older versions that are still supported by your distribution please use resp
 
 ## Security vulnerability reports
 
-See [reporting of security vulnerabilities](SECURITY.md).
+See [reporting of security vulnerabilities](SECURITY).
 
 ## Posting Pull Requests
 
 * Make sure to post PRs only relative to a recent tip of the `main` branch.
-* Follow our [Coding Style](CODING_STYLE.md) when contributing code. This is a requirement for all code we merge.
-* Please make sure to test your change before submitting the PR. See the [Hacking guide](HACKING.md) for details on how to do this.
+* Follow our [Coding Style](CODING_STYLE) when contributing code. This is a requirement for all code we merge.
+* Please make sure to test your change before submitting the PR. See the [Hacking guide](HACKING) for details on how to do this.
 * Make sure to run the test suite locally, before posting your PR. We use a CI system, meaning we don't even look at your PR if the build and tests don't pass.
 * If you need to update the code in an existing PR, force-push into the same branch, overriding old commits with new versions.
 * After you have pushed a new version, add a comment explaining the latest changes. If you are a member of the systemd project on GitHub, remove the `reviewed/needs-rework`/`ci-fails/needs-rework`/`needs-rebase` labels.
similarity index 98%
rename from docs/HACKING.md
rename to docs/_contributing/HACKING.md
index bd792092f798051022c2b7e7575a65b521ecf72d..270c39b587a2f81fe0205449768fcaaae44a8ba7 100644 (file)
@@ -11,8 +11,8 @@ We welcome all contributions to systemd. If you notice a bug or a missing
 feature, please feel invited to fix it, and submit your work as a
 [GitHub Pull Request (PR)](https://github.com/systemd/systemd/pull/new).
 
-Please make sure to follow our [Coding Style](CODING_STYLE.md) when submitting
-patches. Also have a look at our [Contribution Guidelines](CONTRIBUTING.md).
+Please make sure to follow our [Coding Style](CODING_STYLE) when submitting
+patches. Also have a look at our [Contribution Guidelines](CONTRIBUTING).
 
 When adding new functionality, tests should be added. For shared functionality
 (in `src/basic/` and `src/shared/`) unit tests should be sufficient. The general
@@ -23,7 +23,7 @@ test executable. For features at a higher level, tests in `src/test/` are very
 strongly recommended. If that is not possible, integration tests in `test/` are
 encouraged.
 
-Please also have a look at our list of [code quality tools](CODE_QUALITY.md) we
+Please also have a look at our list of [code quality tools](CODE_QUALITY) we
 have setup for systemd, to ensure our codebase stays in good shape.
 
 Please always test your work before submitting a PR. For many of the components
@@ -148,7 +148,7 @@ distribution and can be disabled by setting `-Dmode=release`.
 
 ## Sanitizers in mkosi
 
-See [Testing systemd using sanitizers](TESTING_WITH_SANITIZERS.md) for more information
+See [Testing systemd using sanitizers](TESTING_WITH_SANITIZERS) for more information
 on how to build with sanitizers enabled in mkosi.
 
 ## Fuzzers
@@ -211,7 +211,7 @@ done
 ```
 
 If you find a bug that impacts the security of systemd, please follow the
-guidance in [CONTRIBUTING.md](CONTRIBUTING.md) on how to report a security vulnerability.
+guidance in [CONTRIBUTING.md](CONTRIBUTING) on how to report a security vulnerability.
 
 For more details on building fuzzers and integrating with OSS-Fuzz, visit:
 
index a393bb067a422dd390e77f9c38cbd94fa2a68186..908e3a83dc0d3b3650978316786a3dd44d5eb2f1 100644 (file)
@@ -1,44 +1,4 @@
 [
-  {
-    "category": "Project",
-    "title": "mkosi Project - Build Bespoke OS Images",
-    "url": "https://mkosi.systemd.io/"
-  },
-  {
-    "category": "Project",
-    "title": "Brand",
-    "url": "https://brand.systemd.io/"
-  },
-  {
-    "category": "Project",
-    "title": "Mailing List",
-    "url": "https://lists.freedesktop.org/mailman/listinfo/systemd-devel"
-  },
-  {
-    "category": "Project",
-    "title": "Mastodon",
-    "url": "https://mastodon.social/@pid_eins"
-  },
-  {
-    "category": "Project",
-    "title": "Releases",
-    "url": "https://github.com/systemd/systemd/releases"
-  },
-  {
-    "category": "Project",
-    "title": "GitHub Project Page",
-    "url": "https://github.com/systemd/systemd"
-  },
-  {
-    "category": "Project",
-    "title": "Issues",
-    "url": "https://github.com/systemd/systemd/issues"
-  },
-  {
-    "category": "Project",
-    "title": "Pull Requests",
-    "url": "https://github.com/systemd/systemd/pulls"
-  },
   {
     "category": "Manual Pages",
     "title": "Index",
diff --git a/docs/_data/project.json b/docs/_data/project.json
new file mode 100644 (file)
index 0000000..606c784
--- /dev/null
@@ -0,0 +1,42 @@
+[
+  {
+    "category": "Project",
+    "title": "mkosi Project - Build Bespoke OS Images",
+    "url": "https://mkosi.systemd.io/"
+  },
+  {
+    "collection": "project",
+    "title": "Brand",
+    "url": "https://brand.systemd.io/"
+  },
+  {
+    "collection": "project",
+    "title": "Mailing List",
+    "url": "https://lists.freedesktop.org/mailman/listinfo/systemd-devel"
+  },
+  {
+    "collection": "project",
+    "title": "Mastodon",
+    "url": "https://mastodon.social/@pid_eins"
+  },
+  {
+    "collection": "project",
+    "title": "Releases",
+    "url": "https://github.com/systemd/systemd/releases"
+  },
+  {
+    "collection": "project",
+    "title": "GitHub Project Page",
+    "url": "https://github.com/systemd/systemd"
+  },
+  {
+    "collection": "project",
+    "title": "Issues",
+    "url": "https://github.com/systemd/systemd/issues"
+  },
+  {
+    "collection": "project",
+    "title": "Pull Requests",
+    "url": "https://github.com/systemd/systemd/pulls"
+  }
+]
similarity index 100%
rename from docs/BACKPORTS.md
rename to docs/_devdocs/BACKPORTS.md
similarity index 100%
rename from docs/BOOT.md
rename to docs/_devdocs/BOOT.md
similarity index 100%
rename from docs/CATALOG.md
rename to docs/_devdocs/CATALOG.md
similarity index 100%
rename from docs/PRESET.md
rename to docs/_devdocs/PRESET.md
similarity index 100%
rename from docs/SYSLOG.md
rename to docs/_devdocs/SYSLOG.md
similarity index 97%
rename from docs/CONVERTING_TO_HOMED.md
rename to docs/_groups/CONVERTING_TO_HOMED.md
index 06fc66f1950568f80475d082c6373bce87917ff3..5416a22276734248fbbeec6d0b8cf913e3097bc7 100644 (file)
@@ -16,10 +16,10 @@ it might be desirable to convert an existing, traditional user account to a
 
 Before continuing, please read up on these basic concepts:
 
-* [Home Directories](HOME_DIRECTORY.md)
-* [JSON User Records](USER_RECORD.md)
-* [JSON Group Records](GROUP_RECORD.md)
-* [User/Group Record Lookup API via Varlink](USER_GROUP_API.md)
+* [Home Directories](HOME_DIRECTORY)
+* [JSON User Records](USER_RECORD)
+* [JSON Group Records](GROUP_RECORD)
+* [User/Group Record Lookup API via Varlink](USER_GROUP_API)
 
 ## Caveat
 
similarity index 99%
rename from docs/GROUP_RECORD.md
rename to docs/_groups/GROUP_RECORD.md
index c9d51cef9d0e4c89ad0be3a9287eac9ed7d5c727..f463b0a2a7b0bb9a04d48f2339c00d3e3e52ac37 100644 (file)
@@ -8,7 +8,7 @@ SPDX-License-Identifier: LGPL-2.1-or-later
 # JSON Group Records
 
 Long story short: JSON Group Records are to `struct group` what
-[JSON User Records](USER_RECORD.md) are to `struct passwd`.
+[JSON User Records](USER_RECORD) are to `struct passwd`.
 
 Conceptually, much of what applies to JSON user records also applies to JSON
 group records. They also consist of seven sections, with similar properties and
similarity index 99%
rename from docs/HOME_DIRECTORY.md
rename to docs/_groups/HOME_DIRECTORY.md
index f6e061bd2b75e45152e8ce4e49a8189f6f35d466..f1b7fafed94c88d1aca05dd598540c379fd92f82 100644 (file)
@@ -19,7 +19,7 @@ mechanism used.
 
 Inside of the home directory a file `~/.identity` contains the JSON formatted
 user record of the user. It follows the format defined in
-[`JSON User Records`](USER_RECORD.md). It is recommended to bring the
+[`JSON User Records`](USER_RECORD). It is recommended to bring the
 record into 'normalized' form (i.e. all objects should contain their fields
 sorted alphabetically by their key) before storing it there, though this is not
 required nor enforced. Since the user record is cryptographically signed, the
similarity index 100%
rename from docs/UIDS-GIDS.md
rename to docs/_groups/UIDS-GIDS.md
similarity index 97%
rename from docs/USERDB_AND_DESKTOPS.md
rename to docs/_groups/USERDB_AND_DESKTOPS.md
index 9006eeb5ec3c83048c8f14b383d9e1eeafe5a3b1..3a3da1317aa64a223373a27ad75acb6d05239b59 100644 (file)
@@ -21,10 +21,10 @@ are recommended. A few areas where that applies are discussed below.
 
 Before reading on, please read up on the basic concepts, specifically:
 
-* [Home Directories](HOME_DIRECTORY.md)
-* [JSON User Records](USER_RECORD.md)
-* [JSON Group Records](GROUP_RECORD.md)
-* [User/Group Record Lookup API via Varlink](USER_GROUP_API.md)
+* [Home Directories](HOME_DIRECTORY)
+* [JSON User Records](USER_RECORD)
+* [JSON Group Records](GROUP_RECORD)
+* [User/Group Record Lookup API via Varlink](USER_GROUP_API)
 
 ## Support for Suspending Home Directory Access during System Suspend
 
@@ -147,7 +147,7 @@ solution only.
 In case you wonder, there's no automatic mechanism for converting existing
 users registered in `/etc/passwd` or LDAP to users managed by
 `systemd-homed`. There's documentation for doing this manually though, see
-[Converting Existing Users to systemd-homed managed Users](CONVERTING_TO_HOMED.md).
+[Converting Existing Users to systemd-homed managed Users](CONVERTING_TO_HOMED).
 
 ## Future Additions
 
similarity index 99%
rename from docs/USER_GROUP_API.md
rename to docs/_groups/USER_GROUP_API.md
index 45e3c9da27f7dec8a38df2e79d43913495b45ad6..567b8178f28df3300a45dc1b300ed1d485b06f5a 100644 (file)
@@ -7,8 +7,8 @@ SPDX-License-Identifier: LGPL-2.1-or-later
 
 # User/Group Record Lookup API via Varlink
 
-JSON User/Group Records (as described in the [JSON User Records](USER_RECORD.md)
-and [JSON Group Records](GROUP_RECORD.md) documents) that are defined on the
+JSON User/Group Records (as described in the [JSON User Records](USER_RECORD)
+and [JSON Group Records](GROUP_RECORD) documents) that are defined on the
 local system may be queried with a [Varlink](https://varlink.org/) API. This
 API takes both the role of what
 [`getpwnam(3)`](https://man7.org/linux/man-pages/man3/getpwnam.3.html) and
similarity index 99%
rename from docs/USER_RECORD.md
rename to docs/_groups/USER_RECORD.md
index f28106797e0d76c9f30f3ff92814f42787ec4101..b88a67e66b88f28dfb90a20db7b401576a1dfaf7 100644 (file)
@@ -15,7 +15,7 @@ pairs, encoded as JSON. Specifically:
 1. [`systemd-homed.service`](https://www.freedesktop.org/software/systemd/man/systemd-homed.service.html)
    manages `human` user home directories and embeds these JSON records
    directly in the home directory images
-   (see [Home Directories](HOME_DIRECTORY.md) for details).
+   (see [Home Directories](HOME_DIRECTORY) for details).
 
 2. [`pam_systemd`](https://www.freedesktop.org/software/systemd/man/pam_systemd.html)
    processes these JSON records for users that log in, and applies various
@@ -72,7 +72,7 @@ the following extensions are envisioned:
 4. Default parameters for backup applications and similar
 
 Similar to JSON User Records there are also
-[JSON Group Records](GROUP_RECORD.md) that encapsulate UNIX groups.
+[JSON Group Records](GROUP_RECORD) that encapsulate UNIX groups.
 
 JSON User Records are not suitable for storing all identity information about
 the user, such as binary data or large unstructured blobs of text. These parts
@@ -80,7 +80,7 @@ of a user's identity should be stored in the [Blob Directories](USER_RECORD_BLOB
 
 JSON User Records may be transferred or written to disk in various protocols
 and formats. To inquire about such records defined on the local system use the
-[User/Group Lookup API via Varlink](USER_GROUP_API.md). User/group records may
+[User/Group Lookup API via Varlink](USER_GROUP_API). User/group records may
 also be dropped in number of drop-in directories as files. See
 [`nss-systemd(8)`](https://www.freedesktop.org/software/systemd/man/nss-systemd.html)
 for details.
@@ -218,7 +218,7 @@ object. The following fields are currently defined:
 UNIX user name. This field is the only mandatory field, all others are
 optional. Corresponds with the `pw_name` field of `struct passwd` and the
 `sp_namp` field of `struct spwd` (i.e. the shadow user record stored in
-`/etc/shadow`). See [User/Group Name Syntax](USER_NAMES.md) for
+`/etc/shadow`). See [User/Group Name Syntax](USER_NAMES) for
 the (relaxed) rules the various systemd components enforce on user/group names.
 
 `realm` â†’ The "realm" a user is defined in. This concept allows distinguishing
similarity index 98%
rename from docs/INITRD_INTERFACE.md
rename to docs/_interfaces/INITRD_INTERFACE.md
index 4e856f89177fca568ccd361df5d0a4c8592b73fc..0461ae2607b9000f3d9d5ba0125de644c32d6151 100644 (file)
@@ -40,7 +40,7 @@ Arch Linux initrds.
   line options, for example `--log-level=` and similar.
 
 * Storage daemons run from the initrd should follow the guide on
-  [systemd and Storage Daemons for the Root File System](ROOT_STORAGE_DAEMONS.md)
+  [systemd and Storage Daemons for the Root File System](ROOT_STORAGE_DAEMONS)
   to survive properly from the boot initrd all the way to the point where
   systemd jumps back into the initrd for shutdown.
 
@@ -67,4 +67,4 @@ systemd. Here are a few terse notes:
 
 * The switch-root operation will result in a killing spree of all running
   processes. Some processes might need to be excluded from that, see the guide
-  on [systemd and Storage Daemons for the Root File System](ROOT_STORAGE_DAEMONS.md).
+  on [systemd and Storage Daemons for the Root File System](ROOT_STORAGE_DAEMONS).
similarity index 99%
rename from docs/JOURNAL_EXPORT_FORMATS.md
rename to docs/_interfaces/JOURNAL_EXPORT_FORMATS.md
index 2c4078aed927ed1487af414bf619256ffc24da18..e1eb0d36d1c54ce3b35acd5a1b69dd37f394bc5f 100644 (file)
@@ -11,7 +11,7 @@ SPDX-License-Identifier: LGPL-2.1-or-later
 
 _Note that this document describes the binary serialization format of journals only, as used for transfer across the network.
 For interfacing with web technologies there's the Journal JSON Format, described below.
-The binary format on disk is documented as the [Journal File Format](JOURNAL_FILE_FORMAT.md)._
+The binary format on disk is documented as the [Journal File Format](JOURNAL_FILE_FORMAT)._
 
 _Before reading on, please make sure you are aware of the [basic properties of journal entries](https://www.freedesktop.org/software/systemd/man/systemd.journal-fields.html), in particular realize that they may include binary non-text data (though usually don't), and the same field might have multiple values assigned within the same entry (though usually hasn't)._
 
@@ -124,7 +124,7 @@ _SOURCE_REALTIME_TIMESTAMP=1423944916372858
 
 _Note that this section describes the JSON serialization format of the journal only, as used for interfacing with web technologies.
 For binary transfer of journal data across the network there's the Journal Export Format described above.
-The binary format on disk is documented as [Journal File Format](JOURNAL_FILE_FORMAT.md)._
+The binary format on disk is documented as [Journal File Format](JOURNAL_FILE_FORMAT)._
 
 _Before reading on, please make sure you are aware of the [basic properties of journal entries](https://www.freedesktop.org/software/systemd/man/systemd.journal-fields.html), in particular realize that they may include binary non-text data (though usually don't), and the same field might have multiple values assigned within the same entry (though usually hasn't)._
 
similarity index 99%
rename from docs/JOURNAL_FILE_FORMAT.md
rename to docs/_interfaces/JOURNAL_FILE_FORMAT.md
index a3edb56c88ec6af7cb332a123aec56c946d0bfa4..e0737c59332717fc9cbf5ae8149f1ddc272e5f43 100644 (file)
@@ -46,7 +46,7 @@ _Or, to put this in other words: this low-level document is probably not what
 you want to use as base of your project. You want our [C
 API](https://www.freedesktop.org/software/systemd/man/sd-journal.html) instead!
 And if you really don't want the C API, then you want the
-[Journal Export Format or Journal JSON Format](JOURNAL_EXPORT_FORMATS.md)
+[Journal Export Format or Journal JSON Format](JOURNAL_EXPORT_FORMATS)
 instead! This document is primarily for your entertainment and education.
 Thank you!_
 
similarity index 96%
rename from docs/PORTABILITY_AND_STABILITY.md
rename to docs/_interfaces/PORTABILITY_AND_STABILITY.md
index 2854857d2b3972f28844cf2c9a9ab4a0f04746bc..abdc3dc65802d2eade83b4c9855a9d95edf7d6b9 100644 (file)
@@ -83,9 +83,9 @@ And now, here's the list of (hopefully) all APIs that we have introduced with sy
 | [hostnamed](https://www.freedesktop.org/software/systemd/man/org.freedesktop.hostname1.html) | D-Bus | yes | yes | GNOME | yes | [Ubuntu](https://launchpad.net/ubuntu/+source/ubuntu-system-service), [Gentoo](http://www.gentoo.org/proj/en/desktop/gnome/openrc-settingsd.xml), [BSD](http://uglyman.kremlin.cc/gitweb/gitweb.cgi?p=systembsd.git;a=summary) | partially |
 | [localed](https://www.freedesktop.org/software/systemd/man/org.freedesktop.locale1.html) | D-Bus | yes | yes | GNOME | yes | [Ubuntu](https://launchpad.net/ubuntu/+source/ubuntu-system-service), [Gentoo](http://www.gentoo.org/proj/en/desktop/gnome/openrc-settingsd.xml), [BSD](http://uglyman.kremlin.cc/gitweb/gitweb.cgi?p=systembsd.git;a=summary) | partially |
 | [timedated](https://www.freedesktop.org/software/systemd/man/org.freedesktop.timedate1.html) | D-Bus | yes | yes | GNOME | yes | [Gentoo](http://www.gentoo.org/proj/en/desktop/gnome/openrc-settingsd.xml), [BSD](http://uglyman.kremlin.cc/gitweb/gitweb.cgi?p=systembsd.git;a=summary) | partially |
-| [initrd interface](INITRD_INTERFACE.md) | Environment, flag files | yes | yes | mkosi, dracut, ArchLinux | yes | ArchLinux | no |
-| [Container interface](CONTAINER_INTERFACE.md) | Environment, Mounts | yes | yes | libvirt/LXC | yes | - | no |
-| [Boot Loader interface](BOOT_LOADER_INTERFACE.md) | EFI variables | yes | yes | gummiboot | yes | - | no |
+| [initrd interface](INITRD_INTERFACE) | Environment, flag files | yes | yes | mkosi, dracut, ArchLinux | yes | ArchLinux | no |
+| [Container interface](CONTAINER_INTERFACE) | Environment, Mounts | yes | yes | libvirt/LXC | yes | - | no |
+| [Boot Loader interface](BOOT_LOADER_INTERFACE) | EFI variables | yes | yes | gummiboot | yes | - | no |
 | [Service bus API](https://www.freedesktop.org/software/systemd/man/org.freedesktop.systemd1.html) | D-Bus | yes | yes | system-config-services | no | - | no |
 | [logind](https://www.freedesktop.org/software/systemd/man/org.freedesktop.login1.html) | D-Bus | yes | yes | GNOME | no | - | no |
 | [sd-bus.h API](https://www.freedesktop.org/software/systemd/man/sd-bus.html) | C Library | yes | yes | - | maybe | - | maybe |
@@ -102,15 +102,15 @@ And now, here's the list of (hopefully) all APIs that we have introduced with sy
 | [$XDG_RUNTIME_DIR](https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html) | Environment | yes | yes | glib, GNOME | yes | - | no |
 | [$LISTEN_FDS $LISTEN_PID FD Passing](https://www.freedesktop.org/software/systemd/man/sd_listen_fds.html) | Environment | yes | yes | numerous (via sd-daemon.h) | yes | - | no |
 | [$NOTIFY_SOCKET Daemon Notifications](https://www.freedesktop.org/software/systemd/man/sd_notify.html) | Environment | yes | yes | a few, including udev | yes | - | no |
-| [argv&#91;0&#93;&#91;0&#93;='@' Logic](ROOT_STORAGE_DAEMONS.md) | `/proc` marking | yes | yes | mdadm | yes | - | no |
+| [argv&#91;0&#93;&#91;0&#93;='@' Logic](ROOT_STORAGE_DAEMONS) | `/proc` marking | yes | yes | mdadm | yes | - | no |
 | [Unit file format](https://www.freedesktop.org/software/systemd/man/systemd.unit.html) | File format | yes | yes | numerous | no | - | no |
 | [Network](https://www.freedesktop.org/software/systemd/man/systemd.network.html) & [Netdev file format](https://www.freedesktop.org/software/systemd/man/systemd.netdev.html) | File format | yes | yes | no | no | - | no |
 | [Link file format](https://www.freedesktop.org/software/systemd/man/systemd.link.html) | File format | yes | yes | no | no | - | no |
-| [Journal File Format](JOURNAL_FILE_FORMAT.md) | File format | yes | yes | - | maybe | - | no |
+| [Journal File Format](JOURNAL_FILE_FORMAT) | File format | yes | yes | - | maybe | - | no |
 | [Journal Export Format](JOURNAL_EXPORT_FORMATS.md#journal-export-format) | File format | yes | yes | - | yes | - | no |
 | [Journal JSON Format](JOURNAL_EXPORT_FORMATS.md#journal-json-format) | File format | yes | yes | - | yes | - | no |
 | [Cooperation in cgroup tree](https://www.freedesktop.org/wiki/Software/systemd/PaxControlGroups) | Treaty | yes | yes | libvirt | yes | libvirt | no |
-| [Password Agents](PASSWORD_AGENTS.md) | Socket+Files | yes | yes | - | yes | - | no |
+| [Password Agents](PASSWORD_AGENTS) | Socket+Files | yes | yes | - | yes | - | no |
 | [udev multi-seat properties](https://www.freedesktop.org/software/systemd/man/sd-login.html) | udev Property | yes | yes | X11, gdm | no | - | no |
 | udev session switch ACL properties | udev Property | no | no | - | no | - | no |
 | [CLI of systemctl,...](https://www.freedesktop.org/software/systemd/man/systemctl.html) | CLI | yes | yes | numerous | no | - | no |
similarity index 99%
rename from docs/ROOT_STORAGE_DAEMONS.md
rename to docs/_interfaces/ROOT_STORAGE_DAEMONS.md
index 1ffebd649843589e2c7e7ed7429eee64360ddbe1..69812c905591e0b49132857c151a124f2aaeb00b 100644 (file)
@@ -106,7 +106,7 @@ to find a different solution to your problem._
 
 The recommended way to distinguish between run-from-initrd and run-from-rootfs
 for a daemon is to check for `/etc/initrd-release` (which exists on all modern
-initrd implementations, see the [initrd Interface](INITRD_INTERFACE.md) for
+initrd implementations, see the [initrd Interface](INITRD_INTERFACE) for
 details) which when exists results in `argv[0][0]` being set to `@`, and
 otherwise doesn't. Something like this:
 
@@ -191,4 +191,4 @@ few additional notes for supporting these setups:
   program consult this blog story: [Socket
   Activation](https://0pointer.de/blog/projects/socket-activation.html)
 
-* Consider having a look at the [initrd Interface of systemd](INITRD_INTERFACE.md).
+* Consider having a look at the [initrd Interface of systemd](INITRD_INTERFACE).
similarity index 100%
rename from docs/FAQ.md
rename to docs/_userdocs/FAQ.md
similarity index 98%
rename from docs/INCOMPATIBILITIES.md
rename to docs/_userdocs/INCOMPATIBILITIES.md
index a7a2c1b8275a9a410055bdefa72edc96c8470dd0..be256deaf261eb6c5616d3b541d5f55289770678 100644 (file)
@@ -13,7 +13,7 @@ systemd provides a fair degree of compatibility with the behavior exposed by the
 * LSB header dependency information matters. The SysV implementations on many distributions did not use the dependency information encoded in LSB init script headers, or used them only in very limited ways. Due to that they are often incorrect or incomplete. systemd however fully interprets these headers and follows them closely at runtime (and not at installation time like some implementations).
 * Timeouts apply to all init script operations in systemd. While on SysV systems a hanging init script could freeze the system on systemd all init script operations are subject to a timeout of 5min.
 * Services are executed in completely clean execution contexts, no context of the invoking user session is inherited. Not even $HOME or similar are set. Init scripts depending on these will not work correctly.
-* Services cannot read from stdin, as this will be connected to /dev/null. That means interactive init scripts are not supported (i.e. Debian's X-Interactive in the LSB header is not supported either.) Thankfully most distributions do not support interaction in init scripts anyway. If you need interaction to ask disk or SSL passphrases please consider using the minimal password querying framework systemd supports. ([details](../PASSWORD_AGENTS), [manual page](http://0pointer.de/public/systemd-man/systemd-ask-password.html))
+* Services cannot read from stdin, as this will be connected to /dev/null. That means interactive init scripts are not supported (i.e. Debian's X-Interactive in the LSB header is not supported either.) Thankfully most distributions do not support interaction in init scripts anyway. If you need interaction to ask disk or SSL passphrases please consider using the minimal password querying framework systemd supports. ([details](PASSWORD_AGENTS), [manual page](http://0pointer.de/public/systemd-man/systemd-ask-password.html))
 * Additional verbs for init scripts are not supported. If your init script traditionally supported additional verbs for your init script simply move them to an auxiliary script.
 * Additional parameters to the standard verbs (i.e. to "start", "stop" and "status") are not supported. This was an extension of SysV that never was standardized officially, and is not supported in systemd.
 * Overriding the "restart" verb is not supported. This verb is always implemented by systemd itself, and consists of a "stop" followed by a "start".
index 3c05c93550412da74cabf3b0da370cd714d86d5d..cd3916ca32078f6eb1d16712791d84d8de6c139e 100644 (file)
@@ -12,17 +12,27 @@ systemd provides aggressive parallelization capabilities, uses socket and D-Bus
 Other parts include a logging daemon, utilities to control basic system configuration like the hostname, date, locale, maintain a list of logged-in users and running containers and virtual machines, system accounts, runtime directories and settings, and daemons to manage simple network configuration, network time synchronization, log forwarding, and name resolution.
 
 ---
+## Project
+{% for page in site.data.project %}
+* [{{ page.title }}]({{ page.url | relative_url }}){% endfor %}
+
+<!-- Collections -->
+{% for c in site.collections %}
+<!-- hide autegenerated posts collection -->
+{% if c.label != "posts" %}
+## {{ c.title }}
+{% for item in site[c.label] %}
+* [{{ item.title }}]({{ item.url | relative_url }}){% endfor %}
+{% endif %}
+{% endfor %}
 
-{% 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" %}
+<!-- external pages -->
+{% assign external_pages = site.data.extra_pages | group_by:"category" %}
 
-{% for pair in merged %}
-  {% if pair.name != "" %}
-## {{ pair.name }}
-{% assign sorted = pair.items | sort:"title" %}{% for page in sorted %}
+{% for category in external_pages %}
+## {{ category.name }}
+{% assign sorted = category.items | sort:"title" %}{% for page in sorted %}
 * [{{ page.title }}]({{ page.url | relative_url }}){% endfor %}
-  {% endif %}
 {% endfor %}
 
 ## See also
index bf9b8c7e7496679ea1910504a2761e617ae3d139..7b6f0716fecc305050bd5f68a350366b794130a7 100644 (file)
@@ -2513,13 +2513,13 @@ install_data('LICENSE.GPL2',
              'LICENSE.LGPL2.1',
              'NEWS',
              'README',
-             'docs/CODING_STYLE.md',
-             'docs/DISTRO_PORTING.md',
-             'docs/ENVIRONMENT.md',
-             'docs/HACKING.md',
-             'docs/TRANSIENT-SETTINGS.md',
-             'docs/TRANSLATORS.md',
-             'docs/UIDS-GIDS.md',
+             'docs/_contributing/CODING_STYLE.md',
+             'docs/_concepts/DISTRO_PORTING.md',
+             'docs/_interfaces/ENVIRONMENT.md',
+             'docs/_contributing/HACKING.md',
+             'docs/_interfaces/TRANSIENT-SETTINGS.md',
+             'docs/_contributing/TRANSLATORS.md',
+             'docs/_groups/UIDS-GIDS.md',
              install_dir : docdir)
 
 install_subdir('LICENSES',
index d097ccdac8c4cd09333f68ab36bb80ce6071ad25..52f92c5f570464e4e4ebbf02c97b3171745f435c 100755 (executable)
@@ -305,7 +305,7 @@ homectl remove blob-user
 export PAGER=
 
 # Create a couple of user/group records to test io.systemd.DropIn
-# See docs/USER_RECORD.md and docs/GROUP_RECORD.md
+# See docs/_groups/USER_RECORD.md and docs/_groups/GROUP_RECORD.md
 mkdir -p /run/userdb/
 cat >"/run/userdb/dropingroup.group" <<\EOF
 {