1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-28 00:06:53 +01:00
unleash.unleash/website
Thomas Heartman 013003d63e
docs: add google tag manager (#3428)
This change adds google tag manager to docusaurus using the
[plugin-google-tag-manager](https://www.docusaurus.io/docs/api/plugins/@docusaurus/plugin-google-tag-manager)
plugin.

## Why

The current analytics integration we've got in the docs is being sunset
this year, so this is the replacement. It should only collect the same
kind of data that we already collect. It does not require user consent,
and it is used only for aggregation. The point is to help us understand
our users' needs and usage patterns so that we can make a better
product.
2023-03-31 07:27:25 +02:00
..
.storybook
docs docs: Update api-tokens-and-client-keys.mdx (#3418) 2023-03-29 13:53:57 +02:00
remote-content
src
static docs: Project api token (#3405) 2023-03-29 11:39:37 +03:00
.gitignore
babel.config.js
clean-generated-docs.js
docusaurus.config.js docs: add google tag manager (#3428) 2023-03-31 07:27:25 +02:00
package.json chore: update docusaurus and deps to v2.3.1 (#3343) 2023-03-28 11:07:36 +02:00
README.md
sidebars.js docs: import export for project/env (#3369) 2023-03-28 11:12:35 +02:00
tsconfig.json
yarn.lock chore(deps): update dependency immer to v9.0.19 (#3426) 2023-03-30 08:54:47 +00:00

Website

This website is built using Docusaurus 2, a modern static website generator.

Installation

yarn install

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

GIT_USER=<Your GitHub username> USE_SSH=true 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.