This page demonstrates the slug frontmatter option which allows you to customize the URL for a documentation page.
By default, shipyard generates URLs based on the file path. For example, a file at docs/getting-started/installation.md would be available at /docs/getting-started/installation.
With the slug frontmatter option, you can override this behavior and specify a custom URL.
Add the slug property to your frontmatter:
---
title: My Page Title
slug: my-custom-url
---
This page is located at docs/custom-slug-example.md but is accessible at /docs/my-custom-url because it uses:
slug: my-custom-url
Custom slugs are useful when: