1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-10-18 20:09:08 +02:00
unleash.unleash/website
Fredrik Strand Oseberg 7fbe227e0f
Fix/frontendapi synchronization (#2100)
* feat: add db fetch polling for proxy endpoints

* feat: add test for retrieving cache on interval

* feat: configurable interval

* fix: add config options

* feat: docs

* fix: add config to proxy-repository

* fix: update snapshots

* Update website/docs/reference/front-end-api.md

Co-authored-by: Thomas Heartman <thomas@getunleash.ai>

* fix: update docs

* Update website/docs/deploy/configuring-unleash.md

Co-authored-by: Thomas Heartman <thomas@getunleash.ai>

* Update website/docs/reference/front-end-api.md

Co-authored-by: Thomas Heartman <thomas@getunleash.ai>

Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2022-09-28 14:23:41 +02:00
..
.storybook
docs Fix/frontendapi synchronization (#2100) 2022-09-28 14:23:41 +02:00
src Add OpenAPI docs (#1391) (#2066) 2022-09-19 14:50:24 +02:00
static Docs: update API access for new token type (#1958) 2022-09-15 09:02:10 +02:00
.gitignore Add OpenAPI docs (#1391) (#2066) 2022-09-19 14:50:24 +02:00
babel.config.js
clean-generated-docs.js Fix(#1391): fix edge case URLs in code samples (#2078) 2022-09-21 11:24:25 +02:00
docusaurus.config.js #1391: add generated doc cleaning script (#2077) 2022-09-20 12:43:39 +02:00
package.json #1391: add generated doc cleaning script (#2077) 2022-09-20 12:43:39 +02:00
README.md
sidebars.js Add OpenAPI docs (#1391) (#2066) 2022-09-19 14:50:24 +02:00
tsconfig.json
yarn.lock #1391: add generated doc cleaning script (#2077) 2022-09-20 12:43:39 +02: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.