include data model on web page

This commit is contained in:
nick black 2020-11-28 18:56:39 -05:00 committed by Nick Black
parent 465a0ffbcb
commit 3f9d87f5e6
3 changed files with 46 additions and 39 deletions

View File

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

View File

@ -40,9 +40,7 @@
<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/>
<h2>C library (section 3)</h2>
<a href="https://repology.org/project/notcurses/versions">
<img src="https://repology.org/badge/vertical-allrepos/notcurses.svg" alt="Packaging status" align="right">
</a>
<div style="float:left">
<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_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_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/>
<br/>
<br/>
</div>
<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>
<a href="widechars.png">
<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>
</small>
</center>
</div>
</body>
</html>

View File

@ -32,7 +32,7 @@ make -j
make test
ssh qemfd.net rm -rf /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 ..
# if that all worked, commit, push, and tag