1.4 KiB
1.4 KiB
Routing
What
Stoplight’s Hubs features an easy to use routing system to make sure your docs have identifiable and friendly URL’s. The routing system allows customization of the following objects:
- Your Hub
- Pages within a Hub
- Subpages within a Hub
- Headers
- Links
Friendly URLs are links that are easily readable, rememberable, and relevant to the content.
How
Pages & Subpages
- Select the Hub you wish to modify
- Add a new page or subpage
- Select a page title to auto-fill the Page Route or
- Input a custom page route
- Select an existing page or subpage
- Select the Page Settings & TOC at the top of the Hub in the center of the page or subpage you wish to modify
- Input a new URL under the page path
Headers
- Select the Hub you wish to modify
- Click on Hub Settings in the top right
- Find the header you wish to modify and input a new route under Page or Link
Related Articles
