From 870a6a11d99d67e5fcf1a1cb28c3de3167494470 Mon Sep 17 00:00:00 2001 From: Zhiming Wang Date: Tue, 13 Dec 2016 19:21:30 -0500 Subject: manpage: add table of contents to the HTML version The reST contents directive is added to mpv.rst. In wscript_build.py, the --strip-elements-with-class=contents option is needed for the rst2man call in order to prevent the TOC from appearing in mpv.1. --- DOCS/man/mpv.rst | 2 ++ 1 file changed, 2 insertions(+) (limited to 'DOCS') diff --git a/DOCS/man/mpv.rst b/DOCS/man/mpv.rst index aa68bee896..7108306008 100644 --- a/DOCS/man/mpv.rst +++ b/DOCS/man/mpv.rst @@ -9,6 +9,8 @@ a media player :Manual section: 1 :Manual group: multimedia +.. contents:: Table of Contents + SYNOPSIS ======== -- cgit v1.2.3