This site provides:
-
The standard directory structure for FFRD projects
- description of intent for each folder and subfolder
- downloadable template directory
-
FFRD SOP templates and useful tools
- QC Checklists, Documentation Checklists, etc
- Useful tools
Site: https://usace-cloud-compute.github.io/ffrd-templates/
docs/basin-name/is the template. Each folder holds anindex.mddescribing its intended use. These files are data, not site pages (exclude_docsinmkdocs.yml): the site is a single home page with a folder browser. Every folder has anindex.md, so no placeholder files are needed to keep folders in git.hooks/ffrd_site.pyruns on every build and generates, without touchingdocs/:assets/tree.json, which feeds the interactive folder browser on the home page (docs/javascripts/ffrd-tree.js);assets/ffrd-directory-structure.zip, the empty template.index.mdbecomesREADME.mdin every folder. Empty folders survive the download because the zip lists every folder explicitly and each one contains aREADME.md.assets/templates-tree.jsonandassets/ffrd-templates.zip, fromdocs/ffrd-templates/(see below).
docs/ffrd-templates/is a separate folder of downloadable templates, unrelated to thebasin-namestructure. Add folders and files there as they should appear in the download; the Templates section of the home page lists them by name, and the zip contains them as-is. Files and folders starting with.are left out, so a.gitkeepcan hold an otherwise empty folder in git.- Settings (template folders, zip names, README name) are under
extra.ffrdinmkdocs.yml.
- Create a fork of the repository
- Write or edit the folder's
index.mdon a separate branch. A folder with no description yet holds the placeholder text set inmkdocs.yml(extra.ffrd.placeholder);fix_titles.pyadds it to any new or heading-only page (not the template root). Text before the first##heading is what the browser shows as the summary. A section on a parent page whose heading names a child folder (for example## HOT-FIX) is used for that child if its own page is empty. - Preview: run
serve.bat, orpip install -r requirements.txtthenmkdocs serve. - Create a pull request to the usace-cloud-compute/ffrd-templates main.
- A repo owner will review and approve and merge into
main; the workflow deploys.
Add ?audit to the home page URL to list folders that still have only the placeholder.