completed manifest documentation

This commit is contained in:
Heydon Pickering 2017-08-03 14:55:45 +01:00
parent 06ee7c787f
commit 5bff1e40d0
6 changed files with 14 additions and 14 deletions

View File

@ -46,14 +46,14 @@ theme = "infusion"
```
{
"name": "Infusion Pattern Library",
"short_name": "Infusion",
"name": "Infusion Pattern Library Docs",
"short_name": "Infusion Docs",
"icons": [
{...
```
{{% note %}}
The
The `short_name` value refers to the text that appears under the icon on your homescreen. As the name suggests, it should be as short as possible to fit well.
{{% /note %}}
## Including a logo

View File

@ -1,6 +1,6 @@
{
"name": "Infusion Pattern Library",
"short_name": "Infusion",
"name": "Infusion Pattern Library Docs",
"short_name": "Infusion Docs",
"icons": [
{
"src": "images/android-icon-36x36.png",

View File

@ -444,8 +444,8 @@ theme = "infusion"
<p><strong>Infusion</strong> libraries work as progressive web applications, meaning users can save them to their home screen and read them offline. The web app manifest, found at the root of the <code>static</code> folder defines names and icons for the app. You&rsquo;ll probably want to open <code>/static/manifest.json</code> and personalize the <code>name</code> and <code>short_name</code> values.</p>
<pre><code>{
&quot;name&quot;: &quot;Infusion Pattern Library&quot;,
&quot;short_name&quot;: &quot;Infusion&quot;,
&quot;name&quot;: &quot;Infusion Pattern Library Docs&quot;,
&quot;short_name&quot;: &quot;Infusion Docs&quot;,
&quot;icons&quot;: [
{...
</code></pre>
@ -455,7 +455,7 @@ theme = "infusion"
<svg aria-hidden="true" viewBox="0 0 41.667306 41.66729" focusable="false">
<use xlink:href="#info"></use>
</svg>
<p>The</p>
<p>The <code>short_name</code> value refers to the text that appears under the icon on your homescreen. As the name suggests, it should be as short as possible to fit well.</p>
</div>
</aside>

View File

@ -474,8 +474,8 @@ theme = "infusion"
<p><strong>Infusion</strong> libraries work as progressive web applications, meaning users can save them to their home screen and read them offline. The web app manifest, found at the root of the <code>static</code> folder defines names and icons for the app. You&rsquo;ll probably want to open <code>/static/manifest.json</code> and personalize the <code>name</code> and <code>short_name</code> values.</p>
<pre><code>{
&quot;name&quot;: &quot;Infusion Pattern Library&quot;,
&quot;short_name&quot;: &quot;Infusion&quot;,
&quot;name&quot;: &quot;Infusion Pattern Library Docs&quot;,
&quot;short_name&quot;: &quot;Infusion Docs&quot;,
&quot;icons&quot;: [
{...
</code></pre>
@ -485,7 +485,7 @@ theme = "infusion"
<svg aria-hidden="true" viewBox="0 0 41.667306 41.66729" focusable="false">
<use xlink:href="#info"></use>
</svg>
<p>The</p>
<p>The <code>short_name</code> value refers to the text that appears under the icon on your homescreen. As the name suggests, it should be as short as possible to fit well.</p>
</div>
</aside>

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
{
"name": "Infusion Pattern Library",
"short_name": "Infusion",
"name": "Infusion Pattern Library Docs",
"short_name": "Infusion Docs",
"icons": [
{
"src": "images/android-icon-36x36.png",