WarmHub Docs
  • Welcome to WarmHub
  • Getting Started
  • The Language of Digital Trust
    • Articles, Claims, Evidence, and Sources
    • Reproductions and Replications
  • Trust Repositories
    • Creating a Repository
    • ReadMe
    • Data
      • Templates for Typed Instance Data
    • Types
      • Importing Types From Other Repos
      • Creating Types
      • Claims Computed on WarmHub
    • Events
    • Webhooks
    • About
    • Committing To Your Repo
    • Customizing Templates
      • Template Language Reference
  • Guides
    • Units of Measurement Repo
    • Templates for Units of Measurement
Powered by GitBook
On this page
  • Introduction to Configurable Templates
  • Editing a template
  1. Trust Repositories

Customizing Templates

Introduction to Configurable Templates

WarmHub offers the ability to configure templates for data — repositories and types of instance data. Think of this as a dynamic README. The template represents the surface-level identity of your repository or type of instance data. Templates have access to portions of data you’ve configured or committed to WarmHub.

Each repository has one template, and each type of instance data has one template.

Editing a template

See Template Language Reference for more info

Only owners of repos and owners of instance data contained within a repo may edit the templates for those types. You can access the template editor for both types of templates by visiting their respective pages:

  • For repos, navigate to the page of your repo and select “Edit template”

  • For instance data, navigate to the instance datum and select “Edit template”

Clicking the "Edit Markdown" button will allow you to write your own template. Clicking the “Reset to Default” button will pre-populate the template with a default template generated based on the available data.

Clicking the “Reset to Default” button will not delete your previously defined template. To return to your custom template, click the "Edit Markdown" button again.

Once you save the template, it will immediately be applied in the relevant locations.

Default templates

Default templates are generated based on the data available in each context. Please see the specific pages for repository templates and typed instance data templates for more.

  • Templates for Typed Instance Data

PreviousCommitting To Your RepoNextTemplate Language Reference

Last updated 3 days ago