doc: display latest doc version as 0.28dev in doc version indicator

The package versions, displayed in man page footer eg, are still (wrongly) 0.28.
This commit is contained in:
Simon Michael 2016-08-07 08:47:15 -07:00
parent 1a29d9cc02
commit e0f11e7341
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ m4_dnl
m4_define({{_author_}}, {{}})m4_dnl
m4_define({{_monthyear_}}, {{May 2016}})m4_dnl
m4_define({{_currentrelease_}}, {{0.27}})m4_dnl
m4_define({{_version_}}, {{0.28}})m4_dnl
m4_define({{_version_}}, {{0.28dev}})m4_dnl
m4_dnl
m4_dnl Links to dev and recent release versions of a manual.
m4_dnl $1 is the manual's web slug: hledger, hledger-ui, journal, csv etc.

View File

@ -6,7 +6,7 @@ function highlightDocVersion() {
$('.versions').each( function() {
var parts = window.location.pathname.split('/');
var dir = parts.length > 1 ? parts[parts.length-2] : '';
var ver = $.isNumeric(dir) ? dir : '0.28';
var ver = $.isNumeric(dir) ? dir : '0.28dev';
$(this).find('a').each( function() {
if ($(this).html() == ver)
$(this)