Skip to content

Commit

Permalink
doc/cfg_list: makefile - generate html with full section numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
miconda committed Jun 4, 2017
1 parent a80e342 commit c43fa2c
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion doc/tutorials/cfg_list/docbook/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@
docs = cfg_var_list.xml
docbook_dir = ../../../docbook
# no subsection listed in the main TOC
xsltproc_flags+=--stringparam toc.section.depth 0
xsltproc_flags+= --stringparam toc.section.depth 0
xsltproc_flags+= --stringparam section.autolabel 1
xsltproc_flags+= --stringparam section.label.includes.component.label 1

include $(docbook_dir)/Makefile

# updates to the html generated file
.PHONY: html-update
html-update:
# strip first to lines (xml and doctype constraints)
sed -i '1,2d' $(basename $(docs)).html

0 comments on commit c43fa2c

Please sign in to comment.