diff options
author | 2015-11-05 20:55:41 +0000 | |
---|---|---|
committer | 2015-11-05 20:55:41 +0000 | |
commit | 3e3c69e597d7b127284c4d3fc3acbffb42f51999 (patch) | |
tree | 5f7b0c8190a8748956e1ceaac0e3a766cc7727bd /libman.h | |
parent | 19b3dcea79a7058bdd6e153461a7e967e68db921 (diff) | |
download | mandoc-3e3c69e597d7b127284c4d3fc3acbffb42f51999.tar.gz mandoc-3e3c69e597d7b127284c4d3fc3acbffb42f51999.tar.zst mandoc-3e3c69e597d7b127284c4d3fc3acbffb42f51999.zip |
Use include files "header.html" and "footer.html" rather than a
compiled-in string. This is not a security risk, we read the file
manpath.conf from the same directory, anyway. No error handling
is needed; even if the files are absent, that's not an error.
This is more flexible without causing complication of the code or
the user interface. It helps the upcoming revamp of the online
manual pages on man.NetBSD.org.
Based on an idea by Jean-Yves Migeon <jeanyves dot migeon at free dot fr>,
but implemented in a much simpler way.
Diffstat (limited to 'libman.h')
0 files changed, 0 insertions, 0 deletions