diff --git a/docs/config/versioning/hugo.toml b/docs/config/versioning/hugo.toml new file mode 100644 index 0000000000..09eadd53c3 --- /dev/null +++ b/docs/config/versioning/hugo.toml @@ -0,0 +1,14 @@ +# Configuration to test versioning support in development + +# To use run `hugo -e versioning` or `hugo server -e versioning` + +# It uses the docs as the current version and abuses the exampleSite +# as an archived version + +baseURL = 'http://localhost:1313/' +[params] + version = 'latest' + versions = [ + { identifier = 'latest', title = '1.0', baseURL = 'http://localhost:1313/', isLatest = true}, + { identifier = '0.666', title = '0.666', baseURL = 'http://localhost:1414/exampleSite/'}, + ] diff --git a/exampleSite/config/versioning/hugo.toml b/exampleSite/config/versioning/hugo.toml new file mode 100644 index 0000000000..5f05d5af15 --- /dev/null +++ b/exampleSite/config/versioning/hugo.toml @@ -0,0 +1,15 @@ +# Configuration to test versioning support in development + +# To use run `hugo -p 1414 -e versioning` or `hugo server -p 1414 -e versioning` + +# It uses the docs as the current version and abuses the exampleSite +# as an archived version + +baseURL = 'http://localhost:1414/exampleSite/' +relativeURLs = false +[params] + version = '0.666' + versions = [ + { identifier = 'latest', title = '1.0', baseURL = 'http://localhost:1313/', isLatest = true}, + { identifier = '0.666', title = '0.666', baseURL = 'http://localhost:1414/exampleSite/'}, + ] diff --git a/layouts/partials/version.txt b/layouts/partials/version.txt index 8ebda13610..d3850d4411 100644 --- a/layouts/partials/version.txt +++ b/layouts/partials/version.txt @@ -1 +1 @@ -7.5.0+67d43d0a8a647b8b4b09cdb0103001e87e7b104c \ No newline at end of file +7.5.0+67adcb73225ceeeb11bc09cfeaf6c8b9dbdb5c2a \ No newline at end of file