Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
e5eb9868
Commit
e5eb9868
authored
May 09, 2011
by
Vadim Pisarevsky
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
moved the new docs from docroot to doc
parent
99d86393
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
90 deletions
+0
-90
CMakeLists.txt
docroot/CMakeLists.txt
+0
-6
mymath.sty
docroot/mymath.sty
+0
-42
reformat.py
docroot/reformat.py
+0
-42
No files found.
docroot/CMakeLists.txt
deleted
100644 → 0
View file @
99d86393
if
(
BUILD_REFMAN AND PDFLATEX_COMPILER AND HAVE_SPHINX
)
add_subdirectory
(
opencv1
)
add_subdirectory
(
opencv2
)
endif
()
docroot/mymath.sty
deleted
100644 → 0
View file @
99d86393
\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}
}
docroot/reformat.py
deleted
100644 → 0
View file @
99d86393
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
()
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment