mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 07:17:34 +00:00
markdown-check: Allow generating a manpage link graph
Using the cross-page links, we can generate a directed graph showing the topology of which pages refer to other pages. This is not just for fun: the links show how often a page is linked (since links are not deduplicated on purpose), which pairs of pages only have links in one direction (where a link in the other direction may be useful), which groups of closely-interlinked pages exist, and which pages have few or no links to other pages. The EXTRA_MARKDOWN_CHECK_ARGS argument to the check-markdown script can be used to inject the -g flag for generating the graph on all manpages.
This commit is contained in:
parent
f53aa959df
commit
d7a2b5e65b
4 changed files with 96 additions and 3 deletions
|
@ -113,7 +113,7 @@ target_link_libraries(lspci PRIVATE LibPCIDB)
|
|||
target_link_libraries(lsusb PRIVATE LibUSBDB)
|
||||
target_link_libraries(lzcat PRIVATE LibCompress)
|
||||
target_link_libraries(man PRIVATE LibMarkdown LibManual)
|
||||
target_link_libraries(markdown-check PRIVATE LibFileSystem LibMarkdown)
|
||||
target_link_libraries(markdown-check PRIVATE LibFileSystem LibMarkdown LibManual)
|
||||
target_link_libraries(matroska PRIVATE LibVideo)
|
||||
target_link_libraries(md PRIVATE LibMarkdown)
|
||||
target_link_libraries(mktemp PRIVATE LibFileSystem)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue