This is the documentation website for our Usercentrics Adobe Launch Extension.
This website is built using Docusaurus 2, a modern static website generator. Refer to their docs for more information on how to add content to this website.
Use v18.18.0
. There is also a .nvmrc
file in the root of the project, execute nvm use
to switch to the correct version, if you are already using nvm.
$ yarn
$ yarn start
These commands start a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
We also provide older versions of this documentation in case a user needs to read an older version. For more information see our blog entry about documentation versioning.
For more information how to handle this technically refer to Docusaurus Versioning doc.
To create a new version of the documentation execute the following command:
yarn docusaurus docs:version 1.7.0
This will create a new version 1.7.0 copying the current "next" state to the 1.7.0 folders.
GitHub Actions are used for deployments and verification.
- Deployment to GitHub pages
- deploy.yml
- This action is triggered when a push to the
main
branch is detected. - The action builds the website and pushes the content of the
build
folder to thegh-pages
branch. - Afterwards GitHub's own
pages-build-deployment
action is triggered to deploy the website to GitHub pages.
- Test for PRs
- test-deploy.yml
- This action is used in Pull Requests to verify that the website can be built.
- Under the hood we are using Algolia DocSearch. It is a free service for open source projects. You can find more information about it in the Algolia DocSearch documentation.
- More information about how to integrate it into Docusaurus can be found in the Docusaurus Search documentation.
- Blog entry announcing it.
- First configuration was done in a562940
- Algolia Dashboard: https://dashboard.algolia.com/apps/U4AT9EX1IK/dashboard