diff --git a/documentation/_run/index.php b/documentation/_run/index.php index 3a282cd0..77c99a4b 100644 --- a/documentation/_run/index.php +++ b/documentation/_run/index.php @@ -13,8 +13,8 @@ - - + + */ ?> diff --git a/documentation/_run/router.php b/documentation/_run/router.php index 867ae068..80365b8a 100644 --- a/documentation/_run/router.php +++ b/documentation/_run/router.php @@ -23,6 +23,10 @@ $title = ""; $description = ""; + $package = json_decode(file_get_contents('./../package.json')); + $version = $package->version; + $plain_version = str_replace('.', '', $version); + ob_start(); include $file; diff --git a/documentation/download.php b/documentation/download.php index c616ad00..5e503aaa 100644 --- a/documentation/download.php +++ b/documentation/download.php @@ -11,7 +11,7 @@

noUiSlider is open source, and you can use it for free in any personal or commercial product. No attribution required. Both the uncompressed and compressed version of noUiSlider are available in a .zip release, which is hosted by Github and available over https.

- Download noUiSlider from Github + Download noUiSlider from Github