From a2711c2c083cd688775282367e0ce499cb67f842 Mon Sep 17 00:00:00 2001 From: Henry Date: Thu, 13 Oct 2016 15:36:59 -0700 Subject: [PATCH] [Documentation] Changed build script to produce new API docs for website. Fixes #1249t --- build-docs.sh | 2 +- docs/src/index.md | 3 +-- package.json | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/build-docs.sh b/build-docs.sh index 29841f921e..22e87949bf 100755 --- a/build-docs.sh +++ b/build-docs.sh @@ -24,7 +24,7 @@ # Script to build and deploy docs. -OUTPUT_DIRECTORY="target/docs" +OUTPUT_DIRECTORY="dist/docs" # Docs, once built, are pushed to the private website repo REPOSITORY_URL="git@github.com:nasa/openmct-website.git" WEBSITE_DIRECTORY="website" diff --git a/docs/src/index.md b/docs/src/index.md index 9c1a24aa02..1d523657f4 100644 --- a/docs/src/index.md +++ b/docs/src/index.md @@ -34,5 +34,4 @@ As we transition to a new API, the following documentation for the old API platform and the functionality that it provides. * The [Tutorials](tutorials/) give examples of extending the platform to add - functionality, - and integrate with data sources. + functionality, and integrate with data sources. diff --git a/package.json b/package.json index 6e9a7c9801..9ac04c5189 100644 --- a/package.json +++ b/package.json @@ -49,7 +49,7 @@ "jshint": "jshint platform example", "watch": "karma start", "jsdoc": "jsdoc -c jsdoc.json -R API.md -r -d dist/docs/api", - "otherdoc": "node docs/gendocs.js --in docs/src --out target/docs --suppress-toc 'docs/src/index.md|docs/src/process/index.md'", + "otherdoc": "node docs/gendocs.js --in docs/src --out dist/docs --suppress-toc 'docs/src/index.md|docs/src/process/index.md'", "docs": "npm run jsdoc ; npm run otherdoc", "prepublish": "node ./node_modules/bower/bin/bower install && node ./node_modules/gulp/bin/gulp.js install" },