Bladeren bron

clarity on subsections

Heydon Pickering 8 jaren geleden
bovenliggende
commit
b84e948479

+ 4 - 4
content/patterns/writing/project-structure.md

@@ -35,8 +35,7 @@ You may have noticed that this site's navigation is divided partly into subsecti
             * tooltips.md
 {{% /fileTree %}}
 
-{{% note %}}
-Note that subfolders like `/popups` must each have an `_index.md` file. This file doesn't need any content except the TOML metadata defining the title (name) of that subsection:
+Subfolders like `/popups` must each have an `_index.md` file. This file doesn't need any content except the TOML metadata defining the title (name) of that subsection:
 
 ```
 +++
@@ -44,9 +43,10 @@ title = "Popups"
 +++
 ```
 
-For each subfolder you create, you must also create one of these `_index.md` files. The `/patterns` folder itself does not need indexing explicitly in this way.
+This title is what labels the subsection in the navigation (examples: "Writing" and "Media" for **Infusion**'s documentation). For each subfolder you create, you must also create one of these `_index.md` files. The `/patterns` folder itself does not need one, however.
 
-**Infusion** does not currently support _sub_-subsections.
+{{% note %}}
+**Infusion** does not currently support _sub_-subsections. You can only create child folders under `/patterns`.
 {{% /note %}}
 
 Now that you know where to put everything, it's time to talk about how to actually write individual patterns. Don't worry, it's pretty straightforward. Turn to {{% pattern "Markdown & metadata" %}}.

+ 8 - 8
docs/patterns/writing/project-structure/index.html

@@ -462,21 +462,21 @@
 </div>
 
 
-<aside aria-label="note" class="note">
-  <div>
-    <svg aria-hidden="true" viewBox="0 0 41.667306 41.66729" focusable="false">
-      <use xlink:href="#info"></use>
-    </svg>
-    <p>Note that subfolders like <code>/popups</code> must each have an <code>_index.md</code> file. This file doesn&rsquo;t need any content except the TOML metadata defining the title (name) of that subsection:</p>
+<p>Subfolders like <code>/popups</code> must each have an <code>_index.md</code> file. This file doesn&rsquo;t need any content except the TOML metadata defining the title (name) of that subsection:</p>
 
 <pre><code>+++
 title = &quot;Popups&quot;
 +++
 </code></pre>
 
-<p>For each subfolder you create, you must also create one of these <code>_index.md</code> files. The <code>/patterns</code> folder itself does not need indexing explicitly in this way.</p>
+<p>This title is what labels the subsection in the navigation (examples: &ldquo;Writing&rdquo; and &ldquo;Media&rdquo; for <strong>Infusion</strong>&rsquo;s documentation). For each subfolder you create, you must also create one of these <code>_index.md</code> files. The <code>/patterns</code> folder itself does not need one, however.</p>
 
-<p><strong>Infusion</strong> does not currently support <em>sub</em>-subsections.</p>
+<aside aria-label="note" class="note">
+  <div>
+    <svg aria-hidden="true" viewBox="0 0 41.667306 41.66729" focusable="false">
+      <use xlink:href="#info"></use>
+    </svg>
+    <p><strong>Infusion</strong> does not currently support <em>sub</em>-subsections. You can only create child folders under <code>/patterns</code>.</p>
 
   </div>
 </aside>

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

@@ -783,21 +783,21 @@ theme = "infusion"
 </div>
 
 
-<aside aria-label="note" class="note">
-  <div>
-    <svg aria-hidden="true" viewBox="0 0 41.667306 41.66729" focusable="false">
-      <use xlink:href="#info"></use>
-    </svg>
-    <p>Note that subfolders like <code>/popups</code> must each have an <code>_index.md</code> file. This file doesn&rsquo;t need any content except the TOML metadata defining the title (name) of that subsection:</p>
+<p>Subfolders like <code>/popups</code> must each have an <code>_index.md</code> file. This file doesn&rsquo;t need any content except the TOML metadata defining the title (name) of that subsection:</p>
 
 <pre><code>+++
 title = &quot;Popups&quot;
 +++
 </code></pre>
 
-<p>For each subfolder you create, you must also create one of these <code>_index.md</code> files. The <code>/patterns</code> folder itself does not need indexing explicitly in this way.</p>
+<p>This title is what labels the subsection in the navigation (examples: &ldquo;Writing&rdquo; and &ldquo;Media&rdquo; for <strong>Infusion</strong>&rsquo;s documentation). For each subfolder you create, you must also create one of these <code>_index.md</code> files. The <code>/patterns</code> folder itself does not need one, however.</p>
 
-<p><strong>Infusion</strong> does not currently support <em>sub</em>-subsections.</p>
+<aside aria-label="note" class="note">
+  <div>
+    <svg aria-hidden="true" viewBox="0 0 41.667306 41.66729" focusable="false">
+      <use xlink:href="#info"></use>
+    </svg>
+    <p><strong>Infusion</strong> does not currently support <em>sub</em>-subsections. You can only create child folders under <code>/patterns</code>.</p>
 
   </div>
 </aside>

File diff suppressed because it is too large
+ 0 - 0
docs/service-worker.js


Some files were not shown because too many files changed in this diff