smengcl opened a new pull request, #11527:
URL: https://github.com/apache/ozone/pull/11527

   Generated-by: Claude Code (Opus 5.5)
   
   ## What changes were proposed in this pull request?
   
   `zdu-design.md` (added in HDDS-14498) only sets `jira` and `authors` in its 
front matter, while the design doc templates use `title`, `summary`, `date`, 
`status` and `author`.
   
   With older Hugo (e.g. 0.111.3), building docs without `-DskipDocs` fails:
   
   ```
   execute of template failed: template: design/single.html:27:96: executing 
"design/single.html" at <dateFormat "2006-01-02">: error calling dateFormat: 
unable to cast <nil> of type <nil> to Time
   ```
   
   With Hugo 0.152.2 (used in CI) the build passes, but the page renders with 
an empty title, authors, status and summary, and the date `0001-01-01`.
   
   This PR adds the standard front matter. The date is when the design PR 
(#9664) was opened, and the status is `accepted` since the design was merged.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-16989
   
   ## How was this patch tested?
   
   Ran `hugo` in `hadoop-hdds/docs` with 0.111.3 (fails before, passes after) 
and 0.152.2 (passes both ways). Checked the rendered `design/zdu-design.html` 
now shows the title, date, authors and status.
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to