Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add 'hugo new content' instructions to contributing guidelines #164

Open
jputrino opened this issue Feb 3, 2025 · 0 comments
Open

Add 'hugo new content' instructions to contributing guidelines #164

jputrino opened this issue Feb 3, 2025 · 0 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@jputrino
Copy link
Contributor

jputrino commented Feb 3, 2025

When creating a new document, contributors should run the hugo new content command instead of copying an existing doc. This ensures that the new document uses the correct frontmatter and template, and that metadata from other docs doesn't end up being duplicated (or triplicated!).

Definition of Done:

  • Update the Add new documentation section of the CONTRIBUTING_DOCS guide to include instructions for running hugo new content.
  • Must include examples that demonstrate how to format the desired file path and name for the new document; for example hugo new content <file path>/<file name>.md
  • Must include examples for using the command to create different types of documents; for example, hugo new content <file path> -k concept
@jputrino jputrino added the documentation Improvements or additions to documentation label Feb 3, 2025
@ADubhlaoich ADubhlaoich self-assigned this Feb 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants