Kernel integration: add section numbers 48/166648/1
authorAlexander Aksenov <a.aksenov@samsung.com>
Thu, 11 Jan 2018 09:24:13 +0000 (12:24 +0300)
committerAlexander Aksenov <a.aksenov@samsung.com>
Thu, 11 Jan 2018 09:24:13 +0000 (12:24 +0300)
Change-Id: I90e5d80d7603ea6b4c6a0507411a382fffd368d3
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
kernel_integration/docs/Makefile
kernel_integration/docs/PortingGuide.md

index 0acf394e3f8603004130064c95d1cd9e0f3e557e..a76fe2c8cb3010c9fbfb630fabbce98309512342 100644 (file)
@@ -1,10 +1,10 @@
 all: html_readme pdf_readme
 
 html_readme:
-       pandoc -f markdown+pipe_tables -t html5 --css readme.css -s PortingGuide.md -o PortingGuide.html
+       pandoc -f markdown+pipe_tables --number-sections --toc -t html5 --css readme.css -s PortingGuide.md -o PortingGuide.html
 
 pdf_readme:
-       pandoc -f markdown+pipe_tables -s PortingGuide.md -o PortingGuide.pdf
+       pandoc -f markdown+pipe_tables --number-sections --toc -s PortingGuide.md -o PortingGuide.pdf
 
 clean:
        rm PortingGuide.html PortingGuide.pdf
index f7276c627c466fc9ca3d3388490327514359fe1b..4fef3f4228046865cf4c6455f4d6bccc75be4940 100644 (file)
@@ -1,19 +1,5 @@
 %SWAP Porting guide
 
-# Table of Contents
-* [Introduction to SWAP](#introduction-to-swap)
-* [SWAP architecture and components](#swap-architecture-and-components)
-* [SWAP porting procedure](#swap-porting-procedure)
-  * [Kernel with memory protection or without kernel modules support](#kernel-with-memory-protection-or-without-kernel-modules-support)
-    * [Checking and applying SWAP kernel hooks](#applying-swap-kernel-hooks)
-      * [Checking SWAP kernel hooks existance in kernel](#checking-swap-kernel-hooks-existance-in-kernel)
-      * [Applying SWAP kernel hooks by GIT](#applying-swap-kernel-hooks-by-git)
-      * [Applying SWAP kernel hooks manually](#applying-swap-kernel-hooks-manually)
-  * [SWAP modules and kernel sources synchronization](#swap-modules-and-kernel-sources-synchronization)
-    * [Manual synchronization](#manual-synchronization)
-        * [Usign sync script](#using-sync-script)
-* [Testing SWAP](#testing-swap)
-
 # Introduction to SWAP
 
 **SWAP** is a Tizen dynamic binary instrumentation tool, it allows developers