mirror of
https://github.com/vatesfr/xen-orchestra.git
synced 2026-09-10 22:14:48 -05:00
The previous static/js/matomo.js snippet never loaded the tracker script, so nothing was ever recorded; it also pointed at site 5, the XO website. Replace it with the client module from the Vates VMS docs on the new dedicated docs site (23): cookieless page-view tracking that follows SPA navigations, and instrumentation of the lunr search box reporting each settled query with its suggestion count, so zero-result searches surface missing content. The feedback widget mirrors votes and thumbs-down reasons as doc_feedback events. Also fills in the Formbricks IDs for the "XO Docs page feedback" survey, enabling the feedback widget.
Website
This website is built using Docusaurus, a modern static website generator.
Installation
$ yarn
Local Development
$ yarn start
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
Build
$ yarn build
This command generates static content into the build directory and can be served using any static contents hosting service.
Deployment
Using SSH:
$ USE_SSH=true yarn deploy
Not using SSH:
$ GIT_USER=<Your GitHub username> yarn deploy
If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the gh-pages branch.