include data model on web page

pull/1152/head
nick black 4 years ago committed by Nick Black
parent 465a0ffbcb
commit 3f9d87f5e6

@ -464,8 +464,7 @@ if(USE_DOXYGEN)
COMMENT "Running doxygen" COMMENT "Running doxygen"
) )
add_custom_target(doxygen add_custom_target(doxygen
ALL ALL DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/html/index.html"
DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/html/index.html"
) )
set(MODELDOT ${CMAKE_CURRENT_SOURCE_DIR}/doc/model.dot) set(MODELDOT ${CMAKE_CURRENT_SOURCE_DIR}/doc/model.dot)
add_custom_command( add_custom_command(
@ -476,8 +475,7 @@ if(USE_DOXYGEN)
COMMENT "Running dot" COMMENT "Running dot"
) )
add_custom_target(dot add_custom_target(dot
ALL ALL DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/model.png"
DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/model.png"
) )
endif() endif()
endif() endif()

@ -40,9 +40,7 @@
<a href="notcurses-tetris.1.html">notcurses-tetris</a>—Tetris in a terminal<br/> <a href="notcurses-tetris.1.html">notcurses-tetris</a>—Tetris in a terminal<br/>
<a href="notcurses-view.1.html">notcurses-view</a>—renders images and video to a terminal<br/> <a href="notcurses-view.1.html">notcurses-view</a>—renders images and video to a terminal<br/>
<h2>C library (section 3)</h2> <h2>C library (section 3)</h2>
<a href="https://repology.org/project/notcurses/versions"> <div style="float:left">
<img src="https://repology.org/badge/vertical-allrepos/notcurses.svg" alt="Packaging status" align="right">
</a>
<a href="notcurses_capabilities.3.html">notcurses_capabilities</a>—runtime capability detection<br/> <a href="notcurses_capabilities.3.html">notcurses_capabilities</a>—runtime capability detection<br/>
<a href="notcurses_cell.3.html">notcurses_cell</a>—operations on <tt>cell</tt> objects<br/> <a href="notcurses_cell.3.html">notcurses_cell</a>—operations on <tt>cell</tt> objects<br/>
<a href="notcurses_channels.3.html">notcurses_channels</a>—operations on the <tt>channel</tt> type<br/> <a href="notcurses_channels.3.html">notcurses_channels</a>—operations on the <tt>channel</tt> type<br/>
@ -68,8 +66,18 @@
<a href="notcurses_stdplane.3.html">notcurses_stdplane</a>—acquire the standard <tt>ncplane</tt><br/> <a href="notcurses_stdplane.3.html">notcurses_stdplane</a>—acquire the standard <tt>ncplane</tt><br/>
<a href="notcurses_stop.3.html">notcurses_stop</a>—collapse the context<br/> <a href="notcurses_stop.3.html">notcurses_stop</a>—collapse the context<br/>
<a href="notcurses_visual.3.html">notcurses_visual</a>—operations on <tt>ncvisual</tt> objects<br/> <a href="notcurses_visual.3.html">notcurses_visual</a>—operations on <tt>ncvisual</tt> objects<br/>
<br/> </div>
<br/> <div style="float:right">
<a href="model.png">
<!-- youtube above us is 560, packaging status is 205 -->
<img src="model.png" alt="Notcurses data model" width="350">
</a>
<a href="https://repology.org/project/notcurses/versions">
<img src="https://repology.org/badge/vertical-allrepos/notcurses.svg" alt="Packaging status">
</a>
</div>
<div style="clear:both">
<br/><br/>
<center> <center>
<a href="widechars.png"> <a href="widechars.png">
<img src="widechars-800.png" alt="wide banner from notcurses 1.0.2 demo" /> <img src="widechars-800.png" alt="wide banner from notcurses 1.0.2 demo" />
@ -80,5 +88,6 @@
© 2019-2020 <a href="mailto:nickblack@linux.com">nickblack@linux.com</a> © 2019-2020 <a href="mailto:nickblack@linux.com">nickblack@linux.com</a>
</small> </small>
</center> </center>
</div>
</body> </body>
</html> </html>

@ -32,7 +32,7 @@ make -j
make test make test
ssh qemfd.net rm -rf /opt/notcurses/html ssh qemfd.net rm -rf /opt/notcurses/html
scp -r html qemfd.net:/opt/notcurses/html scp -r html qemfd.net:/opt/notcurses/html
scp *.html ../doc/man/index.html qemfd.net:/opt/notcurses/ scp *.html ../doc/man/index.html model.png qemfd.net:/opt/notcurses/
cd .. cd ..
# if that all worked, commit, push, and tag # if that all worked, commit, push, and tag

Loading…
Cancel
Save