diff --git a/scripts/docs/processors/jekyll.js b/scripts/docs/processors/jekyll.js index 993224985..56a2032c4 100644 --- a/scripts/docs/processors/jekyll.js +++ b/scripts/docs/processors/jekyll.js @@ -26,8 +26,8 @@ module.exports = function jekyll(renderDocsProcessor) { }); docs.push({ - docType: 'native_menu-menu', - id: 'native_menu-menu', + docType: 'nativeMenu', + id: 'native_menu', template: 'native_menu.template.html', outputPath: 'content/_includes/v2_fluid/native_menu.html' }); diff --git a/scripts/docs/processors/npm-id.js b/scripts/docs/processors/npm-id.js index 3097e4433..4e1a7f4ac 100644 --- a/scripts/docs/processors/npm-id.js +++ b/scripts/docs/processors/npm-id.js @@ -2,7 +2,7 @@ module.exports = function npmId(renderDocsProcessor) { return { name: 'npm-id', $runAfter: ['paths-computed'], - $runBefore: ['rendering-docs'], + $runBefore: ['jekyll'], $process: function(docs) { var currentVersion = renderDocsProcessor.extraData.version.current.name; diff --git a/scripts/docs/templates/native_menu.template.html b/scripts/docs/templates/native_menu.template.html index abe7a91c3..d2deb358a 100644 --- a/scripts/docs/templates/native_menu.template.html +++ b/scripts/docs/templates/native_menu.template.html @@ -1,9 +1,14 @@ -<@ for doc in docs @><@ if doc.URL and doc.private != true and doc.beta != true @> +
  • + Overview +
  • +
  • + Browser Usage +
  • +<@- for doc in docs @><@ if doc.URL and doc.private != true and doc.beta != true @>
  • <$ doc.name $>
  • <@ endif @><@ endfor @> - -<@ for doc in docs @><@ if doc.URL and doc.private != true and doc.beta == true @> +<@- for doc in docs @><@ if doc.URL and doc.private != true and doc.beta == true @>
  • <$ doc.name $> β
  • <@ endif @><@ endfor @> diff --git a/src/@ionic-native/plugins/browser-tab/index.ts b/src/@ionic-native/plugins/browser-tab/index.ts index f1620451f..06a002c60 100644 --- a/src/@ionic-native/plugins/browser-tab/index.ts +++ b/src/@ionic-native/plugins/browser-tab/index.ts @@ -17,7 +17,7 @@ import { Injectable } from '@angular/core'; * * if (isAvailable) { * - * browserTab.open('https://ionic.io'); + * browserTab.openUrl('https://ionic.io'); * * } else { * diff --git a/src/@ionic-native/plugins/camera/index.ts b/src/@ionic-native/plugins/camera/index.ts index c2f1d1add..af4394e5a 100644 --- a/src/@ionic-native/plugins/camera/index.ts +++ b/src/@ionic-native/plugins/camera/index.ts @@ -101,10 +101,10 @@ export interface CameraPopoverOptions { * ... * * - * constant options: CameraOptions = { + * const options: CameraOptions = { * quality: 100, * destinationType: this.camera.DestinationType.DATA_URL, - * enodingType: this.camera.EncodingType.JPEG, + * encodingType: this.camera.EncodingType.JPEG, * mediaType: this.camera.MediaType.PICTURE * } * diff --git a/src/@ionic-native/plugins/secure-storage/index.ts b/src/@ionic-native/plugins/secure-storage/index.ts index 8102f2982..5e9d7a9a4 100644 --- a/src/@ionic-native/plugins/secure-storage/index.ts +++ b/src/@ionic-native/plugins/secure-storage/index.ts @@ -53,7 +53,7 @@ export class SecureStorageObject { * @usage * * ```typescript - * import { SecureStorage, SecureStorageOBject } from '@ionic-native/secure-storage'; + * import { SecureStorage, SecureStorageObject } from '@ionic-native/secure-storage'; * * constructor(private secureStorage: SecureStorage) { } *