Skip to content

Commit

Permalink
Merge topic 'fix-install-www-rules'
Browse files Browse the repository at this point in the history
18f3160 Fix documentation link check...
4178ef0 Add relative path to ParaViewWeb apps from js-doc
a89178b Fix ParaViewWeb main server scripts.
ea95021 Fix install rule and main document page
  • Loading branch information
utkarshayachit authored and kwrobot committed May 21, 2013
2 parents 218a56c + 18f3160 commit 354c5e2
Show file tree
Hide file tree
Showing 23 changed files with 2,066 additions and 87 deletions.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ add_custom_command(
COMMAND ${CMAKE_COMMAND} -E make_directory "${PARAVIEW_WWW_DIR}")

install(DIRECTORY "${PARAVIEW_WWW_DIR}"
DESTINATION ${VTK_INSTALL_LIBRARY_DIR}/www
DESTINATION ${VTK_INSTALL_LIBRARY_DIR}
COMPONENT Runtime)

if (PARAVIEW_ENABLE_WEB)
Expand Down Expand Up @@ -695,6 +695,7 @@ endif()
if (BUILD_DOCUMENTATION)
add_subdirectory(Utilities/Doxygen)
add_subdirectory(Utilities/Sphinx)
add_subdirectory(Documentation)
endif()

#-----------------------------------------------------------------------------
Expand Down
8 changes: 8 additions & 0 deletions Documentation/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
add_custom_target(ParaViewWelcomeDoc
DEPENDS index.html
COMMAND ${CMAKE_COMMAND} -E copy_directory "${ParaView_SOURCE_DIR}/Documentation/img" "${PARAVIEW_WWW_DIR}/img"
COMMAND ${CMAKE_COMMAND} -E copy "${ParaView_SOURCE_DIR}/Documentation/index.html" ${PARAVIEW_WWW_DIR}
COMMAND ${CMAKE_COMMAND} -E copy "${ParaView_SOURCE_DIR}/Documentation/kitware.css" ${PARAVIEW_WWW_DIR}
)

add_dependencies(ParaViewDoc ParaViewWelcomeDoc)
Binary file added Documentation/img/bannerorg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Documentation/img/contentbg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Documentation/img/contentbg2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Documentation/img/contentbg3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Documentation/img/cxx-doc.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Documentation/img/foot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Documentation/img/js-doc.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Documentation/img/logo2out.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Documentation/img/paraview100.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Documentation/img/paraview75.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Documentation/img/py-doc.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
78 changes: 78 additions & 0 deletions Documentation/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
<meta name="Description" content="ParaView is an open-source, multi-platform application designed to visualize data sets of size varying from small to very large."/>
<meta name="Keywords" content="kitware, visualization, visualization technology, large datasets, paraview, information visualization, informatics, paraview consulting"/>

<title>ParaView - Open Source Scientific Visualization</title>

<link rel="icon" type="image/png" href="img/favicon.png"/>
<link href="kitware.css" rel="stylesheet" type="text/css"/>
<script src="ext/js-core/jquery-1.8.2.min.js"></script>

</head>
<body>

<div id="bg">
<div id="frame">
<div id="bannerPara">
<div id="nav">
</div>
<div id="cdashlogo">
<a href="http://www.paraview.org"><img src="img/paraview75.png" title="ParaView Home" width="326" height="85" border="0" id="paraview"/></a>
</div>
<div id="logo2">
<a href="http://www.kitware.com"><img src="img/logo2out.png" title="Kitware Home" width="75" height="35" border="0" id="kitsmall5"/></a>
</div>
</div>
<div id="ContentBg">
<div id="Content">
<div class="doc-links">
<ul>
<li><a type="js-doc" title='ParaViewWeb JavaScript documentation'><img src="img/js-doc-disable.png"/></a></li>
<li><a type="cxx-doc" title='ParaView C++ documentation'><img src="img/cxx-doc-disable.png"/></a></li>
<li><a type="py-doc" title='ParaView Python documentation'><img src="img/py-doc-disable.png"/></a></li>
</ul>
</div>
<div id="ContentTxtProd">
<p><strong>ParaView</strong> is an open-source, multi-platform data analysis and visualization application. ParaView users can quickly build visualizations to analyze their data using qualitative and quantitative techniques. The data exploration can be done interactively in 3D or programmatically using ParaView's batch processing capabilities.</p>

<p>ParaView was developed to analyze extremely large datasets using distributed memory computing resources. It can be run on supercomputers to analyze datasets of terascale as well as on laptops for smaller data.</p>

<p>
This page aims to provide an entry point to ParaView generated documentation. This include the C++ one based on Doxygen
but also the Python and ParaViewWeb one.
</p>
</div>
<br class="clear"/>
</div>
</div>

<div id="footer">
<br/><br/><br/><br/>
<table width="98%" border="0" cellspacing="0" cellpadding="2">
<tbody>
<tr>
<td><a rel="license" href="http://creativecommons.org/licenses/by-nd/3.0/"><img alt="Creative Commons License" style="border-width:0" src="http://i.creativecommons.org/l/by-nd/3.0/80x15.png"></a> This website is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nd/3.0/">Creative Commons Attribution-NoDerivs 3.0 Unported License</a>. Additional information on this license can be found <a href="http://www.kitware.com/company/cclicense.html">here</a>.<br></td>
<td align="right"></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<script type="text/javascript">
$('.doc-links a').each(function(){
var me = $(this), key = me.attr('type'), url = key + '/index.html';
$.ajax({
url: url,
success: function() {
var image = me.attr('href', url).attr('target', key).children().eq(0);
image.attr('src', image.attr('src').replace(/-disable/g,''));
}
})
});
</script>
</body>
</html>
Loading

0 comments on commit 354c5e2

Please sign in to comment.