Module: kamailio Branch: master Commit: 961418e68ab633328b7378a47ac94963438923a7 URL: https://github.com/kamailio/kamailio/commit/961418e68ab633328b7378a47ac94963...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: 2017-06-04T16:28:18+02:00
doc/rpc_list: makefile - generate html with full section numbers
- new target to do updates over the generated html
---
Modified: doc/tutorials/rpc_list/docbook/Makefile
---
Diff: https://github.com/kamailio/kamailio/commit/961418e68ab633328b7378a47ac94963... Patch: https://github.com/kamailio/kamailio/commit/961418e68ab633328b7378a47ac94963...
---
diff --git a/doc/tutorials/rpc_list/docbook/Makefile b/doc/tutorials/rpc_list/docbook/Makefile index e31800d2b9..e7a9fc727e 100644 --- a/doc/tutorials/rpc_list/docbook/Makefile +++ b/doc/tutorials/rpc_list/docbook/Makefile @@ -2,6 +2,14 @@ docs = rpc_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