Improve documentation

This commit is contained in:
dmv 2010-04-07 14:12:04 +00:00
parent 845309d919
commit 3409f9be6c
18 changed files with 436 additions and 73 deletions

View File

@ -447,8 +447,10 @@ AC_OUTPUT([ \
doc/salome/gui/SMESH/Makefile \
doc/salome/gui/SMESH/doxyfile \
doc/salome/gui/SMESH/doxyfile_py \
doc/salome/gui/SMESH/static/header.html \
doc/salome/tui/Makefile \
doc/salome/tui/doxyfile \
doc/salome/tui/static/header.html \
src/Makefile \
src/Controls/Makefile \
src/Driver/Makefile \

View File

@ -26,7 +26,11 @@
#
include $(top_srcdir)/adm_local/unix/make_common_starter.am
EXTRA_DIST += images input static
EXTRA_DIST += images input static/footer.html static/doxygen.css
guidocdir = $(docdir)/gui/SMESH
guidoc_DATA = images/head.png
usr_docs: doxyfile_py doxyfile
echo "===========================================" ; \

View File

@ -22,7 +22,7 @@
#---------------------------------------------------------------------------
# Project related configuration options
#---------------------------------------------------------------------------
PROJECT_NAME = "Mesh Module Reference Manual v.@VERSION@"
PROJECT_NAME = "SALOME Mesh User's Guide"
OUTPUT_DIRECTORY = .
CREATE_SUBDIRS = NO
OUTPUT_LANGUAGE = English
@ -48,9 +48,9 @@ EXAMPLE_PATH = @top_srcdir@/src/SMESH_SWIG
#---------------------------------------------------------------------------
GENERATE_HTML = YES
HTML_OUTPUT = .
HTML_HEADER = @srcdir@/static/header.html
HTML_HEADER = @builddir@/static/header.html
HTML_FOOTER = @srcdir@/static/footer.html
#HTML_STYLESHEET = @srcdir@/static/doxygen.css
HTML_STYLESHEET = @srcdir@/static/doxygen.css
TOC_EXPAND = YES
DISABLE_INDEX = NO
GENERATE_TREEVIEW = YES

View File

@ -22,7 +22,7 @@
#---------------------------------------------------------------------------
# Project related configuration options
#---------------------------------------------------------------------------
PROJECT_NAME = "Mesh Module Reference Manual v.@VERSION@"
PROJECT_NAME = "SALOME Mesh User's Guide"
OUTPUT_DIRECTORY = .
CREATE_SUBDIRS = NO
OUTPUT_LANGUAGE = English
@ -109,9 +109,9 @@ EXAMPLE_PATH = @top_srcdir@/src/SMESH_SWIG
#---------------------------------------------------------------------------
GENERATE_HTML = YES
HTML_OUTPUT = smeshpy_doc
HTML_HEADER = @srcdir@/static/header.html
HTML_HEADER = @builddir@/static/header.html
HTML_FOOTER = @srcdir@/static/footer.html
#HTML_STYLESHEET = @srcdir@/static/doxygen.css
HTML_STYLESHEET = @srcdir@/static/doxygen.css
TOC_EXPAND = YES
DISABLE_INDEX = YES
GENERATE_TREEVIEW = NO

Binary file not shown.

After

Width:  |  Height:  |  Size: 77 KiB

View File

@ -1,5 +1,35 @@
H1 {
body {
font-family: Arial, Helvetica, sans-serif;
background-color: #ffffff;
}
h1 {
text-align: center;
text-decoration: none;
border: none;
line-height: 25px;
text-align: center;
// text-transform:uppercase;
background: #D9f4fd;
font-size: 12pt;
font-weight: bold;
border: 1px solid #CCCCCC;
-moz-border-radius: 8px;
-moz-box-shadow:5px 5px 5px rgba(0, 0, 0, 0.15);
/* background-color: rgb(75, 140, 185);
color: #ffffff;
text-align: center;
height: 25px;*/
}
h2 {
font-size: 12pt;
font-weight: bold;
}
table {
font-size: 10pt;
}
CAPTION {
@ -11,16 +41,6 @@ A.qindex {}
A.qindexRef {}
/* Link to any cross-referenced Doxygen element */
A.el {
text-decoration: none;
font-weight: bold
}
A.elRef {
font-weight: bold
}
/* Link to any cross-referenced Doxygen element inside a code section
(ex: header)
*/
@ -37,7 +57,49 @@ A.codeRef {
A:hover {
text-decoration: none;
background-color: lightblue
background-color: lightblue;
}
div.contents {
font-family: Arial, Helvetica, sans-serif;
font-size: 10pt;
}
div.navpath {
font-size: 11pt;
}
div.version {
background-color:#ffffde;
border:1px solid #cccccc;
font-family: Arial, Helvetica, sans-serif;
font-size: 9pt;
text-align: center;
width:100px;
-moz-border-radius: 8px;
// -moz-box-shadow:5px 5px 5px rgba(0, 0, 0, 0.15);
}
div.header {
background: url("head.png");
background-color: #175783;
border: 1px solid;
height: 80px;
background-repeat: no-repeat;
margin-bottom: 10px;
}
div.tabs {
display: none;
}
div.footer {
background-color: #D9f4fd;
border: 1px solid #AAAAAA;
font-family: Arial, Helvetica, sans-serif;
font-size: 11px;
padding: 10px;
margin-top: 15px;
}
DL.el {
@ -45,10 +107,8 @@ DL.el {
}
/* A code fragment (ex: header) */
DIV.fragment {
width: 100%;
div.fragment {
border: none;
background-color: #CCCCCC
}
/* In the alpha list (coumpound index), style of an alphabetical index letter */
@ -94,10 +154,6 @@ DIV.groupText {
font-size: smaller
}
BODY {
background: #FFFFFF;
}
/*div.div-page {
background-color: #FFFFFF;
margin-left: 1em;
@ -168,3 +224,104 @@ span.comment { color: #800000 }
span.preprocessor { color: #806020 }
span.stringliteral { color: #002080 }
span.charliteral { color: #008080 }
/* @group Code Colorization */
.fragment {
font-family: monospace, fixed;
font-size: 10pt;
}
pre.fragment {
width: 95%;
border: 1px solid #CCCCCC;
-moz-border-radius: 8px;
-moz-box-shadow:5px 5px 5px rgba(0, 0, 0, 0.15);
background-color:#EEF3F5;
padding: 4px 6px;
margin: 4px 1px 4px 1px;
}
/* Top Navigation style */
div.navigation {
margin-bottom:20px;
}
/* Left navigation panel style */
body.ftvtree {
background-color: #D9f4fd;
margin: 10px;
}
div.directory {
margin: 0;
}
div.directory.p {
margin: 0;
}
h3.swap {
font-size: 10pt;
margin-bottom: 0;
}
/* Link to any cross-referenced Doxygen element */
a.el {
text-decoration: none;
font-family: Arial, Helvetica, sans-serif;
font-weight: bold;
font-size: 9pt;
color: #551a8b;
}
a.el:hover {
background-color: transparent;
}
a.elRef {
font-weight: normal;
}
#MSearchBox {
-moz-border-radius:8px 8px 8px 8px;
background-color:white;
border:1px solid #84B0C7;
margin:0;
padding:0;
white-space:nowrap;
}
div.directory img {
vertical-align:-30%;
}
div.directory p {
white-space:nowrap;
margin: 0;
}
div.directory-alt div {
display: none;
margin: 0px;
}
div.directory div {
display: none;
margin: 0px;
}
div.version {
background-color:#ffffde;
border:1px solid #cccccc;
font-family: Arial, Helvetica, sans-serif;
font-size: 9pt;
text-align: center;
width:100px;
-moz-border-radius: 8px;
// -moz-box-shadow:5px 5px 5px rgba(0, 0, 0, 0.15);
}

View File

@ -3,10 +3,11 @@
<head>
</head>
<body>
<hr style="width: 100%; height: 2px;">
<div class="footer">
<div style="text-align: center;">
Copyright &copy; 2007-2008 CEA/DEN, EDF R&amp;D, OPEN CASCADE<br>
Copyright &copy; 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&amp;D, LEG, PRINCIPIA R&amp;D, BUREAU VERITAS<br>
Copyright &copy; 2007-2010 CEA/DEN, EDF R&amp;D, OPEN CASCADE<br>
Copyright &copy; 2003-2010 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&amp;D, LEG, PRINCIPIA R&amp;D, BUREAU VERITAS<br>
</div>
</div>
</body>
</html>

View File

@ -5,8 +5,6 @@
<title>$title</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head>
<hr>
<center>
SALOME documentation central
</center>
<hr>
<div class="header"></div>
<div align="right"><div class="version">Version: @VERSION@</div></div>

View File

@ -25,7 +25,10 @@
#
include $(top_srcdir)/adm_local/unix/make_common_starter.am
EXTRA_DIST += images static
EXTRA_DIST += images static/doxygen.css static/footer.html
tuidocdir = $(docdir)/tui/SMESH
tuidoc_DATA = images/head.png images/smeshscreen.png
dist_doc_DATA = \
extra/AddNetgenInSalome2.pdf \

View File

@ -24,7 +24,7 @@
#---------------------------------------------------------------------------
# Project related configuration options
#---------------------------------------------------------------------------
PROJECT_NAME = "Mesh Module Programming Guide v.@VERSION@"
PROJECT_NAME = "SALOME Mesh Module Developer"
PROJECT_NUMBER =
OUTPUT_DIRECTORY = SMESH
CREATE_SUBDIRS = NO
@ -99,8 +99,9 @@ WARN_LOGFILE =
INPUT = @top_srcdir@/src \
@top_srcdir@/bin \
@top_srcdir@/idl \
@top_builddir@/bin
FILE_PATTERNS = *.idl *.hxx *.cxx *.h *.c *.hh *.cc @DOXYGEN_PYTHON_EXTENSION@
@top_builddir@/bin \
@srcdir@/input
FILE_PATTERNS = *.idl *.hxx *.cxx *.h *.c *.hh *.cc @DOXYGEN_PYTHON_EXTENSION@ *.doc
RECURSIVE = YES
EXCLUDE =
EXCLUDE_SYMLINKS = NO
@ -137,7 +138,7 @@ IGNORE_PREFIX =
GENERATE_HTML = YES
HTML_OUTPUT = .
HTML_FILE_EXTENSION = .html
HTML_HEADER = @srcdir@/static/myheader.html
HTML_HEADER = @builddir@/static/header.html
HTML_FOOTER = @srcdir@/static/footer.html
HTML_STYLESHEET = @srcdir@/static/doxygen.css
HTML_ALIGN_MEMBERS = YES

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

BIN
doc/salome/tui/images/head.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 77 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

View File

@ -0,0 +1,13 @@
/*! \mainpage
\image html smeshscreen.png
To browse the \b SALOME Mesh module Developer Documentation, follow the links below or use navigation menu at the top of the page:
<ul>
<li> <a href="modules.html">Modules</a> - documentation of TUI functionality.</li>
<li> <a href="namespaces.html">Name Spaces</a> - list of TUI packages and scripts.</li>
<li> <a href="annotated.html">Data Structures</a> - list of all data structures and classes with brief descriptions.</li>
<li> <a href="files.html">Files</a> - list of all files with brief descriptions.</li>
</ul>
*/

View File

@ -1,5 +1,32 @@
H1 {
body {
font-family: Arial, Helvetica, sans-serif;
background-color: #ffffff;
}
h1 {
text-align: center;
text-decoration: none;
border: none;
line-height: 25px;
text-align: center;
// text-transform:uppercase;
background: #D9f4fd;
font-size: 12pt;
font-weight: bold;
border: 1px solid #CCCCCC;
margin-top: 50px;
-moz-border-radius: 8px;
-moz-box-shadow:5px 5px 5px rgba(0, 0, 0, 0.15);
}
h2 {
font-size: 12pt;
font-weight: bold;
}
table {
font-size: 10pt;
padding-left: 20px;
}
CAPTION {
@ -11,16 +38,6 @@ A.qindex {}
A.qindexRef {}
/* Link to any cross-referenced Doxygen element */
A.el {
text-decoration: none;
font-weight: bold
}
A.elRef {
font-weight: bold
}
/* Link to any cross-referenced Doxygen element inside a code section
(ex: header)
*/
@ -37,7 +54,53 @@ A.codeRef {
A:hover {
text-decoration: none;
background-color: lightblue
background-color: lightblue;
}
div.contents {
font-family: Arial, Helvetica, sans-serif;
font-size: 10pt;
padding: 20px;
}
div.navpath {
font-size: 11pt;
}
div.header {
background: url("head.png");
background-color: #175783;
border: 1px solid;
height: 80px;
background-repeat: no-repeat;
margin-bottom:20px;
}
div.tabs {
text-align: justify;
margin-left : 2px;
margin-right : 2px;
margin-top : 2px;
margin-bottom : 2px
font-weight: bold;
color: #FFFFFF;
}
div.footer {
background-color: #D9f4fd;
border: 1px solid #AAAAAA;
font-family: Arial, Helvetica, sans-serif;
font-size: 11px;
padding: 10px;
}
div.div-footer {
background-color: #D9f4fd;
border: 1px solid #AAAAAA;
font-family: Arial, Helvetica, sans-serif;
font-size: 11px;
padding: 10px;
text-align: center;
}
DL.el {
@ -45,10 +108,8 @@ DL.el {
}
/* A code fragment (ex: header) */
DIV.fragment {
width: 100%;
div.fragment {
border: none;
background-color: #CCCCCC
}
/* In the alpha list (coumpound index), style of an alphabetical index letter */
@ -94,10 +155,6 @@ DIV.groupText {
font-size: smaller
}
BODY {
background: #FFFFFF;
}
/*div.div-page {
background-color: #FFFFFF;
margin-left: 1em;
@ -115,17 +172,19 @@ BODY {
border-color: #0D299A;
}*/
DIV.div-footer {
margin-left: 1em;
margin-right: 1em;
margin-bottom: 0.2em;
text-align: right;
font-size: 9pt;
div.tabs {
text-align: justify;
margin-left : 2px;
margin-right : 2px;
margin-top : 2px;
margin-bottom : 2px
font-weight: bold;
color: #FFFFFF;
}
/* In File List, Coumpound List, etc, 1st column of the index */
TD.indexkey {
background-color: #CCCCCC;
background-color: #DDDDEE;
font-weight: bold;
padding-right : 10px;
padding-top : 2px;
@ -139,7 +198,7 @@ TD.indexkey {
/* In File List, Coumpound List, etc, 2nd column of the index */
TD.indexvalue {
background-color: #CCCCCC;
background-color: #EEEEFF;
font-style: italic;
padding-right : 10px;
padding-top : 2px;
@ -158,3 +217,118 @@ span.comment { color: #800000 }
span.preprocessor { color: #806020 }
span.stringliteral { color: #002080 }
span.charliteral { color: #008080 }
/* @group Code Colorization */
.fragment {
font-family: monospace, fixed;
font-size: 10pt;
}
pre.fragment {
width: 95%;
border: 1px solid #CCCCCC;
-moz-border-radius: 8px;
-moz-box-shadow:5px 5px 5px rgba(0, 0, 0, 0.15);
background-color:#EEF3F5;
padding: 4px 6px;
margin: 20px;
}
/* Top Navigation style */
div.navigation {
margin-bottom:20px;
}
/* Left navigation panel style */
body.ftvtree {
background-color: #D9f4fd;
margin: 10px;
}
div.directory {
margin: 0;
}
div.directory.p {
margin: 0;
}
h3.swap {
font-size: 10pt;
margin-bottom: 0;
}
/* Link to any cross-referenced Doxygen element */
a.el {
text-decoration: none;
font-family: Arial, Helvetica, sans-serif;
font-weight: bold;
font-size: 10pt;
color: #551a8b;
}
a.el:hover {
background-color: transparent;
color: #551acc;
}
a {
// text-decoration: none;
font-family: Arial, Helvetica, sans-serif;
font-weight: bold;
font-size: 10pt;
color: #551a8b;
}
a:hover {
background-color: transparent;
color: #551acc;
}
a.elRef {
font-weight: normal;
}
#MSearchBox {
-moz-border-radius:8px 8px 8px 8px;
background-color:white;
border:1px solid #84B0C7;
margin:0;
padding:0;
white-space:nowrap;
}
div.directory img {
vertical-align:-30%;
}
div.directory p {
white-space:nowrap;
margin: 0;
}
div.directory-alt div {
display: none;
margin: 0px;
}
div.directory div {
display: none;
margin: 0px;
}
div.version {
background-color:#ffffde;
border:1px solid #cccccc;
font-family: Arial, Helvetica, sans-serif;
font-size: 9pt;
text-align: center;
width:100px;
-moz-border-radius: 8px;
// -moz-box-shadow:5px 5px 5px rgba(0, 0, 0, 0.15);
}

View File

@ -1,5 +1,14 @@
</DIV>
<DIV class="div-footer">
Generated on $datetime for $projectname by&nbsp;<A href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border="0"></A> $doxygenversion</DIV>
</BODY>
</HTML>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body>
<div class="footer">
<!--hr style="width: 100%; height: 2px;"-->
<div style="text-align: center;">
Copyright &copy; 2007-2010 CEA/DEN, EDF R&amp;D, OPEN CASCADE<br>
Copyright &copy; 2003-2010 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&amp;D, LEG, PRINCIPIA R&amp;D, BUREAU VERITAS<br>
</div>
</div>
</body>
</html>

View File

@ -3,11 +3,12 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="GENERATOR" content="Mozilla/4.73 [en] (WinNT; I) [Netscape]">
<title>Main Page</title>
<title>SALOME Geometry Developer Guide</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head>
<body>
&nbsp;
<div class="header"></div>
<div align="right"><div class="version">Version: @VERSION@</div></div>
</body>
</html>