Check-in [7e81c41b70]
Overview
Comment:Better formatting of Downloads wiki page
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 7e81c41b7053ca21c1c47d24531e28b2c188a7ad766e112d5813d46f8a56fe46
User & Date: rkeene on 2018-07-10 00:33:03
Other Links: manifest | tags
Context
2018-07-10
19:20
Some platforms do not define LONG_LONG_MAX and we really don't need that many bytes of random data anyway, so use a smaller value check-in: 423575338a user: rkeene tags: trunk
00:33
Better formatting of Downloads wiki page check-in: 7e81c41b70 user: rkeene tags: trunk
00:13
Tcl Nano v1.0 check-in: 069a5e3abe user: rkeene tags: trunk, 1.0
Changes

Modified build/update-wiki from [c5365d627b] to [729d2f2a65].

41
42
43
44
45
46
47

48
49
50
51
52
53
54
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55







+







		return 0
	fi

	echo 'Tcl Nano'
	echo '========'
	echo ''
	echo "Current release: **${version}**"
	echo ''
	echo '  - Downloads:'
	echo "    - [Source](/uv/${tarball}) <small>(SHA2-256: ${sha256})</small>"
	echo ''
	echo "Older releases may be found in the [archives](/uvlist)."

	return 0
}
68
69
70
71
72
73
74
75

76
77
78
79
80
69
70
71
72
73
74
75

76
77
78
79
80
81







-
+






# Generate the new manual page entry
manPage="$(groff -mandoc -Thtml nano.man | sed -r 's@</*(body|html)( [^>]*|)>@@g;/<head>/,/<\/head>/ d' | sed "s/@@VERS@@/${tclNanoVersion}/g;s/@@SHORT_DATE@@/${tclNanoRelaseDate}/g" | sed 's/\[/\&#91;/g;s/\]/\&#93;/g' | tail -n +5)"
updatePage "${wikiPageManual}" "${manPage}"

# Generate the new download page entry
downloadsPage="$(generateDownloads "${tclNanoVersion}" "${tclNanoTarball}" "${tclNanoTarballSHA256}")"
updatePage "${wikiPageDownloads}" "${downloadsPage}" 'text/markdown'
updatePage "${wikiPageDownloads}" "${downloadsPage}" 'markdown'

# Push changes if any have been made
fossil sync

exit 0