From 9279dd783beae202ea017043428649bfc219c767 Mon Sep 17 00:00:00 2001 From: networkException Date: Fri, 25 Feb 2022 13:29:48 +0100 Subject: [PATCH] Everywhere: Use title case for man section titles In addition to the section headings on man.serenityos.org, all occurances of man section titles are now formatted in title case. --- Base/usr/share/man/man1/Help.md | 10 +++++----- Base/usr/share/man/man1/man.md | 10 +++++----- Meta/Websites/man.serenityos.org/index.md | 10 +++++----- Userland/Applications/Help/ManualModel.cpp | 12 ++++++------ 4 files changed, 21 insertions(+), 21 deletions(-) diff --git a/Base/usr/share/man/man1/Help.md b/Base/usr/share/man/man1/Help.md index 070d9df93df..a5196311eb1 100644 --- a/Base/usr/share/man/man1/Help.md +++ b/Base/usr/share/man/man1/Help.md @@ -20,14 +20,14 @@ It lets you search for and read manual pages (or "man pages"). The SerenityOS manual is split into the following *sections*, or *chapters*: -1. User programs -2. System calls +1. User Programs +2. System Calls 3. Libraries -4. Special files -5. File formats +4. Special Files +5. File Formats 6. Games 7. Miscellanea -8. Sysadmin tools +8. Sysadmin Tools Sections are subject to change in the future. diff --git a/Base/usr/share/man/man1/man.md b/Base/usr/share/man/man1/man.md index b5daefc8996..3b64ce114aa 100644 --- a/Base/usr/share/man/man1/man.md +++ b/Base/usr/share/man/man1/man.md @@ -19,14 +19,14 @@ the manual page for `man` program itself right now. The SerenityOS manual is split into the following *sections*, or *chapters*: -1. User programs -2. System calls +1. User Programs +2. System Calls 3. Libraries -4. Special files -5. File formats +4. Special Files +5. File Formats 6. Games 7. Miscellanea -8. Sysadmin tools +8. Sysadmin Tools Sections are subject to change in the future. diff --git a/Meta/Websites/man.serenityos.org/index.md b/Meta/Websites/man.serenityos.org/index.md index 8b5ca2ff94e..d554b2576d6 100644 --- a/Meta/Websites/man.serenityos.org/index.md +++ b/Meta/Websites/man.serenityos.org/index.md @@ -1,8 +1,8 @@ -- [Section 1: User programs (applets, applications, utilities, etc.)](man1/index.html) -- [Section 2: System calls (getuid, mount, pledge, sendfd, etc.)](man2/index.html) -- [Section 3: Library functions (basename, isatty, POSIX functions, etc.)](man3/index.html) +- [Section 1: User Programs (applets, applications, utilities, etc.)](man1/index.html) +- [Section 2: System Calls (getuid, mount, pledge, sendfd, etc.)](man2/index.html) +- [Section 3: Library Functions (basename, isatty, POSIX functions, etc.)](man3/index.html) - [Section 4: Special Files (audio, mem, etc.)](man4/index.html) -- [Section 5: File formats (getopt convention, Shell, SystemServer)](man5/index.html) +- [Section 5: File Formats (getopt convention, Shell, SystemServer)](man5/index.html) - [Section 6: Games (2048, Chess, FlappyBug, etc.)](man6/index.html) - [Section 7: Miscellanea (mitigations, sys filesystem, SystemServer, etc.)](man7/index.html) -- [Section 8: Sysadmin tools (dmesg, pls, sysctl, useradd, etc.)](man8/index.html) +- [Section 8: Sysadmin Tools (dmesg, pls, sysctl, useradd, etc.)](man8/index.html) diff --git a/Userland/Applications/Help/ManualModel.cpp b/Userland/Applications/Help/ManualModel.cpp index ea2a6883df7..5c7667de478 100644 --- a/Userland/Applications/Help/ManualModel.cpp +++ b/Userland/Applications/Help/ManualModel.cpp @@ -11,14 +11,14 @@ #include static ManualSectionNode s_sections[] = { - { "1", "User programs" }, - { "2", "System calls" }, - { "3", "Library functions" }, - { "4", "Special files" }, - { "5", "File formats" }, + { "1", "User Programs" }, + { "2", "System Calls" }, + { "3", "Library Functions" }, + { "4", "Special Files" }, + { "5", "File Formats" }, { "6", "Games" }, { "7", "Miscellanea" }, - { "8", "Sysadmin tools" } + { "8", "Sysadmin Tools" } }; ManualModel::ManualModel()