Merge pull request #14306 from poettering/markdown-category
beef up systemd.io pages with simple categorization
This commit is contained in:
commit
b65cb5cb7a
|
@ -1,5 +1,6 @@
|
||||||
---
|
---
|
||||||
title: Automatic Boot Assessment
|
title: Automatic Boot Assessment
|
||||||
|
category: Booting
|
||||||
---
|
---
|
||||||
|
|
||||||
# Automatic Boot Assessment
|
# Automatic Boot Assessment
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
---
|
---
|
||||||
title: Locking Block Device Access
|
title: Locking Block Device Access
|
||||||
|
category: Interfaces
|
||||||
---
|
---
|
||||||
|
|
||||||
# Locking Block Device Access
|
# Locking Block Device Access
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
---
|
---
|
||||||
title: The Boot Loader Interface
|
title: The Boot Loader Interface
|
||||||
|
category: Booting
|
||||||
---
|
---
|
||||||
|
|
||||||
# The Boot Loader Interface
|
# The Boot Loader Interface
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
---
|
---
|
||||||
title: The Boot Loader Specification
|
title: The Boot Loader Specification
|
||||||
|
category: Booting
|
||||||
---
|
---
|
||||||
|
|
||||||
# The Boot Loader Specification
|
# The Boot Loader Specification
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
---
|
---
|
||||||
title: Control Group APIs and Delegation
|
title: Control Group APIs and Delegation
|
||||||
|
category: Interfaces
|
||||||
---
|
---
|
||||||
|
|
||||||
# Control Group APIs and Delegation
|
# Control Group APIs and Delegation
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
---
|
---
|
||||||
title: The systemd Community Conduct Guidelines
|
title: The systemd Community Conduct Guidelines
|
||||||
|
category: Contributing
|
||||||
---
|
---
|
||||||
|
|
||||||
# The systemd Community Conduct Guidelines
|
# The systemd Community Conduct Guidelines
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
---
|
---
|
||||||
title: Code Quality Tools
|
title: Code Quality Tools
|
||||||
|
category: Contributing
|
||||||
---
|
---
|
||||||
|
|
||||||
# Code Quality Tools
|
# Code Quality Tools
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
---
|
---
|
||||||
title: Coding Style
|
title: Coding Style
|
||||||
|
category: Contributing
|
||||||
---
|
---
|
||||||
|
|
||||||
# Coding Style
|
# Coding Style
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
---
|
---
|
||||||
title: Contributing
|
title: Contributing
|
||||||
|
category: Contributing
|
||||||
---
|
---
|
||||||
|
|
||||||
# Contributing
|
# Contributing
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
---
|
---
|
||||||
title: Porting systemd To New Distributions
|
title: Porting systemd To New Distributions
|
||||||
|
category: Concepts
|
||||||
---
|
---
|
||||||
|
|
||||||
# Porting systemd To New Distributions
|
# Porting systemd To New Distributions
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
---
|
---
|
||||||
title: Known Environment Variables
|
title: Known Environment Variables
|
||||||
|
category: Interfaces
|
||||||
---
|
---
|
||||||
|
|
||||||
# Known Environment Variables
|
# Known Environment Variables
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
---
|
---
|
||||||
title: Hacking on systemd
|
title: Hacking on systemd
|
||||||
|
category: Contributing
|
||||||
---
|
---
|
||||||
|
|
||||||
# Hacking on systemd
|
# Hacking on systemd
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
---
|
---
|
||||||
title: Portable Services Introduction
|
title: Portable Services Introduction
|
||||||
|
category: Concepts
|
||||||
---
|
---
|
||||||
|
|
||||||
# Portable Services Introduction
|
# Portable Services Introduction
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
---
|
---
|
||||||
title: Predictable Network Interface Names
|
title: Predictable Network Interface Names
|
||||||
|
category: Concepts
|
||||||
---
|
---
|
||||||
|
|
||||||
# Predictable Network Interface Names
|
# Predictable Network Interface Names
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
---
|
---
|
||||||
title: Random Seeds
|
title: Random Seeds
|
||||||
|
category: Concepts
|
||||||
---
|
---
|
||||||
|
|
||||||
# Random Seeds
|
# Random Seeds
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
---
|
---
|
||||||
title: Steps to a Successful Release
|
title: Steps to a Successful Release
|
||||||
|
category: Contributing
|
||||||
---
|
---
|
||||||
|
|
||||||
# Steps to a Successful Release
|
# Steps to a Successful Release
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
---
|
---
|
||||||
title: Reporting of security vulnerabilities
|
title: Reporting of security vulnerabilities
|
||||||
|
category: Contributing
|
||||||
---
|
---
|
||||||
|
|
||||||
# Reporting of security vulnerabilities
|
# Reporting of security vulnerabilities
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
---
|
---
|
||||||
title: Using /tmp/ And /var/tmp/ Safely
|
title: Using /tmp/ And /var/tmp/ Safely
|
||||||
|
category: Interfaces
|
||||||
---
|
---
|
||||||
|
|
||||||
# Using `/tmp/` And `/var/tmp/` Safely
|
# Using `/tmp/` And `/var/tmp/` Safely
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
---
|
---
|
||||||
title: Testing systemd using sanitizers
|
title: Testing systemd using sanitizers
|
||||||
|
category: Contributing
|
||||||
---
|
---
|
||||||
|
|
||||||
# Testing systemd using sanitizers
|
# Testing systemd using sanitizers
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
---
|
---
|
||||||
title: What settings are currently available for transient units?
|
title: What settings are currently available for transient units?
|
||||||
|
category: Interfaces
|
||||||
---
|
---
|
||||||
|
|
||||||
# What settings are currently available for transient units?
|
# What settings are currently available for transient units?
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
---
|
---
|
||||||
title: Notes for Translators
|
title: Notes for Translators
|
||||||
|
category: Contributing
|
||||||
---
|
---
|
||||||
|
|
||||||
# Notes for Translators
|
# Notes for Translators
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
---
|
---
|
||||||
title: Users, Groups, UIDs and GIDs on `systemd` Systems
|
title: Users, Groups, UIDs and GIDs on `systemd` Systems
|
||||||
|
category: Concepts
|
||||||
---
|
---
|
||||||
|
|
||||||
# Users, Groups, UIDs and GIDs on `systemd` Systems
|
# Users, Groups, UIDs and GIDs on `systemd` Systems
|
||||||
|
|
10
docs/_data/extra_pages.json
Normal file
10
docs/_data/extra_pages.json
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
[
|
||||||
|
{ "category": "Project", "title": "Brand", "url": "https://brand.systemd.io/" },
|
||||||
|
{ "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": "Project", "title": "Mailing List", "url": "https://lists.freedesktop.org/mailman/listinfo/systemd-devel" },
|
||||||
|
{ "category": "Manual Pages", "title": "Index", "url": "https://www.freedesktop.org/software/systemd/man/" },
|
||||||
|
{ "category": "Manual Pages", "title": "Directives", "url": "https://www.freedesktop.org/software/systemd/man/systemd.directives.html" }
|
||||||
|
]
|
|
@ -4,8 +4,14 @@ title: systemd Documentation
|
||||||
|
|
||||||
# systemd Documentation
|
# systemd Documentation
|
||||||
|
|
||||||
{% for p in site.pages %}
|
{% assign by_category = site.pages | group_by:"category" %}
|
||||||
{% if p.url != page.url and p.title %}
|
{% assign extra_pages = site.data.extra_pages | group_by:"category" %}
|
||||||
* [{{ p.title }}]({{ p.url | relative_url }})
|
{% 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 %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
Loading…
Reference in a new issue