From c927cc126102eb29f59267f3fd01b96e63b0fe80 Mon Sep 17 00:00:00 2001 From: Heydon Pickering Date: Wed, 2 Aug 2017 18:00:38 +0100 Subject: [PATCH] SVG logo + non-breaking pattern links --- config.toml | 2 +- content/patterns/library-setup.md | 8 +++++++- docs/css/styles.css | 2 ++ docs/images/logo.png | Bin 9226 -> 0 bytes docs/images/logo.svg | 1 + docs/index.html | 4 ++-- docs/patterns/coding/code-blocks/index.html | 4 ++-- docs/patterns/coding/color-palettes/index.html | 4 ++-- docs/patterns/coding/command-line/index.html | 4 ++-- docs/patterns/coding/demo-embedding/index.html | 4 ++-- docs/patterns/coding/file-trees/index.html | 4 ++-- docs/patterns/coding/index.html | 4 ++-- docs/patterns/coding/tested/index.html | 4 ++-- .../coding/writing-inline-demos/index.html | 4 ++-- docs/patterns/index.html | 4 ++-- docs/patterns/installation/index.html | 4 ++-- docs/patterns/library-setup/index.html | 11 ++++++++--- docs/patterns/media/including-images/index.html | 4 ++-- docs/patterns/media/including-videos/index.html | 4 ++-- docs/patterns/media/index.html | 4 ++-- docs/patterns/printing/index.html | 4 ++-- docs/patterns/serving/index.html | 4 ++-- .../writing/expandable-sections/index.html | 4 ++-- docs/patterns/writing/index.html | 4 ++-- .../writing/library-structure/index.html | 4 ++-- .../writing/markdown-and-metadata/index.html | 4 ++-- .../writing/notes-and-warnings/index.html | 4 ++-- docs/patterns/writing/references/index.html | 4 ++-- .../writing/tables-of-contents/index.html | 4 ++-- docs/print-version/index.html | 11 ++++++++--- docs/service-worker.js | 2 +- docs/tags/markdown/index.html | 4 ++-- docs/tags/metadata/index.html | 4 ++-- static/images/logo.png | Bin 9226 -> 0 bytes static/images/logo.svg | 1 + themes/infusion/layouts/_default/baseof.html | 2 +- themes/infusion/static/css/styles.css | 2 ++ 37 files changed, 82 insertions(+), 60 deletions(-) delete mode 100644 docs/images/logo.png create mode 100644 docs/images/logo.svg delete mode 100644 static/images/logo.png create mode 100644 static/images/logo.svg diff --git a/config.toml b/config.toml index ea4fdf6..122644c 100644 --- a/config.toml +++ b/config.toml @@ -6,5 +6,5 @@ theme = "infusion" publishDir = "docs" [params] - description = "Documentation for the **Infusion** pattern library builder. This documentation is constructed using the builder itself." + description = "Documentation for the **Infusion** pattern library builder, built with **Infusion** itself." codePenUser = "Heydon" diff --git a/content/patterns/library-setup.md b/content/patterns/library-setup.md index 3f3c388..9bcf84f 100644 --- a/content/patterns/library-setup.md +++ b/content/patterns/library-setup.md @@ -42,6 +42,12 @@ theme = "infusion" ## Including a logo -In the `images/static` folder, you'll find a `logo.png` file. Replace this file with your own company or project logo. Currently, only the PNG format is supported. +In the `images/static` folder, you'll find a `logo.svg` file. Replace this file with your own company or project logo. Currently, only the SVG is supported this easily because SVG the superior format for logotypes. However, if you must use a different format, you can open up the `themes/infusion/layouts/_default/baseof.html` file and edit the image reference: + +```html + +``` Now that your logo's in place, everything should be ready. Where next? You can learn about {{% pattern "Library structure" %}} to help you get writing, or find out how to serve the library locally and on Github Pages in {{% pattern "Serving" %}}. diff --git a/docs/css/styles.css b/docs/css/styles.css index 50334df..049cc09 100644 --- a/docs/css/styles.css +++ b/docs/css/styles.css @@ -676,6 +676,8 @@ h1 svg { .pattern-link { font-weight: bold; + display: inline-block; + hyphens: auto; } /* inline demos */ diff --git a/docs/images/logo.png b/docs/images/logo.png deleted file mode 100644 index f6d3ef1e459f74a900173e6f3b50bb7b217d339c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 9226 zcmcJV_dnI~+sBWQy-CL&A!HppBYP7e86i6)dxdP-D@0`Gga{dtjO@rBNy^HWofW#T z^S!@+!2QeZ@#wTZ^ZmZA*Y&!d*NM@)rAA6bPlP}qNHx@z^$`dxJos}30p?RbYor){ z!}V0uFeHGVKmyxn_&cGSx``(Oape={7nTVtFFE`potKKSmw~Ijm#>wF9m3bwSHSU+ zv!{)fo1K8GheP(33_SwDiqKG2F!am${W8GVaN?qSw$Y7gi}h|JQFLa0K?D&mw#O)T z2Q?kN4~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L3)ufc_vTPp_n$!kz!l-1M=ma1i#&T(oIG1w_w`x-@L&9AAVRG>qDUM3_t87X`ubFdo8Q90HzGl*q1yw7N&WeCWo43Gf5zwHNY z;L*@O8()w976bW9Il1dK@ItJrt}dO2KdwtrQc+iHWY<2$Zi;a(0*3cjne>5}YEQpgm&X9YXN$1QZB1QGN03 z9~)ZkKS&tFwb2{mQ~ADJ)Oh*an%A4I7pH)ofJ!?4^=k(dS6~Afr*^4NAqChaB(6Xh z!HuK9Qe%dgjd?u73h \ No newline at end of file diff --git a/docs/index.html b/docs/index.html index b9c35ec..106338e 100644 --- a/docs/index.html +++ b/docs/index.html @@ -120,10 +120,10 @@

- Documentation for the Infusion pattern library builder. This documentation is constructed using the builder itself. + Documentation for the Infusion pattern library builder, built with Infusion itself.

- Documentation for the Infusion pattern library builder. This documentation is constructed using the builder itself. + Documentation for the Infusion pattern library builder, built with Infusion itself.

- Documentation for the Infusion pattern library builder. This documentation is constructed using the builder itself. + Documentation for the Infusion pattern library builder, built with Infusion itself.

- Documentation for the Infusion pattern library builder. This documentation is constructed using the builder itself. + Documentation for the Infusion pattern library builder, built with Infusion itself.

- Documentation for the Infusion pattern library builder. This documentation is constructed using the builder itself. + Documentation for the Infusion pattern library builder, built with Infusion itself.

- Documentation for the Infusion pattern library builder. This documentation is constructed using the builder itself. + Documentation for the Infusion pattern library builder, built with Infusion itself.

- Documentation for the Infusion pattern library builder. This documentation is constructed using the builder itself. + Documentation for the Infusion pattern library builder, built with Infusion itself.

- Documentation for the Infusion pattern library builder. This documentation is constructed using the builder itself. + Documentation for the Infusion pattern library builder, built with Infusion itself.

- Documentation for the Infusion pattern library builder. This documentation is constructed using the builder itself. + Documentation for the Infusion pattern library builder, built with Infusion itself.

- Documentation for the Infusion pattern library builder. This documentation is constructed using the builder itself. + Documentation for the Infusion pattern library builder, built with Infusion itself.

- Documentation for the Infusion pattern library builder. This documentation is constructed using the builder itself. + Documentation for the Infusion pattern library builder, built with Infusion itself.

- Documentation for the Infusion pattern library builder. This documentation is constructed using the builder itself. + Documentation for the Infusion pattern library builder, built with Infusion itself.

-

In the images/static folder, you’ll find a logo.png file. Replace this file with your own company or project logo. Currently, only the PNG format is supported.

+

In the images/static folder, you’ll find a logo.svg file. Replace this file with your own company or project logo. Currently, only the SVG is supported this easily because SVG the superior format for logotypes. However, if you must use a different format, you can open up the themes/infusion/layouts/_default/baseof.html file and edit the image reference:

+ +
<a class="logo" href="/" aria-label="{{ .Site.Title }} pattern library home page">
+  <img src="{{ "images/logo.svg" | absURL }}" alt="">
+</a>
+

Now that your logo’s in place, everything should be ready. Where next? You can learn about Library structure to help you get writing, or find out how to serve the library locally and on Github Pages in Serving.

diff --git a/docs/patterns/media/including-images/index.html b/docs/patterns/media/including-images/index.html index c38c6fe..e330417 100644 --- a/docs/patterns/media/including-images/index.html +++ b/docs/patterns/media/including-images/index.html @@ -117,10 +117,10 @@

- Documentation for the Infusion pattern library builder. This documentation is constructed using the builder itself. + Documentation for the Infusion pattern library builder, built with Infusion itself.

- Documentation for the Infusion pattern library builder. This documentation is constructed using the builder itself. + Documentation for the Infusion pattern library builder, built with Infusion itself.

- Documentation for the Infusion pattern library builder. This documentation is constructed using the builder itself. + Documentation for the Infusion pattern library builder, built with Infusion itself.

- Documentation for the Infusion pattern library builder. This documentation is constructed using the builder itself. + Documentation for the Infusion pattern library builder, built with Infusion itself.

- Documentation for the Infusion pattern library builder. This documentation is constructed using the builder itself. + Documentation for the Infusion pattern library builder, built with Infusion itself.

- Documentation for the Infusion pattern library builder. This documentation is constructed using the builder itself. + Documentation for the Infusion pattern library builder, built with Infusion itself.

- Documentation for the Infusion pattern library builder. This documentation is constructed using the builder itself. + Documentation for the Infusion pattern library builder, built with Infusion itself.

- Documentation for the Infusion pattern library builder. This documentation is constructed using the builder itself. + Documentation for the Infusion pattern library builder, built with Infusion itself.

- Documentation for the Infusion pattern library builder. This documentation is constructed using the builder itself. + Documentation for the Infusion pattern library builder, built with Infusion itself.

- Documentation for the Infusion pattern library builder. This documentation is constructed using the builder itself. + Documentation for the Infusion pattern library builder, built with Infusion itself.

- Documentation for the Infusion pattern library builder. This documentation is constructed using the builder itself. + Documentation for the Infusion pattern library builder, built with Infusion itself.

- Documentation for the Infusion pattern library builder. This documentation is constructed using the builder itself. + Documentation for the Infusion pattern library builder, built with Infusion itself.

- Documentation for the Infusion pattern library builder. This documentation is constructed using the builder itself. + Documentation for the Infusion pattern library builder, built with Infusion itself.

@@ -429,7 +429,12 @@ theme = "infusion" -

In the images/static folder, you’ll find a logo.png file. Replace this file with your own company or project logo. Currently, only the PNG format is supported.

+

In the images/static folder, you’ll find a logo.svg file. Replace this file with your own company or project logo. Currently, only the SVG is supported this easily because SVG the superior format for logotypes. However, if you must use a different format, you can open up the themes/infusion/layouts/_default/baseof.html file and edit the image reference:

+ +
<a class="logo" href="/" aria-label="{{ .Site.Title }} pattern library home page">
+  <img src="{{ "images/logo.svg" | absURL }}" alt="">
+</a>
+

Now that your logo’s in place, everything should be ready. Where next? You can learn about Library structure to help you get writing, or find out how to serve the library locally and on Github Pages in Serving.

diff --git a/docs/service-worker.js b/docs/service-worker.js index 54ad1a4..813d538 100644 --- a/docs/service-worker.js +++ b/docs/service-worker.js @@ -37,7 +37,7 @@ /* eslint-disable indent, no-unused-vars, no-multiple-empty-lines, max-nested-callbacks, space-before-function-paren, quotes, comma-spacing */ 'use strict'; -var precacheConfig = [["browserconfig.xml","67c3113b1574fecc6015d56d774e1d38"],["categories/index.xml","0ac1d02cfbcad2fcc8c13b2c54715338"],["css/fonts/miriamlibre-bold.woff","96496f6f06535d25b3bcba876917ca35"],["css/fonts/miriamlibre-bold.woff2","668defa44d9a74dd709ce0c826a5eb11"],["css/images/arrow_effect.svg","1434d178461f70c16b77acb4bdbc51e3"],["css/images/icon-tick.svg","35d4d4728ea80d254508b2bca4109d70"],["css/images/stripe.svg","fa3f32a026b6a1bb04ee98d963432e15"],["css/prism.css","004029c8c70ed2bbaa5d9debcf14f8c7"],["css/styles.css","a5642b87198a0f10b2ee19301c004693"],["images/android-icon-144x144.png","43e1f47f182b13d0dee15f510213e928"],["images/android-icon-192x192.png","4c07782e52e0ab714074e6d3d69dc3ec"],["images/android-icon-36x36.png","3b2cd8c925a66bf84c89b68bb30e5f62"],["images/android-icon-48x48.png","45dc386eea1d8a46216a8b6de9b156c6"],["images/android-icon-72x72.png","b04c64637efed2b04fa900ddfcbfe75d"],["images/android-icon-96x96.png","bd9c126a4d6baf7ce442122ce0e89e11"],["images/apple-icon-114x114.png","72e127d6f01dfcd2ba2340141babc536"],["images/apple-icon-120x120.png","bc7cd9e36869e66aaca78412207bf723"],["images/apple-icon-144x144.png","43e1f47f182b13d0dee15f510213e928"],["images/apple-icon-152x152.png","567c64205576865b5e5d06c849613ca2"],["images/apple-icon-180x180.png","6b8734c446bf02ab50be598b4c01ec9c"],["images/apple-icon-57x57.png","f8c586086752c78870820b6190d6b42b"],["images/apple-icon-60x60.png","6e88df111e506bcd5501bed4ff10542e"],["images/apple-icon-72x72.png","b04c64637efed2b04fa900ddfcbfe75d"],["images/apple-icon-76x76.png","d8666e0ac256f39f8c5c628486bd71fb"],["images/apple-icon-precomposed.png","725f6cec25256abb1db10385e0724400"],["images/apple-icon.png","725f6cec25256abb1db10385e0724400"],["images/bad_design_system.png","9c0e87a34e7d842b0e2831dc947249aa"],["images/browser-Chrome-Android.svg","3100b2a9c5f0e34982c717fc2aa46d73"],["images/browser-Chrome.svg","fa39b4be6727525330e928f582fbe80a"],["images/browser-Edge.svg","9e8265ab8f6a701587a4271dd3aa6a73"],["images/browser-Firefox-Android.svg","452df7b9e83c70a07e8e03b4e8dab9c4"],["images/browser-Firefox.svg","d3093eda664be3d0cc6d791e1386420f"],["images/browser-IE.svg","13e192cf2b3fe17e7049a49b7d085caa"],["images/browser-Opera.svg","95d65630c9f7deef6a3098af8f5baf9f"],["images/browser-Safari-iOS.svg","f729e629ec998ec40d313495d7257741"],["images/browser-Safari.svg","523ee9491f5a937b8975f4d23aa77f62"],["images/favicon-16x16.png","7a99c20d6c00babddd26d03607b8721d"],["images/favicon-32x32.png","129881474a1bf130027bff7a1e89febd"],["images/favicon-96x96.png","bd9c126a4d6baf7ce442122ce0e89e11"],["images/favicon.ico","81c46feedbfcc6c6dc9495e4fd5adfad"],["images/icon-info.svg","53a6c555ce41f818556c71ab0dfc533b"],["images/icon-tag.svg","f067bbbc072941b2a0335679300bfc6c"],["images/icon-warning.svg","2a4322abbee9aed694fadb50e98a1f61"],["images/logo.png","0134d77c2c6b01eabb425990bab7ce9a"],["images/ms-icon-144x144.png","43e1f47f182b13d0dee15f510213e928"],["images/ms-icon-150x150.png","e73370837ab9060772a18d62aaacd0f0"],["images/ms-icon-310x310.png","8a7143516b929702e3309bb537a99c5c"],["images/ms-icon-70x70.png","d7c6e7368733d53b5f979546d5aa4fe9"],["images/open_in_desktop.png","e899d6679b011aa7b0e783683d90d99b"],["images/serve_from_docs.png","15ae9eac3737a21593ebe00a9312bf9e"],["index.html","8feea45d333287eb304a9d0b88e8bd65"],["index.xml","62c43ef554019de6d4808768f5f4cbad"],["js/dom-scripts.js","f7e4e662f3c30e319ac30f9a6c28d0ca"],["js/prism.js","0c1fb8d3a69ee7c91dbf0f361ded7763"],["js/service-worker-registration.js","d60f01dc1393cbaaf4f7435339074d5e"],["js/webcomponents.js","c5f6fe397db634cde89f66c2f1bc2f62"],["manifest.json","db7fe2494bfde2c101d77d4aee481437"],["patterns/coding/code-blocks/index.html","bfc6b9446181c627620d49a915035e9b"],["patterns/coding/color-palettes/index.html","303b710af1c8bfb1add6e0c9843e3a6a"],["patterns/coding/command-line/index.html","51adfd19db6e0f699196ec3f6fda3f6e"],["patterns/coding/demo-embedding/index.html","e0b0b5ae47ac3e8fc285eff918bcb1c6"],["patterns/coding/file-trees/index.html","12739e41bfe4415e53cd1463bea5cb89"],["patterns/coding/index.html","04653acec559d3e2695194d6a3f938af"],["patterns/coding/index.xml","c8141d2e5b185b41c7c2297cbe9761a9"],["patterns/coding/tested/index.html","7e48cc0d6328acc0853b089e1e5b1678"],["patterns/coding/writing-inline-demos/index.html","781c132216d126a7594561ca5e5339d0"],["patterns/index.html","2c6ba13743b114c000523688deadc71c"],["patterns/index.xml","fef34844f84d6c8ad7e27732478291a7"],["patterns/installation/index.html","498e0090e718e86200cf3f22cb97b1fd"],["patterns/library-setup/index.html","5676ca139c2d015b6cfe5bcef4f27a44"],["patterns/media/including-images/index.html","232cc857e80fcd66a93a2a791b8448ff"],["patterns/media/including-videos/index.html","fadebe383c4347e59a9c66cdaab5566b"],["patterns/media/index.html","86f11f5a002d4eef6630c0da0831e7c1"],["patterns/media/index.xml","38cdadb4cc97fb22238e2342ed8d4d31"],["patterns/printing/index.html","5a6bf3a2f3851d5b899500729cd5f47f"],["patterns/serving/index.html","3bdc6dee020506a4ba738c72323cf0e1"],["patterns/writing/expandable-sections/index.html","21e08d437cab81a252d0acee44b0fd09"],["patterns/writing/index.html","c45453e9a2ce2ed139e98df247aa35d0"],["patterns/writing/index.xml","7975bc05d66958e02f1433099f033636"],["patterns/writing/library-structure/index.html","57bd25f44e0402472d53f68a0d8ad500"],["patterns/writing/markdown-and-metadata/index.html","e57ecc49a2bc144c743310e1b12bbd50"],["patterns/writing/notes-and-warnings/index.html","c966c0396b878923a58cead1423fdbf1"],["patterns/writing/references/index.html","de275b54d8b2c9c7d5af86d79d5c63cd"],["patterns/writing/tables-of-contents/index.html","39a8e3bc4631e5067ac645fe4d8aa8d3"],["print-version/index.html","13d50e2e3f69c60ec481453e1d2303b9"],["sitemap.xml","001c1e642c492c18a637bccfcfc2fe9d"],["tags/index.xml","5af18d25fdcb072a78c1603adacee4f6"],["tags/markdown/index.html","4290f4662cb9deb5b21c478fb264c81b"],["tags/markdown/index.xml","757d307cdf85883859ac95ea20527f4a"],["tags/metadata/index.html","e0b201d1da0f647b3dce6f83fd04d7f8"],["tags/metadata/index.xml","b6989e44540f4745072a2063369de173"]]; +var precacheConfig = [["browserconfig.xml","67c3113b1574fecc6015d56d774e1d38"],["categories/index.xml","0ac1d02cfbcad2fcc8c13b2c54715338"],["css/fonts/miriamlibre-bold.woff","96496f6f06535d25b3bcba876917ca35"],["css/fonts/miriamlibre-bold.woff2","668defa44d9a74dd709ce0c826a5eb11"],["css/images/arrow_effect.svg","1434d178461f70c16b77acb4bdbc51e3"],["css/images/icon-tick.svg","35d4d4728ea80d254508b2bca4109d70"],["css/images/stripe.svg","fa3f32a026b6a1bb04ee98d963432e15"],["css/prism.css","004029c8c70ed2bbaa5d9debcf14f8c7"],["css/styles.css","8e44ff3d8017e66d15a837410eb77a15"],["images/android-icon-144x144.png","43e1f47f182b13d0dee15f510213e928"],["images/android-icon-192x192.png","4c07782e52e0ab714074e6d3d69dc3ec"],["images/android-icon-36x36.png","3b2cd8c925a66bf84c89b68bb30e5f62"],["images/android-icon-48x48.png","45dc386eea1d8a46216a8b6de9b156c6"],["images/android-icon-72x72.png","b04c64637efed2b04fa900ddfcbfe75d"],["images/android-icon-96x96.png","bd9c126a4d6baf7ce442122ce0e89e11"],["images/apple-icon-114x114.png","72e127d6f01dfcd2ba2340141babc536"],["images/apple-icon-120x120.png","bc7cd9e36869e66aaca78412207bf723"],["images/apple-icon-144x144.png","43e1f47f182b13d0dee15f510213e928"],["images/apple-icon-152x152.png","567c64205576865b5e5d06c849613ca2"],["images/apple-icon-180x180.png","6b8734c446bf02ab50be598b4c01ec9c"],["images/apple-icon-57x57.png","f8c586086752c78870820b6190d6b42b"],["images/apple-icon-60x60.png","6e88df111e506bcd5501bed4ff10542e"],["images/apple-icon-72x72.png","b04c64637efed2b04fa900ddfcbfe75d"],["images/apple-icon-76x76.png","d8666e0ac256f39f8c5c628486bd71fb"],["images/apple-icon-precomposed.png","725f6cec25256abb1db10385e0724400"],["images/apple-icon.png","725f6cec25256abb1db10385e0724400"],["images/bad_design_system.png","9c0e87a34e7d842b0e2831dc947249aa"],["images/browser-Chrome-Android.svg","3100b2a9c5f0e34982c717fc2aa46d73"],["images/browser-Chrome.svg","fa39b4be6727525330e928f582fbe80a"],["images/browser-Edge.svg","9e8265ab8f6a701587a4271dd3aa6a73"],["images/browser-Firefox-Android.svg","452df7b9e83c70a07e8e03b4e8dab9c4"],["images/browser-Firefox.svg","d3093eda664be3d0cc6d791e1386420f"],["images/browser-IE.svg","13e192cf2b3fe17e7049a49b7d085caa"],["images/browser-Opera.svg","95d65630c9f7deef6a3098af8f5baf9f"],["images/browser-Safari-iOS.svg","f729e629ec998ec40d313495d7257741"],["images/browser-Safari.svg","523ee9491f5a937b8975f4d23aa77f62"],["images/favicon-16x16.png","7a99c20d6c00babddd26d03607b8721d"],["images/favicon-32x32.png","129881474a1bf130027bff7a1e89febd"],["images/favicon-96x96.png","bd9c126a4d6baf7ce442122ce0e89e11"],["images/favicon.ico","81c46feedbfcc6c6dc9495e4fd5adfad"],["images/icon-info.svg","53a6c555ce41f818556c71ab0dfc533b"],["images/icon-tag.svg","f067bbbc072941b2a0335679300bfc6c"],["images/icon-warning.svg","2a4322abbee9aed694fadb50e98a1f61"],["images/logo.svg","9d455af53f9c02bc76abd2bb576c164d"],["images/ms-icon-144x144.png","43e1f47f182b13d0dee15f510213e928"],["images/ms-icon-150x150.png","e73370837ab9060772a18d62aaacd0f0"],["images/ms-icon-310x310.png","8a7143516b929702e3309bb537a99c5c"],["images/ms-icon-70x70.png","d7c6e7368733d53b5f979546d5aa4fe9"],["images/open_in_desktop.png","e899d6679b011aa7b0e783683d90d99b"],["images/serve_from_docs.png","15ae9eac3737a21593ebe00a9312bf9e"],["index.html","a552cc7519e0eeada8f4da7b4abff7a2"],["index.xml","62c43ef554019de6d4808768f5f4cbad"],["js/dom-scripts.js","f7e4e662f3c30e319ac30f9a6c28d0ca"],["js/prism.js","0c1fb8d3a69ee7c91dbf0f361ded7763"],["js/service-worker-registration.js","d60f01dc1393cbaaf4f7435339074d5e"],["js/webcomponents.js","c5f6fe397db634cde89f66c2f1bc2f62"],["manifest.json","db7fe2494bfde2c101d77d4aee481437"],["patterns/coding/code-blocks/index.html","008374cd248a69226fbeb9a5f2e08321"],["patterns/coding/color-palettes/index.html","236a8737b2b670fdce38fae8a6d3ad71"],["patterns/coding/command-line/index.html","a031c29caeb331d115de3903b095f965"],["patterns/coding/demo-embedding/index.html","497363d2a5ac7c01b407a818b2b0ebd1"],["patterns/coding/file-trees/index.html","e12eae853786f0b68544054b59e11ba5"],["patterns/coding/index.html","f2b85b8ce0aa726b0ba8aa113728a2fa"],["patterns/coding/index.xml","c8141d2e5b185b41c7c2297cbe9761a9"],["patterns/coding/tested/index.html","8e1bcb24fa0e7370f713048a869165bb"],["patterns/coding/writing-inline-demos/index.html","8fbeb23997b3756bf6f3a2c9c1a67299"],["patterns/index.html","7b47be5899ec30a3aeaf2dc7e28abbe3"],["patterns/index.xml","fef34844f84d6c8ad7e27732478291a7"],["patterns/installation/index.html","f48a577c4ace02cede7d6f66351ff775"],["patterns/library-setup/index.html","d7230f3d29895fe8be0eaebd468bceaf"],["patterns/media/including-images/index.html","e65131871f35d80140640dfb57ce7f0a"],["patterns/media/including-videos/index.html","2ab8f61e69ad1f42de521643d82d6ba7"],["patterns/media/index.html","afbe1a8787560e95612db633ad72f7e0"],["patterns/media/index.xml","38cdadb4cc97fb22238e2342ed8d4d31"],["patterns/printing/index.html","1c9ae2485478d4c92785f14143fce173"],["patterns/serving/index.html","17ac49843cd3caea71bd6e056ce99741"],["patterns/writing/expandable-sections/index.html","1b247a43ea0939554d2467acdf47bf37"],["patterns/writing/index.html","0ebe64b64174e93af1445cb83571317a"],["patterns/writing/index.xml","7975bc05d66958e02f1433099f033636"],["patterns/writing/library-structure/index.html","7e9cf01677661439660da36dcd55c758"],["patterns/writing/markdown-and-metadata/index.html","cafe0ffe59d4b3d40075f87f3eaec2b7"],["patterns/writing/notes-and-warnings/index.html","ab545e3cf355dc1f017a7f6710476f1f"],["patterns/writing/references/index.html","d2a7ff0750bcae52574fbe04aa96ea3d"],["patterns/writing/tables-of-contents/index.html","291666b7cee3bf30fc9744a64a57fc5e"],["print-version/index.html","265613a5c2c1a7309327066954ca6030"],["sitemap.xml","001c1e642c492c18a637bccfcfc2fe9d"],["tags/index.xml","5af18d25fdcb072a78c1603adacee4f6"],["tags/markdown/index.html","165c08d51fb0d5470737f5d82b979738"],["tags/markdown/index.xml","757d307cdf85883859ac95ea20527f4a"],["tags/metadata/index.html","9e96d01aeb1f18f22e2f4c6c9c198615"],["tags/metadata/index.xml","b6989e44540f4745072a2063369de173"]]; var cacheName = 'sw-precache-v3-sw-precache-' + (self.registration ? self.registration.scope : ''); diff --git a/docs/tags/markdown/index.html b/docs/tags/markdown/index.html index 4c7d396..0e1db36 100644 --- a/docs/tags/markdown/index.html +++ b/docs/tags/markdown/index.html @@ -117,10 +117,10 @@

- Documentation for the Infusion pattern library builder. This documentation is constructed using the builder itself. + Documentation for the Infusion pattern library builder, built with Infusion itself.

- Documentation for the Infusion pattern library builder. This documentation is constructed using the builder itself. + Documentation for the Infusion pattern library builder, built with Infusion itself. \ No newline at end of file diff --git a/themes/infusion/layouts/_default/baseof.html b/themes/infusion/layouts/_default/baseof.html index ed15f5c..c8b84d9 100644 --- a/themes/infusion/layouts/_default/baseof.html +++ b/themes/infusion/layouts/_default/baseof.html @@ -44,7 +44,7 @@

{{ .Site.Params.Description | markdownify }} diff --git a/themes/infusion/static/css/styles.css b/themes/infusion/static/css/styles.css index 50334df..049cc09 100644 --- a/themes/infusion/static/css/styles.css +++ b/themes/infusion/static/css/styles.css @@ -676,6 +676,8 @@ h1 svg { .pattern-link { font-weight: bold; + display: inline-block; + hyphens: auto; } /* inline demos */