Quellcode durchsuchen

completed manifest documentation

Heydon Pickering vor 8 Jahren
Ursprung
Commit
5bff1e40d0

+ 3 - 3
content/patterns/library-setup.md

@@ -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

+ 2 - 2
docs/manifest.json

@@ -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",

+ 3 - 3
docs/patterns/library-setup/index.html

@@ -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>

+ 3 - 3
docs/print-version/index.html

@@ -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>

Datei-Diff unterdrückt, da er zu groß ist
+ 0 - 0
docs/service-worker.js


+ 2 - 2
themes/infusion/static/manifest.json

@@ -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",

Einige Dateien werden nicht angezeigt, da zu viele Dateien in diesem Diff geändert wurden.