summaryrefslogtreecommitdiff
path: root/Meta/Websites
diff options
context:
space:
mode:
authorBen Wiederhake <BenWiederhake.GitHub@gmx.de>2021-10-20 21:52:34 +0200
committerIdan Horowitz <idan.horowitz@gmail.com>2021-10-22 19:49:28 +0300
commitdad47a3dd1a978bcd78907508a0c0a8515bccd84 (patch)
tree08e612de485e3122982b74f959299f9c8ef1d8a7 /Meta/Websites
parent2e613db999a00b50ac8ab533c8820df27bc8a8da (diff)
downloadserenity-dad47a3dd1a978bcd78907508a0c0a8515bccd84.zip
man.serenityos.org: Use pandoc for listings and landing page
This makes all pages look and feel the same, because they all use the default CSS generated by pandoc. Also, it inserts the banner everywhere at the top, not only into the top-level index.html. Credit to @xSlendiX for suggesting that `-B` works here.
Diffstat (limited to 'Meta/Websites')
-rw-r--r--Meta/Websites/man.serenityos.org/banner-preamble.inc1
-rw-r--r--Meta/Websites/man.serenityos.org/index.html17
-rw-r--r--Meta/Websites/man.serenityos.org/index.md7
3 files changed, 8 insertions, 17 deletions
diff --git a/Meta/Websites/man.serenityos.org/banner-preamble.inc b/Meta/Websites/man.serenityos.org/banner-preamble.inc
new file mode 100644
index 0000000000..c727b209ba
--- /dev/null
+++ b/Meta/Websites/man.serenityos.org/banner-preamble.inc
@@ -0,0 +1 @@
+<img src="/banner.png" style="display: block; margin-left: auto; margin-right: auto; margin-bottom: 2em;">
diff --git a/Meta/Websites/man.serenityos.org/index.html b/Meta/Websites/man.serenityos.org/index.html
deleted file mode 100644
index 7f8ff11118..0000000000
--- a/Meta/Websites/man.serenityos.org/index.html
+++ /dev/null
@@ -1,17 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
- <title>SerenityOS man pages</title>
-</head>
-<body>
-<img src="banner.png" alt="SerenityOS">
-<h1>SerenityOS man pages</h1>
-<a href="1/"><p>Section 1: User programs (applets, applications, utilities, etc.)</p></a>
-<a href="2/"><p>Section 2: System calls (getuid, mount, pledge, sendfd, etc.)</p></a>
-<a href="3/"><p>Section 3: Library functions (basename, isatty, POSIX functions, etc.)</p></a>
-<a href="4/"><p>Section 4: Special Files (audio, mem, etc.)</p></a>
-<a href="5/"><p>Section 5: File formats (getopt convention, Shell, SystemServer)</p></a>
-<a href="7/"><p>Section 7: Miscellanea (mitigations, sys filesystem, SystemServer, etc.)</p></a>
-<a href="8/"><p>Section 8: Sysadmin tools (dmesg, pls, sysctl, useradd, etc.)</p></a>
-</body>
-</html>
diff --git a/Meta/Websites/man.serenityos.org/index.md b/Meta/Websites/man.serenityos.org/index.md
new file mode 100644
index 0000000000..c3b8f14375
--- /dev/null
+++ b/Meta/Websites/man.serenityos.org/index.md
@@ -0,0 +1,7 @@
+- [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 7: Miscellanea (mitigations, sys filesystem, SystemServer, etc.)](man7/index.html)
+- [Section 8: Sysadmin tools (dmesg, pls, sysctl, useradd, etc.)](man8/index.html)