You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
User Guide: Customizing README Templates with the Centralized Workflow
This guide explains how to customize your repository’s README.template.md and automatically generate the final README.md using the centralized update workflow.
1. Using the Template Includes
The workflow supports several include placeholders in README.template.md. These placeholders are replaced with the content from centralized markdown files:
Placeholder
Description
<!-- INCLUDE_ABOUT -->
Inserts content from ABOUT.md. This usually describes the package/application.
<!-- INCLUDE_INSTALL -->
Inserts content from INSTALL.md. This usually provides installation instructions.
<!-- INCLUDE_CONTRIBUTING -->
Inserts content from CONTRIBUTING.md. This usually contains contribution guidelines.
<!-- INCLUDE_BADGES: ... -->
Inserts a table of badges. You must list the categories you want, separated by commas.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
User Guide: Customizing README Templates with the Centralized Workflow
This guide explains how to customize your repository’s
README.template.mdand automatically generate the finalREADME.mdusing the centralized update workflow.1. Using the Template Includes
The workflow supports several include placeholders in
README.template.md. These placeholders are replaced with the content from centralized markdown files:<!-- INCLUDE_ABOUT -->ABOUT.md. This usually describes the package/application.<!-- INCLUDE_INSTALL -->INSTALL.md. This usually provides installation instructions.<!-- INCLUDE_CONTRIBUTING -->CONTRIBUTING.md. This usually contains contribution guidelines.<!-- INCLUDE_BADGES: ... -->Example:
2. Badge Categories
The workflow supports the following badge categories:
DocumentationCICoveragePackageEvaluationReleaseCitationLicenseCodeStyleDownloadsNote: For the
Citationbadge, you must provide a Markdown badge string in the workflow inputcitation_badge. Example:3. Setting Up the Workflow
To automatically generate the README, you need to create a workflow in your repository. Example workflow:
Inputs to Update:
template_file: path to your README template (usuallyREADME.template.md).output_file: path for the generated README (usuallyREADME.md).package_name: Julia package name for INSTALL.md.repo_name: Repository full name (with GitHub organization) for CONTRIBUTING.md links.doc_url: url of the documentationcitation_badge(optional): Markdown string for DOI / Zenodo badge.assignee(optional): GitHub username to assign the PR to. Leave empty if you do not want to assign anyone.Notes:
assigneeis provided, the PR will be assigned to that user. Otherwise, no one will be assigned.ABOUT.md,INSTALL.md, andCONTRIBUTING.mdfiles from thecontrol-toolbox/.githubrepository.4. Summary
README.template.mdusing the placeholders.Beta Was this translation helpful? Give feedback.
All reactions