summaryrefslogtreecommitdiff
path: root/Meta/build-manpages-website.sh
AgeCommit message (Collapse)Author
2023-01-08Meta/build-manpages-website: Copy all manpage PNGskleines Filmröllchen
This will allow using images in manpages elsewhere in the future without adjusting the PNG copying command. rsync unfortunately cannot place all files into the root folder when receiving a list of files via --files-from=-.
2023-01-05Meta: Create nested manpage section indices for the websitekleines Filmröllchen
This is probably committing some sed crimes, but it looks very nice!
2023-01-05Meta: Use parallel rsync for file coyping for online manpageskleines Filmröllchen
The main point is to bring this in line with all the other file copying, which is always done via rsync. On my machine this leads to very little speedup, but I'm also on WSL, so :shrug: Timings: Before: Time (abs ≡): 20.440 s [User: 133.928 s, System: 12.290 s] After: Time (abs ≡): 20.346 s [User: 135.534 s, System: 11.207 s]
2023-01-05Meta: Generate manpages for website in parallelkleines Filmröllchen
pandoc is a single-threaded and pretty slow application, so we can run it in the background and "synchronize" before generating section indices. Timing results: Before: Time (abs ≡): 59.833 s [User: 49.541 s, System: 6.943 s] After: Time (abs ≡): 20.440 s [User: 133.928 s, System: 12.290 s] (both generated with hyperfine -p "rm -r output || true" -r 1 Meta/build-manpages-website.sh )
2023-01-05Meta: Print progress during the website manpage buildkleines Filmröllchen
This especially helps when building locally.
2023-01-05Meta: Make the manpage website build work with manpage subsectionkleines Filmröllchen
For now, we create simple but complete indices and actually generate the HTML for the manpages in subsections. For these purposes, switch to using "find" as a file finding tool everywhere, instead of the very limited globs from before.
2023-01-05Meta: Remove duplicate manpage section generation for the websitekleines Filmröllchen
2022-07-11Documentation: Merge UsingFontEditor into existing FontEditor manpagekleines Filmröllchen
The generate-manpages script needs to be updated again to handle the new PNGs in section 1. (I'm intentionally not making this a multi-directory glob.)
2022-05-29Meta: Update manpages website build script to handle non-icon imagesLinus Groh
Adding an image to man7/Audio-subsystem.md referencing a non-icon image file in the same directory broke the automated build of the manpages website, which was not prepared to handle this case.
2022-02-24Meta: Title case 'File Formats' on man.serenityos.orgLinus Groh
2022-02-24Meta: Use correct man page title for section 5 on man.serenityos.orgnetworkException
2022-01-17Meta: Add icons to online man pagesTobias Christiansen
Previously all the added icons weren't available in the online version of the man pages. This patch adds functionality to copy all the used icons over when assembling the HTML version.
2022-01-11Meta: Convert new help page link styles for the man page websitekleines Filmröllchen
The special URL links (help://man) and the application opening links now work on the man page website. While the page links are translated correctly, the application launch can't be implemented. For this reason, an explanatory error page is shown instead.
2021-10-22man.serenityos.org: Make section titles more descriptiveBen Wiederhake
2021-10-22man.serenityos.org: Use pandoc for listings and landing pageBen Wiederhake
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.
2021-10-22man.serenityos.org: Fix links to man(1), avoid unnecessary shellsBen Wiederhake
This fixes the current bug at the end of less(1), which links to the wrong file ".html" instead of "man.html".
2021-10-22man.serenityos.org: Simplify local buildsBen Wiederhake
I simply extracted the script from .github/workflows/manpages.yml, without significant modification.