Skip to content

Commit

Permalink
Merge pull request #13958 from newrelic/nav-style-edits
Browse files Browse the repository at this point in the history
feat(style): add label syntax + style guide structure edits
  • Loading branch information
bradleycamacho authored Jul 21, 2023
2 parents cd4ca2e + a5b3c56 commit 424ee2e
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Create and edit content
title: Create and edit docs
contentType: page
template: basicDoc
topics:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Understand and edit the docs site structure
title: Frontmatter and page templates
redirects:
- /docs/style-guide/processes-procedures/include-a-doc-in-multiple-menus
- /docs/style-guide/processes-procedures/update-left-navigation-pane
Expand Down Expand Up @@ -162,6 +162,12 @@ Here are important elements of the nav file:
</td>
</tr>

<tr>
<td>`label`</td>
<td>no</td>
<td>Creates a label next to the title. Useful for tutorials. </td>
</tr>

<tr>
<td>
`rootNav`
Expand Down
12 changes: 6 additions & 6 deletions src/nav/style-guide.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,23 +93,21 @@ pages:
path: /docs/style-guide/writing-strategies/install-docs-guidance
- title: Docs site mechanics
pages:
- title: Understand and edit docs structure
- title: Edit the docs site structure and nav
path: /docs/style-guide/writing-docs/processes-procedures/understand-edit-docs-site-structure
- title: Use content types and text formats
- title: Frontmatter and page templates
path: /docs/style-guide/writing-docs/processes-procedures/use-content-types-text-formats
- title: Create and edit content
- title: Create and edit docs
path: /docs/style-guide/writing-docs/processes-procedures/create-edit-content
- title: Create release notes
path: /docs/style-guide/writing-docs/processes-procedures/create-release-notes
- title: Edit checklist
path: /docs/style-guide/writing-docs/processes-procedures/docs-site-edit-checklist
- title: Rename or redirect docs
path: /docs/style-guide/writing-docs/processes-procedures/rename-or-redirect-document
- title: Delete a document
path: /docs/style-guide/writing-docs/processes-procedures/delete-document
- title: Update the home page
path: /docs/style-guide/writing-docs/processes-procedures/edit-homepage
- title: Create preview content
- title: Using the preview site
path: /docs/style-guide/writing-docs/processes-procedures/create-preview-document
- title: Tech writer processes
pages:
Expand All @@ -133,6 +131,8 @@ pages:
path: /docs/style-guide/writing-docs/writer-workflow/github-history
- title: Swiftype internal search
path: /docs/style-guide/writing-docs/writer-workflow/swiftype-search
- title: Edit checklist
path: /docs/style-guide/writing-docs/processes-procedures/docs-site-edit-checklist
- title: Doc types and templates
pages:
- title: Agent API guide template
Expand Down

0 comments on commit 424ee2e

Please sign in to comment.