fix even more broken markdown links
Added `bin/find-missing-links.sh` tool to check for
markdown links to missing local files.
Regarding the missing link tool:
```
Here be extended regular expression magic dragons! :-)
```
Added `make find_missing_links` to the top level Makefile.
Added `make find_missing_links` to `make www` and `make quick_www`.
Ran `make www` to perform the above.
TODO: Fix markdown links to missing local files.
This commit is contained in:
1 parent
58d19725b4
commit
217836e33f
41 files changed
+1773
-635
No files matched your search
@@ -75,6 +75,37 @@ For example:
|
||||
```
|
||||
|
||||
|
||||
### [find-missing-links.sh](%%DOCROOT_SLASH%%bin/find-missing-links.sh)
|
||||
|
||||
Find all markdown links to local files that do not exist.
|
||||
|
||||
This tool does **NOT** check of a remote URL exists.
|
||||
This tool only checks on links to local files.
|
||||
|
||||
This tool does **NOT** check links into a given place in a file.
|
||||
This tool only checks that local files linked by markdown exist.
|
||||
|
||||
This tool does **NOT** check HTML file links.
|
||||
This tool only checks markdown based links.
|
||||
|
||||
Usage:
|
||||
|
||||
``` <!---sh-->
|
||||
bin/find-missing-links.sh -v 1
|
||||
```
|
||||
|
||||
If no missing links are found, this tool exits 0 with no output
|
||||
(debug messages not withstanding), otherwise this tool will exit non-zero.
|
||||
|
||||
NOTE: If the markdown link is malformed, this tool
|
||||
might generate an error about a file that does exist.
|
||||
If this tool claims that a file is missing that does exist,
|
||||
look for a malformed markdown line and/or use of markdown
|
||||
that is **NOT** an IOCCC markdown best practice.
|
||||
|
||||
See [IOCCC markdown best practices](markdown.html) for more info.
|
||||
|
||||
|
||||
### [gen-authors.sh](%%DOCROOT_SLASH%%bin/gen-authors.sh)
|
||||
|
||||
Generate the top level `/authors.html` page.
|
||||
|
||||
Reference in new issue
Block a user