From: Vadim Pisarevsky Date: Mon, 9 May 2011 16:37:42 +0000 (+0000) Subject: moved the new docs from docroot to doc X-Git-Tag: accepted/2.0/20130307.220821~3188 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e5eb9868f67936476ac5e3d5122cfa1a6f0a248f;p=profile%2Fivi%2Fopencv.git moved the new docs from docroot to doc --- diff --git a/docroot/CMakeLists.txt b/docroot/CMakeLists.txt deleted file mode 100644 index eadac38..0000000 --- a/docroot/CMakeLists.txt +++ /dev/null @@ -1,6 +0,0 @@ -if(BUILD_REFMAN AND PDFLATEX_COMPILER AND HAVE_SPHINX) - -add_subdirectory(opencv1) -add_subdirectory(opencv2) - -endif() diff --git a/docroot/mymath.sty b/docroot/mymath.sty deleted file mode 100644 index 491c160..0000000 --- a/docroot/mymath.sty +++ /dev/null @@ -1,42 +0,0 @@ -\ProvidesPackage{mymath} - -\newcommand{\matTT}[9]{ -\[ -\left|\begin{array}{ccc} - #1 & #2 & #3\\ - #4 & #5 & #6\\ - #7 & #8 & #9 -\end{array}\right| -\] -} - -\newcommand{\fork}[4]{ - \left\{ - \begin{array}{l l} - #1 & \mbox{#2}\\ - #3 & \mbox{#4}\\ - \end{array} \right.} -\newcommand{\forkthree}[6]{ - \left\{ - \begin{array}{l l} - #1 & \mbox{#2}\\ - #3 & \mbox{#4}\\ - #5 & \mbox{#6}\\ - \end{array} \right.} - -\newcommand{\vecthree}[3]{ -\begin{bmatrix} - #1\\ - #2\\ - #3 -\end{bmatrix} -} - -\newcommand{\vecthreethree}[9]{ -\begin{bmatrix} - #1 & #2 & #3\\ - #4 & #5 & #6\\ - #7 & #8 & #9 -\end{bmatrix} -} - diff --git a/docroot/reformat.py b/docroot/reformat.py deleted file mode 100644 index fb52075..0000000 --- a/docroot/reformat.py +++ /dev/null @@ -1,42 +0,0 @@ -import os, sys, re - -finput=open(sys.argv[1], "rt") - -# read the whole file content to s -s = "".join(finput.readlines()) -finput.close() - -# normalize line endings -s = re.sub(r"\r\n", "\n", s) - -# remove trailing whitespaces -s = re.sub(r"[ \t]+\n", "\n", s) - -# compress multiple empty lines -for i in range(5): - s = re.sub(r"\n\n\n", "\n\n", s) - -# remove empty line before ".." that terminates a code block -s = re.sub(r"\n\n\.\.\n", "\n..\n", s) - -# move :: starting a code block to the end of previous line -s = re.sub(r"\n\n::\n", " ::\n", s) - -# remove extra line breaks before/after _ or , -s = re.sub(r"\n[ \t]*([_,])\n", r"\1", s) - -# remove extra line breaks after ` -s = re.sub(r"`\n", "` ", s) - -# remove extra line breaks before ` -s = re.sub(r"\n[ \t]*`", " `", s) - -# remove links to wiki -s = re.sub(r"\n[ \t]*`id=\d[^`]+`__\n", "", s) - -# remove trailing whitespaces one more time -s = re.sub(r"[ \t]+\n", "\n", s) - -foutput=open(sys.argv[2], "wt") -foutput.write(s) -foutput.close()