mirror of
https://github.com/simonmichael/hledger.git
synced 2024-12-27 12:24:43 +03:00
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:
parent
1a29d9cc02
commit
e0f11e7341
@ -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.
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user