diff --git a/.codespellrc b/.codespellrc index f4197d2ce..613604461 100644 --- a/.codespellrc +++ b/.codespellrc @@ -1,3 +1,3 @@ [codespell] -skip = ./docs/docs/reference/api/*.mdx,./erl_crash.dump,./apps/fz_http/erl_crash.dump,./cover,./vendor,./omnibus,*.json,yarn.lock,seeds.exs,./**/node_modules,./deps,./priv/static,./priv/plts,./**/priv/static,./.git,./docs/build,./_build +skip = ./www/docs/reference/api/*.mdx,./erl_crash.dump,./apps/fz_http/erl_crash.dump,./cover,./vendor,./omnibus,*.json,yarn.lock,seeds.exs,./**/node_modules,./deps,./priv/static,./priv/plts,./**/priv/static,./.git,./www/build,./_build ignore-words-list = keypair,keypairs,iif,statics,wee diff --git a/.github/workflows/omnibus_build.yml b/.github/workflows/omnibus_build.yml index 4e1e7f3c7..e36b9e64b 100644 --- a/.github/workflows/omnibus_build.yml +++ b/.github/workflows/omnibus_build.yml @@ -21,7 +21,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} build-package-test: - # Doesn't really need, but don't run this stage when iterating over docs + # Doesn't really need, but don't run this stage when iterating over website needs: draft-release env: TELEMETRY_ENABLED: 'false' diff --git a/.github/workflows/publish_docs.yml b/.github/workflows/publish_www.yml similarity index 78% rename from .github/workflows/publish_docs.yml rename to .github/workflows/publish_www.yml index 92a3af174..5e684cba3 100644 --- a/.github/workflows/publish_docs.yml +++ b/.github/workflows/publish_www.yml @@ -1,11 +1,11 @@ -name: Publish Docs +name: Publish Website on: workflow_dispatch: release: types: [published] jobs: - publish-docs: + publish-website: name: Build Docusaurus 🐲 runs-on: ubuntu-latest steps: @@ -16,17 +16,17 @@ jobs: with: node-version: 16 cache: 'yarn' - cache-dependency-path: docs/yarn.lock + cache-dependency-path: www/yarn.lock # XXX: Add API docs generation here - run: | - cd docs/ + cd www/ yarn install --frozen-lockfile yarn build - - name: Publish Latest Docs + - name: Publish Latest Website uses: JamesIves/github-pages-deploy-action@v4.4.1 with: branch: gh-pages - folder: docs/build + folder: www/build target-folder: . clean: true clean-exclude: | diff --git a/.github/workflows/static_analysis.yml b/.github/workflows/static_analysis.yml index 03f3236e1..df52b8b6c 100644 --- a/.github/workflows/static_analysis.yml +++ b/.github/workflows/static_analysis.yml @@ -19,7 +19,7 @@ jobs: cache: 'yarn' cache-dependency-path: | apps/fz_http/assets/package-lock.json - docs/yarn.lock + www/yarn.lock - uses: ruby/setup-ruby@v1 with: ruby-version: '2.7' @@ -83,7 +83,7 @@ jobs: run: mix dialyzer --plt - name: Install node modules run: | - cd docs/ + cd www/ yarn install --frozen-lockfile - name: Run pre-commit run: | diff --git a/.tool-versions b/.tool-versions index 9a8dd2d59..ef7e9f406 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1,6 +1,6 @@ # These are used for the dev environment. # This should match the versions used in the built product. -nodejs 16.17.0 +nodejs 16.19.0 elixir 1.14.3-otp-25 erlang 25.2.1 diff --git a/apps/fz_http/test/test_helper.exs b/apps/fz_http/test/test_helper.exs index bbe35242b..2cf491681 100644 --- a/apps/fz_http/test/test_helper.exs +++ b/apps/fz_http/test/test_helper.exs @@ -3,7 +3,7 @@ Path.join(File.cwd!(), "screenshots") |> File.rm_rf!() Bureaucrat.start( writer: Firezone.DocusaurusWriter, - default_path: "../../docs/docs/reference/rest-api" + default_path: "../../www/docs/reference/rest-api" ) Ecto.Adapters.SQL.Sandbox.mode(FzHttp.Repo, :manual) diff --git a/omnibus/package-scripts/firezone/preinst b/omnibus/package-scripts/firezone/preinst index b614bd0bc..61349e73e 100755 --- a/omnibus/package-scripts/firezone/preinst +++ b/omnibus/package-scripts/firezone/preinst @@ -11,7 +11,7 @@ kernelCheck() { echo "################################################################################" echo "# ERROR: Kernel version `uname -r` is not supported. Firezone requires #" echo "# kernel >= 5 or higher. See our listed of supported platforms for more #" - echo "# information: https://docs.firez.one/docs/deploy/supported-platforms/ #" + echo "# information: https://docs.firezone.dev/deploy/supported-platforms/ #" echo "################################################################################" exit fi diff --git a/docs/.gitignore b/www/.gitignore similarity index 100% rename from docs/.gitignore rename to www/.gitignore diff --git a/docs/CNAME b/www/CNAME similarity index 100% rename from docs/CNAME rename to www/CNAME diff --git a/docs/README.md b/www/README.md similarity index 95% rename from docs/README.md rename to www/README.md index 3e2f5aef3..b759d9024 100644 --- a/docs/README.md +++ b/www/README.md @@ -30,4 +30,4 @@ served using any static contents hosting service. ## Deployment Deployment happens automatically when a new version is published. See the -`publish_docs` CI workflow. +`publish_www` CI workflow. diff --git a/docs/babel.config.js b/www/babel.config.js similarity index 100% rename from docs/babel.config.js rename to www/babel.config.js diff --git a/docs/docs/README.mdx b/www/docs/README.mdx similarity index 100% rename from docs/docs/README.mdx rename to www/docs/README.mdx diff --git a/docs/docs/administer/README.mdx b/www/docs/administer/README.mdx similarity index 100% rename from docs/docs/administer/README.mdx rename to www/docs/administer/README.mdx diff --git a/docs/docs/administer/backup.mdx b/www/docs/administer/backup.mdx similarity index 100% rename from docs/docs/administer/backup.mdx rename to www/docs/administer/backup.mdx diff --git a/docs/docs/administer/debug-logs.mdx b/www/docs/administer/debug-logs.mdx similarity index 100% rename from docs/docs/administer/debug-logs.mdx rename to www/docs/administer/debug-logs.mdx diff --git a/docs/docs/administer/migrate.mdx b/www/docs/administer/migrate.mdx similarity index 100% rename from docs/docs/administer/migrate.mdx rename to www/docs/administer/migrate.mdx diff --git a/docs/docs/administer/regen-keys.mdx b/www/docs/administer/regen-keys.mdx similarity index 100% rename from docs/docs/administer/regen-keys.mdx rename to www/docs/administer/regen-keys.mdx diff --git a/docs/docs/administer/troubleshoot.mdx b/www/docs/administer/troubleshoot.mdx similarity index 100% rename from docs/docs/administer/troubleshoot.mdx rename to www/docs/administer/troubleshoot.mdx diff --git a/docs/docs/administer/uninstall.mdx b/www/docs/administer/uninstall.mdx similarity index 100% rename from docs/docs/administer/uninstall.mdx rename to www/docs/administer/uninstall.mdx diff --git a/docs/docs/administer/upgrade.mdx b/www/docs/administer/upgrade.mdx similarity index 100% rename from docs/docs/administer/upgrade.mdx rename to www/docs/administer/upgrade.mdx diff --git a/docs/docs/authenticate/README.mdx b/www/docs/authenticate/README.mdx similarity index 100% rename from docs/docs/authenticate/README.mdx rename to www/docs/authenticate/README.mdx diff --git a/docs/docs/authenticate/local-auth.mdx b/www/docs/authenticate/local-auth.mdx similarity index 100% rename from docs/docs/authenticate/local-auth.mdx rename to www/docs/authenticate/local-auth.mdx diff --git a/docs/docs/authenticate/multi-factor.mdx b/www/docs/authenticate/multi-factor.mdx similarity index 100% rename from docs/docs/authenticate/multi-factor.mdx rename to www/docs/authenticate/multi-factor.mdx diff --git a/docs/docs/authenticate/oidc/README.mdx b/www/docs/authenticate/oidc/README.mdx similarity index 100% rename from docs/docs/authenticate/oidc/README.mdx rename to www/docs/authenticate/oidc/README.mdx diff --git a/docs/docs/authenticate/oidc/auth0.mdx b/www/docs/authenticate/oidc/auth0.mdx similarity index 100% rename from docs/docs/authenticate/oidc/auth0.mdx rename to www/docs/authenticate/oidc/auth0.mdx diff --git a/docs/docs/authenticate/oidc/azuread.mdx b/www/docs/authenticate/oidc/azuread.mdx similarity index 100% rename from docs/docs/authenticate/oidc/azuread.mdx rename to www/docs/authenticate/oidc/azuread.mdx diff --git a/docs/docs/authenticate/oidc/google.mdx b/www/docs/authenticate/oidc/google.mdx similarity index 100% rename from docs/docs/authenticate/oidc/google.mdx rename to www/docs/authenticate/oidc/google.mdx diff --git a/docs/docs/authenticate/oidc/keycloak.mdx b/www/docs/authenticate/oidc/keycloak.mdx similarity index 100% rename from docs/docs/authenticate/oidc/keycloak.mdx rename to www/docs/authenticate/oidc/keycloak.mdx diff --git a/docs/docs/authenticate/oidc/okta.mdx b/www/docs/authenticate/oidc/okta.mdx similarity index 100% rename from docs/docs/authenticate/oidc/okta.mdx rename to www/docs/authenticate/oidc/okta.mdx diff --git a/docs/docs/authenticate/oidc/onelogin.mdx b/www/docs/authenticate/oidc/onelogin.mdx similarity index 100% rename from docs/docs/authenticate/oidc/onelogin.mdx rename to www/docs/authenticate/oidc/onelogin.mdx diff --git a/docs/docs/authenticate/oidc/zitadel.mdx b/www/docs/authenticate/oidc/zitadel.mdx similarity index 100% rename from docs/docs/authenticate/oidc/zitadel.mdx rename to www/docs/authenticate/oidc/zitadel.mdx diff --git a/docs/docs/authenticate/saml/README.mdx b/www/docs/authenticate/saml/README.mdx similarity index 100% rename from docs/docs/authenticate/saml/README.mdx rename to www/docs/authenticate/saml/README.mdx diff --git a/docs/docs/authenticate/saml/google.mdx b/www/docs/authenticate/saml/google.mdx similarity index 100% rename from docs/docs/authenticate/saml/google.mdx rename to www/docs/authenticate/saml/google.mdx diff --git a/docs/docs/authenticate/saml/jumpcloud.mdx b/www/docs/authenticate/saml/jumpcloud.mdx similarity index 100% rename from docs/docs/authenticate/saml/jumpcloud.mdx rename to www/docs/authenticate/saml/jumpcloud.mdx diff --git a/docs/docs/authenticate/saml/okta.mdx b/www/docs/authenticate/saml/okta.mdx similarity index 100% rename from docs/docs/authenticate/saml/okta.mdx rename to www/docs/authenticate/saml/okta.mdx diff --git a/docs/docs/authenticate/saml/onelogin.mdx b/www/docs/authenticate/saml/onelogin.mdx similarity index 100% rename from docs/docs/authenticate/saml/onelogin.mdx rename to www/docs/authenticate/saml/onelogin.mdx diff --git a/docs/docs/deploy/README.mdx b/www/docs/deploy/README.mdx similarity index 100% rename from docs/docs/deploy/README.mdx rename to www/docs/deploy/README.mdx diff --git a/docs/docs/deploy/advanced/README.mdx b/www/docs/deploy/advanced/README.mdx similarity index 100% rename from docs/docs/deploy/advanced/README.mdx rename to www/docs/deploy/advanced/README.mdx diff --git a/docs/docs/deploy/advanced/build-from-source.mdx b/www/docs/deploy/advanced/build-from-source.mdx similarity index 100% rename from docs/docs/deploy/advanced/build-from-source.mdx rename to www/docs/deploy/advanced/build-from-source.mdx diff --git a/docs/docs/deploy/advanced/external-database.mdx b/www/docs/deploy/advanced/external-database.mdx similarity index 100% rename from docs/docs/deploy/advanced/external-database.mdx rename to www/docs/deploy/advanced/external-database.mdx diff --git a/docs/docs/deploy/advanced/reverse-proxy.mdx b/www/docs/deploy/advanced/reverse-proxy.mdx similarity index 100% rename from docs/docs/deploy/advanced/reverse-proxy.mdx rename to www/docs/deploy/advanced/reverse-proxy.mdx diff --git a/docs/docs/deploy/configure.mdx b/www/docs/deploy/configure.mdx similarity index 100% rename from docs/docs/deploy/configure.mdx rename to www/docs/deploy/configure.mdx diff --git a/docs/docs/deploy/docker/README.mdx b/www/docs/deploy/docker/README.mdx similarity index 100% rename from docs/docs/deploy/docker/README.mdx rename to www/docs/deploy/docker/README.mdx diff --git a/docs/docs/deploy/docker/supported-platforms.mdx b/www/docs/deploy/docker/supported-platforms.mdx similarity index 100% rename from docs/docs/deploy/docker/supported-platforms.mdx rename to www/docs/deploy/docker/supported-platforms.mdx diff --git a/docs/docs/deploy/omnibus/README.mdx b/www/docs/deploy/omnibus/README.mdx similarity index 100% rename from docs/docs/deploy/omnibus/README.mdx rename to www/docs/deploy/omnibus/README.mdx diff --git a/docs/docs/deploy/omnibus/supported-platforms.mdx b/www/docs/deploy/omnibus/supported-platforms.mdx similarity index 100% rename from docs/docs/deploy/omnibus/supported-platforms.mdx rename to www/docs/deploy/omnibus/supported-platforms.mdx diff --git a/docs/docs/deploy/security-considerations.mdx b/www/docs/deploy/security-considerations.mdx similarity index 100% rename from docs/docs/deploy/security-considerations.mdx rename to www/docs/deploy/security-considerations.mdx diff --git a/docs/docs/reference/README.mdx b/www/docs/reference/README.mdx similarity index 100% rename from docs/docs/reference/README.mdx rename to www/docs/reference/README.mdx diff --git a/docs/docs/reference/_audit-logs.mdx b/www/docs/reference/_audit-logs.mdx similarity index 100% rename from docs/docs/reference/_audit-logs.mdx rename to www/docs/reference/_audit-logs.mdx diff --git a/docs/docs/reference/configuration-file.mdx b/www/docs/reference/configuration-file.mdx similarity index 100% rename from docs/docs/reference/configuration-file.mdx rename to www/docs/reference/configuration-file.mdx diff --git a/docs/docs/reference/env-vars.mdx b/www/docs/reference/env-vars.mdx similarity index 100% rename from docs/docs/reference/env-vars.mdx rename to www/docs/reference/env-vars.mdx diff --git a/docs/docs/reference/file-and-directory-locations.mdx b/www/docs/reference/file-and-directory-locations.mdx similarity index 100% rename from docs/docs/reference/file-and-directory-locations.mdx rename to www/docs/reference/file-and-directory-locations.mdx diff --git a/docs/docs/reference/firewall-templates/README.mdx b/www/docs/reference/firewall-templates/README.mdx similarity index 100% rename from docs/docs/reference/firewall-templates/README.mdx rename to www/docs/reference/firewall-templates/README.mdx diff --git a/docs/docs/reference/firewall-templates/nftables.mdx b/www/docs/reference/firewall-templates/nftables.mdx similarity index 100% rename from docs/docs/reference/firewall-templates/nftables.mdx rename to www/docs/reference/firewall-templates/nftables.mdx diff --git a/docs/docs/reference/rest-api/README.mdx b/www/docs/reference/rest-api/README.mdx similarity index 100% rename from docs/docs/reference/rest-api/README.mdx rename to www/docs/reference/rest-api/README.mdx diff --git a/docs/docs/reference/rest-api/configurations.mdx b/www/docs/reference/rest-api/configurations.mdx similarity index 100% rename from docs/docs/reference/rest-api/configurations.mdx rename to www/docs/reference/rest-api/configurations.mdx diff --git a/docs/docs/reference/rest-api/devices.mdx b/www/docs/reference/rest-api/devices.mdx similarity index 100% rename from docs/docs/reference/rest-api/devices.mdx rename to www/docs/reference/rest-api/devices.mdx diff --git a/docs/docs/reference/rest-api/rules.mdx b/www/docs/reference/rest-api/rules.mdx similarity index 100% rename from docs/docs/reference/rest-api/rules.mdx rename to www/docs/reference/rest-api/rules.mdx diff --git a/docs/docs/reference/rest-api/users.mdx b/www/docs/reference/rest-api/users.mdx similarity index 100% rename from docs/docs/reference/rest-api/users.mdx rename to www/docs/reference/rest-api/users.mdx diff --git a/docs/docs/reference/reverse-proxy-templates/README.mdx b/www/docs/reference/reverse-proxy-templates/README.mdx similarity index 100% rename from docs/docs/reference/reverse-proxy-templates/README.mdx rename to www/docs/reference/reverse-proxy-templates/README.mdx diff --git a/docs/docs/reference/reverse-proxy-templates/apache.mdx b/www/docs/reference/reverse-proxy-templates/apache.mdx similarity index 100% rename from docs/docs/reference/reverse-proxy-templates/apache.mdx rename to www/docs/reference/reverse-proxy-templates/apache.mdx diff --git a/docs/docs/reference/reverse-proxy-templates/haproxy.mdx b/www/docs/reference/reverse-proxy-templates/haproxy.mdx similarity index 100% rename from docs/docs/reference/reverse-proxy-templates/haproxy.mdx rename to www/docs/reference/reverse-proxy-templates/haproxy.mdx diff --git a/docs/docs/reference/reverse-proxy-templates/traefik.mdx b/www/docs/reference/reverse-proxy-templates/traefik.mdx similarity index 100% rename from docs/docs/reference/reverse-proxy-templates/traefik.mdx rename to www/docs/reference/reverse-proxy-templates/traefik.mdx diff --git a/docs/docs/reference/security-controls.mdx b/www/docs/reference/security-controls.mdx similarity index 100% rename from docs/docs/reference/security-controls.mdx rename to www/docs/reference/security-controls.mdx diff --git a/docs/docs/reference/telemetry.mdx b/www/docs/reference/telemetry.mdx similarity index 100% rename from docs/docs/reference/telemetry.mdx rename to www/docs/reference/telemetry.mdx diff --git a/docs/docs/user-guides/README.mdx b/www/docs/user-guides/README.mdx similarity index 100% rename from docs/docs/user-guides/README.mdx rename to www/docs/user-guides/README.mdx diff --git a/docs/docs/user-guides/add-devices.mdx b/www/docs/user-guides/add-devices.mdx similarity index 100% rename from docs/docs/user-guides/add-devices.mdx rename to www/docs/user-guides/add-devices.mdx diff --git a/docs/docs/user-guides/add-users.mdx b/www/docs/user-guides/add-users.mdx similarity index 100% rename from docs/docs/user-guides/add-users.mdx rename to www/docs/user-guides/add-users.mdx diff --git a/docs/docs/user-guides/client-instructions.mdx b/www/docs/user-guides/client-instructions.mdx similarity index 100% rename from docs/docs/user-guides/client-instructions.mdx rename to www/docs/user-guides/client-instructions.mdx diff --git a/docs/docs/user-guides/egress-rules.mdx b/www/docs/user-guides/egress-rules.mdx similarity index 100% rename from docs/docs/user-guides/egress-rules.mdx rename to www/docs/user-guides/egress-rules.mdx diff --git a/docs/docs/user-guides/use-cases/README.mdx b/www/docs/user-guides/use-cases/README.mdx similarity index 100% rename from docs/docs/user-guides/use-cases/README.mdx rename to www/docs/user-guides/use-cases/README.mdx diff --git a/docs/docs/user-guides/use-cases/nat-gateway/README.mdx b/www/docs/user-guides/use-cases/nat-gateway/README.mdx similarity index 100% rename from docs/docs/user-guides/use-cases/nat-gateway/README.mdx rename to www/docs/user-guides/use-cases/nat-gateway/README.mdx diff --git a/docs/docs/user-guides/use-cases/nat-gateway/_whitelist-sso.mdx b/www/docs/user-guides/use-cases/nat-gateway/_whitelist-sso.mdx similarity index 100% rename from docs/docs/user-guides/use-cases/nat-gateway/_whitelist-sso.mdx rename to www/docs/user-guides/use-cases/nat-gateway/_whitelist-sso.mdx diff --git a/docs/docs/user-guides/use-cases/reverse-tunnel.mdx b/www/docs/user-guides/use-cases/reverse-tunnel.mdx similarity index 100% rename from docs/docs/user-guides/use-cases/reverse-tunnel.mdx rename to www/docs/user-guides/use-cases/reverse-tunnel.mdx diff --git a/docs/docs/user-guides/use-cases/split-tunnel.mdx b/www/docs/user-guides/use-cases/split-tunnel.mdx similarity index 100% rename from docs/docs/user-guides/use-cases/split-tunnel.mdx rename to www/docs/user-guides/use-cases/split-tunnel.mdx diff --git a/docs/docusaurus.config.js b/www/docusaurus.config.js similarity index 99% rename from docs/docusaurus.config.js rename to www/docusaurus.config.js index 0e5c785ad..13d587f3e 100644 --- a/docs/docusaurus.config.js +++ b/www/docusaurus.config.js @@ -55,7 +55,7 @@ const config = { docs: { routeBasePath: '/', sidebarPath: require.resolve('./sidebars.js'), - editUrl: 'https://github.com/firezone/firezone/tree/master/docs', + editUrl: 'https://github.com/firezone/firezone/tree/master/www', docLayoutComponent: "@theme/DocPage" }, theme: { diff --git a/docs/package.json b/www/package.json similarity index 100% rename from docs/package.json rename to www/package.json diff --git a/docs/sidebars.js b/www/sidebars.js similarity index 100% rename from docs/sidebars.js rename to www/sidebars.js diff --git a/docs/src/components/AccentBlock/index.js b/www/src/components/AccentBlock/index.js similarity index 100% rename from docs/src/components/AccentBlock/index.js rename to www/src/components/AccentBlock/index.js diff --git a/docs/src/components/AccentBlock/styles.module.css b/www/src/components/AccentBlock/styles.module.css similarity index 100% rename from docs/src/components/AccentBlock/styles.module.css rename to www/src/components/AccentBlock/styles.module.css diff --git a/docs/src/components/Feedback/index.js b/www/src/components/Feedback/index.js similarity index 100% rename from docs/src/components/Feedback/index.js rename to www/src/components/Feedback/index.js diff --git a/docs/src/components/Feedback/styles.module.css b/www/src/components/Feedback/styles.module.css similarity index 100% rename from docs/src/components/Feedback/styles.module.css rename to www/src/components/Feedback/styles.module.css diff --git a/docs/src/components/InstallBlock/index.js b/www/src/components/InstallBlock/index.js similarity index 100% rename from docs/src/components/InstallBlock/index.js rename to www/src/components/InstallBlock/index.js diff --git a/docs/src/components/SignUp/index.js b/www/src/components/SignUp/index.js similarity index 100% rename from docs/src/components/SignUp/index.js rename to www/src/components/SignUp/index.js diff --git a/docs/src/components/SignUp/styles.module.css b/www/src/components/SignUp/styles.module.css similarity index 100% rename from docs/src/components/SignUp/styles.module.css rename to www/src/components/SignUp/styles.module.css diff --git a/docs/src/css/custom.css b/www/src/css/custom.css similarity index 100% rename from docs/src/css/custom.css rename to www/src/css/custom.css diff --git a/docs/src/partials/_support_options.mdx b/www/src/partials/_support_options.mdx similarity index 100% rename from docs/src/partials/_support_options.mdx rename to www/src/partials/_support_options.mdx diff --git a/docs/src/theme/MDXComponents.js b/www/src/theme/MDXComponents.js similarity index 100% rename from docs/src/theme/MDXComponents.js rename to www/src/theme/MDXComponents.js diff --git a/docs/static/.nojekyll b/www/static/.nojekyll similarity index 100% rename from docs/static/.nojekyll rename to www/static/.nojekyll diff --git a/docs/static/img/dislike.svg b/www/static/img/dislike.svg similarity index 100% rename from docs/static/img/dislike.svg rename to www/static/img/dislike.svg diff --git a/docs/static/img/favicon.ico b/www/static/img/favicon.ico similarity index 100% rename from docs/static/img/favicon.ico rename to www/static/img/favicon.ico diff --git a/docs/static/img/github_dark.svg b/www/static/img/github_dark.svg similarity index 100% rename from docs/static/img/github_dark.svg rename to www/static/img/github_dark.svg diff --git a/docs/static/img/github_light.svg b/www/static/img/github_light.svg similarity index 100% rename from docs/static/img/github_light.svg rename to www/static/img/github_light.svg diff --git a/docs/static/img/like.svg b/www/static/img/like.svg similarity index 100% rename from docs/static/img/like.svg rename to www/static/img/like.svg diff --git a/docs/static/img/logo.svg b/www/static/img/logo.svg similarity index 100% rename from docs/static/img/logo.svg rename to www/static/img/logo.svg diff --git a/docs/static/js/posthog.js b/www/static/js/posthog.js similarity index 100% rename from docs/static/js/posthog.js rename to www/static/js/posthog.js diff --git a/docs/yarn.lock b/www/yarn.lock similarity index 99% rename from docs/yarn.lock rename to www/yarn.lock index 0379940de..6aa8d3b81 100644 --- a/docs/yarn.lock +++ b/www/yarn.lock @@ -1130,6 +1130,11 @@ "@babel/helper-validator-option" "^7.18.6" "@babel/plugin-transform-typescript" "^7.18.6" +"@babel/regjsgen@^0.8.0": + version "0.8.0" + resolved "https://registry.yarnpkg.com/@babel/regjsgen/-/regjsgen-0.8.0.tgz#f0ba69b075e1f05fb2825b7fad991e7adbb18310" + integrity sha512-x/rqGMdzj+fWZvCOYForTghzbtqPDZ5gPwaoNGHdgDfF2QA/XZbCBp4Moo5scrkAMPhB7z26XM/AaHuIJdgauA== + "@babel/runtime-corejs3@^7.18.6": version "7.20.13" resolved "https://registry.yarnpkg.com/@babel/runtime-corejs3/-/runtime-corejs3-7.20.13.tgz#ad012857db412ab0b5ccf184b67be2cfcc2a1dcf" @@ -1184,19 +1189,19 @@ resolved "https://registry.yarnpkg.com/@colors/colors/-/colors-1.5.0.tgz#bb504579c1cae923e6576a4f5da43d25f97bdbd9" integrity sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ== -"@docsearch/css@3.3.2": - version "3.3.2" - resolved "https://registry.yarnpkg.com/@docsearch/css/-/css-3.3.2.tgz#2c49995e6fbc7834c75f317b277ed6e4019223a4" - integrity sha512-dctFYiwbvDZkksMlsmc7pj6W6By/EjnVXJq5TEPd05MwQe+dcdHJgaIn1c8wfsucxHpIsdrUcgSkACHCq6aIhw== +"@docsearch/css@3.3.3": + version "3.3.3" + resolved "https://registry.yarnpkg.com/@docsearch/css/-/css-3.3.3.tgz#f9346c9e24602218341f51b8ba91eb9109add434" + integrity sha512-6SCwI7P8ao+se1TUsdZ7B4XzL+gqeQZnBc+2EONZlcVa0dVrk0NjETxozFKgMv0eEGH8QzP1fkN+A1rH61l4eg== "@docsearch/react@^3.1.1": - version "3.3.2" - resolved "https://registry.yarnpkg.com/@docsearch/react/-/react-3.3.2.tgz#252b659c66682f24902bf6db257f63ee73ffe8fa" - integrity sha512-ugILab2TYKSh6IEHf6Z9xZbOovsYbsdfo60PBj+Bw+oMJ1MHJ7pBt1TTcmPki1hSgg8mysgKy2hDiVdPm7XWSQ== + version "3.3.3" + resolved "https://registry.yarnpkg.com/@docsearch/react/-/react-3.3.3.tgz#907b6936a565f880b4c0892624b4f7a9f132d298" + integrity sha512-pLa0cxnl+G0FuIDuYlW+EBK6Rw2jwLw9B1RHIeS4N4s2VhsfJ/wzeCi3CWcs5yVfxLd5ZK50t//TMA5e79YT7Q== dependencies: "@algolia/autocomplete-core" "1.7.4" "@algolia/autocomplete-preset-algolia" "1.7.4" - "@docsearch/css" "3.3.2" + "@docsearch/css" "3.3.3" algoliasearch "^4.0.0" "@docusaurus/core@2.3.1", "@docusaurus/core@^2.1.0": @@ -1649,19 +1654,19 @@ dependencies: "@hapi/hoek" "^9.0.0" -"@jest/schemas@^29.4.0": - version "29.4.0" - resolved "https://registry.yarnpkg.com/@jest/schemas/-/schemas-29.4.0.tgz#0d6ad358f295cc1deca0b643e6b4c86ebd539f17" - integrity sha512-0E01f/gOZeNTG76i5eWWSupvSHaIINrTie7vCyjiYFKgzNdyEGd12BUv4oNBFHOqlHDbtoJi3HrQ38KCC90NsQ== +"@jest/schemas@^29.4.2": + version "29.4.2" + resolved "https://registry.yarnpkg.com/@jest/schemas/-/schemas-29.4.2.tgz#cf7cfe97c5649f518452b176c47ed07486270fc1" + integrity sha512-ZrGzGfh31NtdVH8tn0mgJw4khQuNHiKqdzJAFbCaERbyCP9tHlxWuL/mnMu8P7e/+k4puWjI1NOzi/sFsjce/g== dependencies: "@sinclair/typebox" "^0.25.16" -"@jest/types@^29.4.1": - version "29.4.1" - resolved "https://registry.yarnpkg.com/@jest/types/-/types-29.4.1.tgz#f9f83d0916f50696661da72766132729dcb82ecb" - integrity sha512-zbrAXDUOnpJ+FMST2rV7QZOgec8rskg2zv8g2ajeqitp4tvZiyqTCYXANrKsM+ryj5o+LI+ZN2EgU9drrkiwSA== +"@jest/types@^29.4.2": + version "29.4.2" + resolved "https://registry.yarnpkg.com/@jest/types/-/types-29.4.2.tgz#8f724a414b1246b2bfd56ca5225d9e1f39540d82" + integrity sha512-CKlngyGP0fwlgC1BRUtPZSiWLBhyS9dKwKmyGxk8Z6M82LBEGB2aLQSg+U1MyLsU+M7UjnlLllBM2BLWKVm/Uw== dependencies: - "@jest/schemas" "^29.4.0" + "@jest/schemas" "^29.4.2" "@types/istanbul-lib-coverage" "^2.0.0" "@types/istanbul-reports" "^3.0.0" "@types/node" "*" @@ -2072,9 +2077,9 @@ integrity sha512-Y4XFY5VJAuw0FgAqPNd6NNoV44jbq9Bz2L7Rh/J6jLTiHBSBJa9fxqQIvkIld4GsoDOcCbvzOUAbLPsSKKg+uA== "@types/node@*": - version "18.11.18" - resolved "https://registry.yarnpkg.com/@types/node/-/node-18.11.18.tgz#8dfb97f0da23c2293e554c5a50d61ef134d7697f" - integrity sha512-DHQpWGjyQKSHj3ebjFI/wRKcqQcdR+MoFBygntYOZytCqNfkd2ZC4ARDJ2DQqhjH5p85Nnd3jhUJIXrszFX/JA== + version "18.13.0" + resolved "https://registry.yarnpkg.com/@types/node/-/node-18.13.0.tgz#0400d1e6ce87e9d3032c19eb6c58205b0d3f7850" + integrity sha512-gC3TazRzGoOnoKAhUx+Q0t8S9Tzs74z7m0ipwGpSqQrleP14hKxP4/JUeEQcD3W1/aIpnWl8pHowI7WokuZpXg== "@types/node@^17.0.5": version "17.0.45" @@ -2789,9 +2794,9 @@ caniuse-api@^3.0.0: lodash.uniq "^4.5.0" caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001426, caniuse-lite@^1.0.30001449: - version "1.0.30001450" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001450.tgz#022225b91200589196b814b51b1bbe45144cf74f" - integrity sha512-qMBmvmQmFXaSxexkjjfMvD5rnDL0+m+dUMZKoDYsGG8iZN29RuYh9eRoMvKsT6uMAWlyUUGDEQGJJYjzCIO9ew== + version "1.0.30001451" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001451.tgz#2e197c698fc1373d63e1406d6607ea4617c613f1" + integrity sha512-XY7UbUpGRatZzoRft//5xOa69/1iGJRBlrieH6QYrkKLIFn3m7OVEJ81dSrKoy2BnKsdbX5cLrOispZNYo9v2w== ccount@^1.0.0: version "1.1.0" @@ -3563,9 +3568,9 @@ ee-first@1.1.1: integrity sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow== electron-to-chromium@^1.4.284: - version "1.4.286" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.286.tgz#0e039de59135f44ab9a8ec9025e53a9135eba11f" - integrity sha512-Vp3CVhmYpgf4iXNKAucoQUDcCrBQX3XLBtwgFqP9BUXuucgvAV9zWp1kYU7LL9j4++s9O+12cb3wMtN4SJy6UQ== + version "1.4.293" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.293.tgz#eaea755ad37a0f1759874a8597b33be62def2781" + integrity sha512-h7vBlhC83NsgC9UO3LOZx91xgstIrHk5iqMbZgnEArL5rHTM6HfsUZhnwb3oRnNetXM1741kB9SO7x9jLshz5A== emoji-regex@^8.0.0: version "8.0.0" @@ -4756,12 +4761,12 @@ isobject@^3.0.1: resolved "https://registry.yarnpkg.com/isobject/-/isobject-3.0.1.tgz#4e431e92b11a9731636aa1f9c8d1ccbcfdab78df" integrity sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg== -jest-util@^29.4.1: - version "29.4.1" - resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-29.4.1.tgz#2eeed98ff4563b441b5a656ed1a786e3abc3e4c4" - integrity sha512-bQy9FPGxVutgpN4VRc0hk6w7Hx/m6L53QxpDreTZgJd9gfx/AV2MjyPde9tGyZRINAUrSv57p2inGBu2dRLmkQ== +jest-util@^29.4.2: + version "29.4.2" + resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-29.4.2.tgz#3db8580b295df453a97de4a1b42dd2578dabd2c2" + integrity sha512-wKnm6XpJgzMUSRFB7YF48CuwdzuDIHenVuoIb1PLuJ6F+uErZsuDkU+EiExkChf6473XcawBrSfDSnXl+/YG4g== dependencies: - "@jest/types" "^29.4.1" + "@jest/types" "^29.4.2" "@types/node" "*" chalk "^4.0.0" ci-info "^3.2.0" @@ -4778,12 +4783,12 @@ jest-worker@^27.4.5, jest-worker@^27.5.1: supports-color "^8.0.0" jest-worker@^29.1.2: - version "29.4.1" - resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-29.4.1.tgz#7cb4a99a38975679600305650f86f4807460aab1" - integrity sha512-O9doU/S1EBe+yp/mstQ0VpPwpv0Clgn68TkNwGxL6/usX/KUW9Arnn4ag8C3jc6qHcXznhsT5Na1liYzAsuAbQ== + version "29.4.2" + resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-29.4.2.tgz#d9b2c3bafc69311d84d94e7fb45677fc8976296f" + integrity sha512-VIuZA2hZmFyRbchsUCHEehoSf2HEl0YVF8SDJqtPnKorAaBuh42V8QsLnde0XP5F6TyCynGPEGgBOn3Fc+wZGw== dependencies: "@types/node" "*" - jest-util "^29.4.1" + jest-util "^29.4.2" merge-stream "^2.0.0" supports-color "^8.0.0" @@ -5227,9 +5232,9 @@ minimatch@~3.0.5: brace-expansion "^1.1.7" minimist@^1.2.0, minimist@^1.2.5, minimist@^1.2.6: - version "1.2.7" - resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.7.tgz#daa1c4d91f507390437c6a8bc01078e7000c4d18" - integrity sha512-bzfL1YUZsP41gmu/qjrEk0Q6i2ix/cVeAhbCbqH9u3zYutS1cLg00qhrD0M2MVdCcx4Sc0UpP2eBWo9rotpq6g== + version "1.2.8" + resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.8.tgz#c1a464e7693302e082a075cee0c057741ac4772c" + integrity sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA== mrmime@^1.0.0: version "1.0.1" @@ -5302,9 +5307,9 @@ node-forge@^1: integrity sha512-dPEtOeMvF9VMcYV/1Wb8CPoVAXtp6MKMlcbAt4ddqmGqUJ6fQZFXkNZNkNlfevtNkGtaSoXf/vNNNSvgrdXwtA== node-releases@^2.0.8: - version "2.0.9" - resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.9.tgz#fe66405285382b0c4ac6bcfbfbe7e8a510650b4d" - integrity sha512-2xfmOrRkGogbTK9R6Leda0DGiXeY3p2NJpy4+gNCffdUvV6mdEJnaDEic1i3Ec2djAo8jWYoJMR5PB0MSMpxUA== + version "2.0.10" + resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.10.tgz#c311ebae3b6a148c89b1813fd7c4d3c024ef537f" + integrity sha512-5GFldHPXVG/YZmFzJvKK2zDSzPKhEp0+ZR5SVaoSag9fsL5YgHbUHDfnG5494ISANDcK4KwPXAx2xqVEydmd7w== normalize-path@^3.0.0, normalize-path@~3.0.0: version "3.0.0" @@ -5402,9 +5407,9 @@ onetime@^5.1.2: mimic-fn "^2.1.0" open@^8.0.9, open@^8.4.0: - version "8.4.0" - resolved "https://registry.yarnpkg.com/open/-/open-8.4.0.tgz#345321ae18f8138f82565a910fdc6b39e8c244f8" - integrity sha512-XgFPPM+B28FtCCgSb9I+s9szOC1vZRSwgWsRUA5ylIxRTgKozqjOCrVOqGsYABPYK5qnfqClxZTFBa8PKt2v6Q== + version "8.4.1" + resolved "https://registry.yarnpkg.com/open/-/open-8.4.1.tgz#2ab3754c07f5d1f99a7a8d6a82737c95e3101cff" + integrity sha512-/4b7qZNhv6Uhd7jjnREh1NjnPxlTq+XNWPG88Ydkj5AILcA5m3ajvcg57pB24EQjKv0dK62XnDqk9c/hkIG5Kg== dependencies: define-lazy-prop "^2.0.0" is-docker "^2.1.1" @@ -6306,13 +6311,13 @@ regenerator-transform@^0.15.1: "@babel/runtime" "^7.8.4" regexpu-core@^5.2.1: - version "5.2.2" - resolved "https://registry.yarnpkg.com/regexpu-core/-/regexpu-core-5.2.2.tgz#3e4e5d12103b64748711c3aad69934d7718e75fc" - integrity sha512-T0+1Zp2wjF/juXMrMxHxidqGYn8U4R+zleSJhX9tQ1PUsS8a9UtYfbsF9LdiVgNX3kiX8RNaKM42nfSgvFJjmw== + version "5.3.0" + resolved "https://registry.yarnpkg.com/regexpu-core/-/regexpu-core-5.3.0.tgz#4d0d044b76fedbad6238703ae84bfdedee2cf074" + integrity sha512-ZdhUQlng0RoscyW7jADnUZ25F5eVtHdMyXSb2PiwafvteRAOJUjFoUPEYZSIfP99fBIs3maLIRfpEddT78wAAQ== dependencies: + "@babel/regjsgen" "^0.8.0" regenerate "^1.4.2" regenerate-unicode-properties "^10.1.0" - regjsgen "^0.7.1" regjsparser "^0.9.1" unicode-match-property-ecmascript "^2.0.0" unicode-match-property-value-ecmascript "^2.1.0" @@ -6331,11 +6336,6 @@ registry-url@^5.0.0: dependencies: rc "^1.2.8" -regjsgen@^0.7.1: - version "0.7.1" - resolved "https://registry.yarnpkg.com/regjsgen/-/regjsgen-0.7.1.tgz#ee5ef30e18d3f09b7c369b76e7c2373ed25546f6" - integrity sha512-RAt+8H2ZEzHeYWxZ3H2z6tF18zyyOnlcdaafLrm21Bguj7uZy6ULibiAFdXEtKQY4Sy7wDTwDiOazasMLc4KPA== - regjsparser@^0.9.1: version "0.9.1" resolved "https://registry.yarnpkg.com/regjsparser/-/regjsparser-0.9.1.tgz#272d05aa10c7c1f67095b1ff0addae8442fc5709"