After creating your site, you need to complete the following steps to publish it on docs.hazelcast.com:
-
Publish to docs.hazelcast.com.
-
Create any redirects that you need such as for the
latest/
alias. -
Add your project’s URL to the search indexer’s configuration.
-
Configure docsearch in the UI to display your index in search results.
The Antora playbook in the hazelcast-docs
repository defines the content that gets published to docs.hazelcast.com.
The hazelcast-docs
repository is separated into two branches: develop
(staging site) and main
(production site).
To publish the content of your project to docs.hazelcast.com, add your repository to the content.sources
object of the antora-playbook.yml
file in the develop
branch, then apply the changes to the main
branch.
On a merge to the hazelcast-docs
repository, a build hook is triggered and the site is built from the playbook. You can monitor the build in Netlify.
To create a URL alias for the latest version of your content, see Redirects.
To index your content and make it available in our internal search results, see Search.
To display relevant versions of products in the search results, we apply filters in the UI project. For an example, see this filter for the JDBC driver docs.
After making changes to the UI project, make sure to create and release a new package.