doc: fix missing titles on kconfig reference entry HTML files
Add a document.title='xxx' via on-page javascript for the .rst files generated by the genrest.py script Jira: ZEP-459 Change-Id: I2b3dbb97758cfa232006a0cd98c4bd8394d8183e Signed-off-by: David Kinder <david.b.kinder@intel.com>
This commit is contained in:
parent
a66780ea2a
commit
9c9ee5da8f
1 changed files with 2 additions and 0 deletions
|
@ -39,6 +39,8 @@ def print_items(items, outdir, indent):
|
||||||
f.write(" - %s\n" %p)
|
f.write(" - %s\n" %p)
|
||||||
config = open("%s/%s.rst" % (outdir, var), "w")
|
config = open("%s/%s.rst" % (outdir, var), "w")
|
||||||
config.write(":orphan:\n\n")
|
config.write(":orphan:\n\n")
|
||||||
|
config.write(".. raw:: HTML\n\n <script>document.title = '%s'</script>\n\n"
|
||||||
|
%item.get_name())
|
||||||
config.write(".. option:: CONFIG_%s:\n" %item.get_name())
|
config.write(".. option:: CONFIG_%s:\n" %item.get_name())
|
||||||
config.write(".. _CONFIG_%s:\n" %item.get_name())
|
config.write(".. _CONFIG_%s:\n" %item.get_name())
|
||||||
if text:
|
if text:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue