throw analytics into man pages

pull/274/head
nick black 4 years ago
parent eba64b0990
commit 3c7b9777e4
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -134,11 +134,12 @@ foreach(m ${MANSOURCE3})
DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/${me}
)
set(MANPAGES3 ${MANPAGES3} ${CMAKE_CURRENT_BINARY_DIR}/${me})
file(GLOB ANALHTML doc/analytics-header.html)
add_custom_command(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${me}.html
DEPENDS ${m}
DEPENDS ${m} ${ANALHTML}
COMMAND ${PANDOC}
ARGS --to html --standalone ${m} > ${CMAKE_CURRENT_BINARY_DIR}/${me}.html
ARGS -H ${ANALHTML} --to html --standalone ${m} > ${CMAKE_CURRENT_BINARY_DIR}/${me}.html
COMMENT "Building HTML5 ${me}.html"
)
add_custom_target(${me}.html5

@ -0,0 +1,8 @@
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-11557335-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-11557335-1');
</script>

@ -1,4 +1,4 @@
.TH notcurses-input. 1 "v1.0.2"
.TH notcurses-input 1 "v1.0.2"
.SH NAME
notcurses-input \- Display and decode input
.SH SYNOPSIS

Loading…
Cancel
Save