From 4a7e1ea189730374c3ba5134c36fb6fdd54316dc Mon Sep 17 00:00:00 2001 From: Tirth Bodawala Date: Wed, 17 Oct 2018 22:51:10 +0530 Subject: [PATCH] Update support for Web App Manifest (#1046) --- docs/api-site-config.md | 4 ++-- v1/lib/core/Head.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/api-site-config.md b/docs/api-site-config.md index dc27b41ddd5b..c91be25e7942 100644 --- a/docs/api-site-config.md +++ b/docs/api-site-config.md @@ -203,7 +203,7 @@ Hostname of your server. Useful if you are using GitHub Enterprise. ``` #### `manifest` [string] -Path to your web app manifest (e.g., `/manifest.json`). This will add a `` tag to `` with `rel` as `"manifest"` and `content` as the provided path. +Path to your web app manifest (e.g., `manifest.json`). This will add a `` tag to `` with `rel` as `"manifest"` and `href` as the provided path. #### `markdownPlugins` [array] An array of plugins to be loaded by Remarkable, the markdown parser and renderer used by Docusaurus. The plugin will receive a reference to the Remarkable instance, allowing custom parsing and rendering rules to be defined. @@ -352,4 +352,4 @@ const siteConfig = { }; module.exports = siteConfig; -``` +``` \ No newline at end of file diff --git a/v1/lib/core/Head.js b/v1/lib/core/Head.js index 43fe5afe2b1b..3024d7113f7a 100644 --- a/v1/lib/core/Head.js +++ b/v1/lib/core/Head.js @@ -67,7 +67,7 @@ class Head extends React.Component { )} {this.props.config.manifest && ( - + )}