Skip to content

Commit

Permalink
Deployed 5cb7cb4 with MkDocs version: 1.4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
mjordan committed Dec 2, 2024
1 parent fd72ec2 commit b919636
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion paged_and_compound/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1258,7 +1258,7 @@ <h4 id="filename-conventions">Filename conventions</h4>
<h4 id="field-data-applied-to-pageschildren-created-from-subdirectories">Field data applied to pages/children created from subdirectories</h4>
<p>Titles for pages are generated automatically using the pattern <code>parent_title</code> + <code>, page</code> + <code>sequence_number</code>, where "parent title" is inherited from the page's parent node and "sequence number" is the page's sequence. For example, if a page's parent has the title "How to Write a Book" and its sequence number is 450, its automatically generated title will be "How to Write a Book, page 450". You can override this pattern by including the <code>page_title_template</code> setting in your configuration file. The value of this setting is a simple string template. The default, which generates the page title pattern described above, is <code>'$parent_title, page $weight'</code>. There are only two variables you can include in the template, <code>$parent_title</code> and <code>$weight</code>, although you do not need to include either one if you don't want that information appearing in your page titles.</p>
<p>Fields on pages that are configured to be required in the parent and page content type are automatically inherited from the parent. No special configuration is necessary.</p>
<p>Finally, even though title and Islandora model (along with required fields) are automatically added to pages/children, you can add additional (non-required field) metadata to pages/children using <a href="/islandora_workbench_docs/csv_value_templates/#applying-csv-value-templates-to-paged-content">CSV value templates</a> during the <code>create</code> task that creates the pages. Alternatively, after you run your <code>create</code> task, you can run a separate <code>update</code> task to apply field data to pages/children.</p>
<p>Finally, even though title and Islandora model (along with required fields) are automatically added to pages/children, you can add additional (non-required field) metadata to pages/children using <a href="/islandora_workbench_docs/csv_value_templates/#applying-csv-value-templates-to-paged-content">CSV value templates</a> during the <code>create</code> task that creates the pages.</p>
<h4 id="ingesting-pages-their-parents-and-their-grandparents-using-a-single-csv-file">Ingesting pages, their parents, and their "grandparents" using a single CSV file</h4>
<p>In the "books" example above, each row in the CSV (i.e., book1, book2) describes a node with the "Paged Content" Islandora model; each of the books is the direct parent of the individual page nodes. However, in some cases, you may want to create the pages, their direct parents (each book), and <em>a parent of the parents</em> (let's call it a "grandparent" of the pages) at the same time, using the same Workbench job and the same input CSV. Some common use cases for this ability are:</p>
<ol>
Expand Down
2 changes: 1 addition & 1 deletion search/search_index.json

Large diffs are not rendered by default.

Binary file modified sitemap.xml.gz
Binary file not shown.

0 comments on commit b919636

Please sign in to comment.