summaryrefslogtreecommitdiffstats
path: root/Documentation/sphinx/tmplcvt
Commit message (Collapse)AuthorAgeFilesLines
* docs-rst: get rid of Documentation/sphinx/tmplcvt scriptMauro Carvalho Chehab2017-05-161-28/+0
| | | | | | | As everything was converted to ReST, we don't need this script anymore. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
* tmplcvt: make the tool more robustMauro Carvalho Chehab2017-04-111-2/+11
| | | | | | | | | | | | | | | | Currently, the script just assumes to be called at Documentation/sphinx/. Change it to work on any directory, and make it abort if something gets wrong. Also, be sure that both parameters are specified. That should avoid troubles like this: $ Documentation/sphinx/tmplcvt Documentation/DocBook/writing_usb_driver.tmpl sed: couldn't open file convert_template.sed: No such file or directory Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
* sphinx: cheesy script to convert .tmpl filesJonathan Corbet2016-05-301-0/+19
This script uses pandoc to convert existing DocBook template files to RST templates. A couple of sed scripts are need to massage things both before and after the conversion, but the result is then usable with no hand editing. [Jani: Change usage to tmplcvt <in> <out>. Fix escaping for docproc directives. Add support the new kernel-doc extension.] Signed-off-by: Jonathan Corbet <corbet@lwn.net> Signed-off-by: Jani Nikula <jani.nikula@intel.com>