Hashnode docs gives you the ability to add custom pages to docs that can be used for a variety of use-cases, for example, community resources, adding topics or unique use cases that require detailed explanations, such as advanced features or integrations.
To add custom pages to your docs, follow the following steps:
-
Go to your docs dashboard and scroll down to the
Custom Pages
option in the left sidebar. -
Then click on
Create a new page
to add a custom page. -
Add the following details:
-
Title: Title of the custom page.
-
Page slug: Add the slug name that you want your page to redirect to.
-
Page content: Add the content for the page. It opens up the editor for you, and you can use all the editor features to customize the content.
-
Image for social media sharing: This is the image that will appear when you share the page on social media. If you leave it empty, Hashnode will use the default image as the OG (Open Graph) image.
-
SEO description: If you want the page to rank high on SEO, add a description in 160 characters.
-
Here’s a detailed demo on how you can do it: