Module Name: src
Committed By: uwe
Date: Thu Jan 23 23:52:13 UTC 2020
Modified Files:
src/share/tmac: doc2html
Log Message:
Provide ability to override <title>
If \*[title-section] is non-empty, use it to override the title
instead of appending it. Nothing in the tree uses title-section
currently, so it shouldn't affect any existing document.
This override will be used by the installation notes where the default
title is less than helpful.
To generate a diff of this commit:
cvs rdiff -u -r1.70 -r1.71 src/share/tmac/doc2html
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/share/tmac/doc2html
diff -u src/share/tmac/doc2html:1.70 src/share/tmac/doc2html:1.71
--- src/share/tmac/doc2html:1.70 Mon Dec 23 20:17:33 2019
+++ src/share/tmac/doc2html Thu Jan 23 23:52:13 2020
@@ -1,4 +1,4 @@
-.\" $NetBSD: doc2html,v 1.70 2019/12/23 20:17:33 uwe Exp $
+.\" $NetBSD: doc2html,v 1.71 2020/01/23 23:52:13 uwe Exp $
.\"
.\" Copyright (c) 1998, 1999, 2008 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -276,8 +276,8 @@ TODO:
<head>
<meta charset="\\*[html-charset]"/>
<title>
- \\*[document-title]\\$*
- \\*[title-section]
+.ie '\\*[title-section]'' \\*[document-title]\\$*
+.el \\*[title-section]
</title>
<style type="text/css">
<!--