From ad64ddb8812a37ca9a01d4a99dc661a90fa26e5a Mon Sep 17 00:00:00 2001 From: Dan Aprahamian Date: Tue, 16 Jan 2018 16:08:10 -0500 Subject: [PATCH] docs(versions): fixing version dropdown Actually fix the version dropdown this time around Fixes NODE-1235 --- docs/reference/README.md | 2 +- docs/reference/static/js/java.js | 2 +- docs/reference/themes/mongodb/README.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/reference/README.md b/docs/reference/README.md index abdec38d8e0..48592eb9e4c 100644 --- a/docs/reference/README.md +++ b/docs/reference/README.md @@ -19,7 +19,7 @@ To run the server call the hugo command: | Options explained || | --------------------------- |--------------------------------------------------------------------------| | server | Hugo runs its own webserver to render the files | -| --baseUrl=http://localhost/ | Normally the base url will be /mongo-java-driver for gh-pages | +| --baseUrl=http://localhost/ | Normally the base url will be /node-mongodb-native for gh-pages | | --buildDrafts | Include draft posts in the output - these won't be published to gh-pages | | -- watch | Automatically reloads on file change | diff --git a/docs/reference/static/js/java.js b/docs/reference/static/js/java.js index 5ea4edbbb8f..51400d34d70 100644 --- a/docs/reference/static/js/java.js +++ b/docs/reference/static/js/java.js @@ -13,7 +13,7 @@ jQuery(document).ready(function(){ jQuery.getJSON(DOCUMENTATION_OPTIONS.URL_ROOT + "/../versions.json").done(function( data ) { $.each(data, function( index, value ) { - var versionUrl = "//mongodb.github.io/mongo-java-driver/" + value.version; + var versionUrl = "//mongodb.github.io/node-mongodb-native/" + value.version; var liClass = DOCUMENTATION_OPTIONS.VERSION == value.version ? ' class="active"' : ''; jQuery("#optionsVersionsMenu").append(''+ value.version +''); }); diff --git a/docs/reference/themes/mongodb/README.md b/docs/reference/themes/mongodb/README.md index 5407e5f3258..d87e5525e16 100644 --- a/docs/reference/themes/mongodb/README.md +++ b/docs/reference/themes/mongodb/README.md @@ -22,7 +22,7 @@ To run the server call the hugo command: | Options explained || | --------------------------- |--------------------------------------------------------------------------| | server | Hugo runs its own webserver to render the files | -| --baseUrl=http://localhost/ | Normally the base url will be /mongo-java-driver for gh-pages | +| --baseUrl=http://localhost/ | Normally the base url will be /node-mongodb-native for gh-pages | | --buildDrafts | Include draft posts in the output - these won't be published to gh-pages | | -- watch | Automatically reloads on file change |