1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00
unleash.unleash/website/static/img
Thomas Heartman 415e1b0596
Source proxy and Edge docs from GitHub (#3122)
## What

The main purpose of this PR is to

1. Delete the proxy docs in this repo and replace them with the proxy's
GitHub readme.
2. Add the docs for Unleash Edge.

### Detailed change description

This PR contains a lot of small changes in a large number of files. To
make it easier to get an overview, here's a detailed description of what
happens where:

#### In the `website/docs`directory

Except for the deletion of the proxy doc, all changes in this directory
are rewriting internal links, so that they point to the newly generated
document instead.

#### `package.json` and `yarn.lock`

When including the documentation for Edge, we also want to render the
mermaid diagrams it uses. Docusaurus supports this via a plugin. All
changes in these files are related to installing that plugin.

#### `docusaurus.config.js`

There's two types of changes in this file:

1. Mermaid-related changes: we ask docusaurus to render mermaid in
markdown files and add the plugin

2. Document generation. There's some rewrites to the sdk doc generation
plus an entirely new section that generates docs for Edge and the proxy

#### `sidebars.js`

Two things:

1. Add the edge docs
2. Move both the Edge and the proxy docs up a level, so that they're
directly under "reference docs" instead of nested inside "unleash
concepts".

#### In the `website/remote-content` directory

These are the remote content files. Previously, all of this lived only
in a `readme-fns.js` file, but with the introduction of Edge and proxy
docs, this has been moved into its own directory and refactored into
three files (`shared`, `sdks`, `edge-proxy`).

#### `custom.css`

Style updates to center mermaid diagrams and provide more space around
them.

#### In `static/img`

The image files that were included in the proxy doc and that have been
deleted.

## Why

For two reasons:

1. Reduce duplication for the proxy. Have one source of truth.
2. Add docs for edge.

## Discussion points and review wishes

This is a big PR, and I don't expect anyone to do a line-by-line review
of it, nor do I think that is particularly useful. Instead, I'd like to
ask reviewers to:

1. Visit the [documentation
preview](https://unleash-docs-git-docs-source-proxy-gh-unleash-team.vercel.app/reference/unleash-proxy)
and have a look at both the proxy docs and the Edge docs. Potentially
have a look at the SDK docs too to verify that everything still works.

2. Consider whether they think moving the proxy and edge docs up a level
(in the sidebar) makes sense.

3. Let me know what slug they'd prefer for the Edge docs. I've gone with
`unleash-edge` for now (so that it's
`docs.getunleash.io/reference/unleash-edge`), but we could potentially
also just use `edge`. WDYT?

4. Read through the detailed changes section.

5. Let me know if they have any other concerns or questions.

## Screenies

The new proxy doc:


![image](https://user-images.githubusercontent.com/17786332/219043145-1c75c83e-4191-45a3-acb5-775d05d13862.png)

The new edge doc:


![image](https://user-images.githubusercontent.com/17786332/219043220-1f5daf13-972e-4d56-8aaf-70ff1812863e.png)
2023-02-16 13:36:28 +01:00
..
favicon
add-constraint.png fix: Update UI labeling: custom constraint -> (strategy) constraint (#2101) 2022-09-29 11:43:04 +02:00
add-group-to-project-step-1.png Feat/grouping (#1845) 2022-07-21 16:23:56 +02:00
add-group-to-project-step-2.png Feat/grouping (#1845) 2022-07-21 16:23:56 +02:00
add-group-to-project-step-3.png Feat/grouping (#1845) 2022-07-21 16:23:56 +02:00
add-group-to-project-step-4.png Feat/grouping (#1845) 2022-07-21 16:23:56 +02:00
add-group-to-project-step-5.png Feat/grouping (#1845) 2022-07-21 16:23:56 +02:00
add-user-to-group-step-1.png docs: update group docs with new screenshots and requirements for users (#1910) 2022-08-11 14:01:32 +02:00
add-user-to-group-step-2.png docs: update group docs with new screenshots and requirements for users (#1910) 2022-08-11 14:01:32 +02:00
add-user-to-group-step-3.png docs: update group docs with new screenshots and requirements for users (#1910) 2022-08-11 14:01:32 +02:00
admin_configure_api.png Docs: update API access for new token type (#1958) 2022-09-15 09:02:10 +02:00
admin_copy_token.png Docs: update API access for new token type (#1958) 2022-09-15 09:02:10 +02:00
admin_cors.png Docs: update API access for new token type (#1958) 2022-09-15 09:02:10 +02:00
admin_create_token_form.png Docs: update API access for new token type (#1958) 2022-09-15 09:02:10 +02:00
admin_new_api_key_button.png Docs: update API access for new token type (#1958) 2022-09-15 09:02:10 +02:00
admin-authentication.png
amedia-logo.png
anatomy-of-unleash-constraint.png docs: add "The Anatomy of Unleash" (#2138) 2022-10-19 13:14:49 +02:00
anatomy-of-unleash-customer-tiers.png docs: add "The Anatomy of Unleash" (#2138) 2022-10-19 13:14:49 +02:00
anatomy-of-unleash-environment.png docs: add "The Anatomy of Unleash" (#2138) 2022-10-19 13:14:49 +02:00
anatomy-of-unleash-environments-strategies2.png docs: add "The Anatomy of Unleash" (#2138) 2022-10-19 13:14:49 +02:00
anatomy-of-unleash-environments-strategies.png docs: add "The Anatomy of Unleash" (#2138) 2022-10-19 13:14:49 +02:00
anatomy-of-unleash-features.png docs: add "The Anatomy of Unleash" (#2138) 2022-10-19 13:14:49 +02:00
anatomy-of-unleash-new-feature-rollout.png docs: add "The Anatomy of Unleash" (#2138) 2022-10-19 13:14:49 +02:00
anatomy-of-unleash-segments.png docs: add "The Anatomy of Unleash" (#2138) 2022-10-19 13:14:49 +02:00
anatomy-of-unleash-strategy.png docs: add "The Anatomy of Unleash" (#2138) 2022-10-19 13:14:49 +02:00
anatomy-of-unleash-variants-per-environment.png docs: add image to anatomy about variants per environment (#3080) 2023-02-10 15:31:11 +01:00
anatomy-of-unleash-variants.png docs: add "The Anatomy of Unleash" (#2138) 2022-10-19 13:14:49 +02:00
api_access_history.png docs: update images using latest UI screenshots (#1992) 2022-09-14 07:59:18 +00:00
api_access_navigation.png docs: update images using latest UI screenshots (#1992) 2022-09-14 07:59:18 +00:00
archive-toggle-delete.png docs: update images using latest UI screenshots (#1992) 2022-09-14 07:59:18 +00:00
archive-toggle-revive.png docs: update images using latest UI screenshots (#1992) 2022-09-14 07:59:18 +00:00
archive-toggle.png docs: update images using latest UI screenshots (#1992) 2022-09-14 07:59:18 +00:00
assign-cpr-step-1.png docs: update images using latest UI screenshots (#1992) 2022-09-14 07:59:18 +00:00
assign-cpr-step-2.png docs: update images using latest UI screenshots (#1992) 2022-09-14 07:59:18 +00:00
assign-cpr-step-3a.png docs: update images using latest UI screenshots (#1992) 2022-09-14 07:59:18 +00:00
assign-cpr-step-3b.png docs: update images using latest UI screenshots (#1992) 2022-09-14 07:59:18 +00:00
budgets.png
change-request-banner.png Docs/change request beta docs (#2608) 2022-12-06 14:02:44 +01:00
change-request-configuration.png Docs/change request beta docs (#2608) 2022-12-06 14:02:44 +01:00
change-request-flow.png Docs/change request beta docs (#2608) 2022-12-06 14:02:44 +01:00
change-request-overview.png Docs/change request beta docs (#2608) 2022-12-06 14:02:44 +01:00
clone-environment-1.png docs: add environment cloning and how-to guide (#2249) 2022-11-03 14:14:08 +02:00
clone-environment-2.png docs: add environment cloning and how-to guide (#2249) 2022-11-03 14:14:08 +02:00
clone-environment-3.png docs: add environment cloning and how-to guide (#2249) 2022-11-03 14:14:08 +02:00
clone-environment-4.png docs: add environment cloning and how-to guide (#2249) 2022-11-03 14:14:08 +02:00
clone-environment-5.png docs: add environment cloning and how-to guide (#2249) 2022-11-03 14:14:08 +02:00
constraints_legal_values.png fix: Update UI labeling: custom constraint -> (strategy) constraint (#2101) 2022-09-29 11:43:04 +02:00
constraints-add-additional.png fix: Update UI labeling: custom constraint -> (strategy) constraint (#2101) 2022-09-29 11:43:04 +02:00
constraints-add-to-strategy.png fix: Update UI labeling: custom constraint -> (strategy) constraint (#2101) 2022-09-29 11:43:04 +02:00
context-field-create-button.png docs: update images using latest UI screenshots (#1992) 2022-09-14 07:59:18 +00:00
context-fields-create.png
context-fields.png docs: update images using latest UI screenshots (#1992) 2022-09-14 07:59:18 +00:00
control_rollout_multiple_strategies.png docs: update images using latest UI screenshots (#1992) 2022-09-14 07:59:18 +00:00
control_rollout_standard_strategy.png
control_rollout_userid_strategy.png
create_feat_impression.png docs: update images using latest UI screenshots (#1992) 2022-09-14 07:59:18 +00:00
create_project1.png
create_project2.png
create_project3.png
create_project4.png
create_strategy.png
create_token.png
create-cpr-step-1.png docs: update images using latest UI screenshots (#1992) 2022-09-14 07:59:18 +00:00
create-cpr-step-2.png docs: update images using latest UI screenshots (#1992) 2022-09-14 07:59:18 +00:00
create-cpr-step-3.png docs: update images using latest UI screenshots (#1992) 2022-09-14 07:59:18 +00:00
create-cpr-step-4.png docs: update images using latest UI screenshots (#1992) 2022-09-14 07:59:18 +00:00
create-pat-1.png docs: adds documentation for personal api tokens (#2164) 2022-10-13 11:02:04 +02:00
create-pat-2.png docs: adds documentation for personal api tokens (#2164) 2022-10-13 11:02:04 +02:00
create-pat-3.png docs: adds documentation for personal api tokens (#2164) 2022-10-13 11:02:04 +02:00
create-pat-4.png docs: adds documentation for personal api tokens (#2164) 2022-10-13 11:02:04 +02:00
create-pat-5.png docs: adds documentation for personal api tokens (#2164) 2022-10-13 11:02:04 +02:00
create-toggle-add-constraint.png fix: Update UI labeling: custom constraint -> (strategy) constraint (#2101) 2022-09-29 11:43:04 +02:00
create-toggle-add-segment.png fix: Update UI labeling: custom constraint -> (strategy) constraint (#2101) 2022-09-29 11:43:04 +02:00
create-toggle-add-strategy.png docs: update images using latest UI screenshots (#1992) 2022-09-14 07:59:18 +00:00
create-toggle-add-variants.png docs: update images using latest UI screenshots (#1992) 2022-09-14 07:59:18 +00:00
create-toggle-edit-strategy.png docs: update images using latest UI screenshots (#1992) 2022-09-14 07:59:18 +00:00
create-toggle-enable-env.png docs: update images using latest UI screenshots (#1992) 2022-09-14 07:59:18 +00:00
create-toggle-new-toggle.png docs: update images using latest UI screenshots (#1992) 2022-09-14 07:59:18 +00:00
create-ug-step-1.png Feat/grouping (#1845) 2022-07-21 16:23:56 +02:00
create-ug-step-2.png Feat/grouping (#1845) 2022-07-21 16:23:56 +02:00
create-ug-step-3.png docs: update group docs with new screenshots and requirements for users (#1910) 2022-08-11 14:01:32 +02:00
create-ug-step-4.png docs: update group docs with new screenshots and requirements for users (#1910) 2022-08-11 14:01:32 +02:00
custom-strategy-enable-after.png docs: update images using latest UI screenshots (#1992) 2022-09-14 07:59:18 +00:00
custom-strategy-navigation.png docs: update images using latest UI screenshots (#1992) 2022-09-14 07:59:18 +00:00
dashboard_new.png
dashboard.png
default_activation_strategy.png
docusaurus.png
docusaurus.svg
edit-ug-step-2.png Feat/grouping (#1845) 2022-07-21 16:23:56 +02:00
enable_custom_stickiness.png docs: update images using latest UI screenshots (#1992) 2022-09-14 07:59:18 +00:00
enable-impression-data-existing-toggle.png docs: update images using latest UI screenshots (#1992) 2022-09-14 07:59:18 +00:00
enable-impression-data.png docs: update images using latest UI screenshots (#1992) 2022-09-14 07:59:18 +00:00
environments_api_keys.png docs: update images using latest UI screenshots (#1992) 2022-09-14 07:59:18 +00:00
environments_configure.png docs: update images using latest UI screenshots (#1992) 2022-09-14 07:59:18 +00:00
environments_overview.svg
environments_strategies.png docs: update images using latest UI screenshots (#1992) 2022-09-14 07:59:18 +00:00
environments_strategy_constraints.png fix: Update UI labeling: custom constraint -> (strategy) constraint (#2101) 2022-09-29 11:43:04 +02:00
favicon.ico
feature_toggles_menu.png
finn.jpg
ft_create_assign_project.png
ft_create_chose_project.png
ft_filter_on_project.png
ft_project_filter.png
global_audit_log.png docs: update images using latest UI screenshots (#1992) 2022-09-14 07:59:18 +00:00
google_auth_settings.png
hash_and_normalise.png
instance_admin_sdk.png
jira_server_add_existing_toggle.png
jira_server_add_new_toggle.png
jira_server_delete_connected_toggles.png
jira_server_delete_server_confirmation.png
jira_server_disconnect_toggle_dialog.png
jira_server_disconnect_toggle.png
jira_server_edit_server.png
jira_server_installed_ready_to_go.png
jira_server_issue_panel_button.png
jira_server_manage_apps.png
jira_server_manage_servers.png
jira_server_manage_unleash_admin.png
jira_server_toggle_status.png
jira_upload_app.png
keykloak_step1-768x347.png
keykloak_step2b-768x242.png
keykloak_step3-768x235.png
keykloak_step4-768x644.png
Logo_DarkBlue_Transparent_Horizontal.png
Logo_DarkBlue_Transparent_Portrait.png
Logo_White_Transparent_Horizontal.png
Logo_White_Transparent_Vertical.png
logo-inverted.png
logo.png
logo.svg
nav.jpg
new_context_field.png docs: update images using latest UI screenshots (#1992) 2022-09-14 07:59:18 +00:00
oidc-unleash.png
okta_add_application-768x345.png
okta_configure_saml2.0-768x832.png
okta_create_new_application-768x467.png
okta_setup-instructions-768x731.png
okta-oidc-configure.png
okta-oidc-create.png
okta-oidc-details.png
otovo.png
playground-detailed-results.png docs(#1873): Document the Unleash playground (#1901) 2022-08-12 12:17:25 +02:00
playground-form.png docs(#1873): Document the Unleash playground (#1901) 2022-08-12 12:17:25 +02:00
playground-results.png docs(#1873): Document the Unleash playground (#1901) 2022-08-12 12:17:25 +02:00
project_concept.png
project_main_menu.png
project_menu_item.png
project_select.png docs: update images using latest UI screenshots (#1992) 2022-09-14 07:59:18 +00:00
projects_button.png docs: update images using latest UI screenshots (#1992) 2022-09-14 07:59:18 +00:00
projects_change_project.png docs: update images using latest UI screenshots (#1992) 2022-09-14 07:59:18 +00:00
projects_delete_button.png docs: update images using latest UI screenshots (#1992) 2022-09-14 07:59:18 +00:00
projects_existing_toggle_dropdown.png docs: update images using latest UI screenshots (#1992) 2022-09-14 07:59:18 +00:00
projects_menu_button.png docs: update images using latest UI screenshots (#1992) 2022-09-14 07:59:18 +00:00
projects_menu_open.png
projects_menu.png docs: update images using latest UI screenshots (#1992) 2022-09-14 07:59:18 +00:00
projects_new_project.png docs: update images using latest UI screenshots (#1992) 2022-09-14 07:59:18 +00:00
projects_save_new_project.png docs: update images using latest UI screenshots (#1992) 2022-09-14 07:59:18 +00:00
projects_select_dropdown.png docs: update images using latest UI screenshots (#1992) 2022-09-14 07:59:18 +00:00
projects_toggle_project_dropdown.png docs: update images using latest UI screenshots (#1992) 2022-09-14 07:59:18 +00:00
proxy-hosting-all-unleash.svg
proxy-hosting-customer-multi.svg
proxy-hosting-customer-single.svg
proxy-hosting-unleash-api-customer-proxy.svg
public-invite_signup.png Docs/public signup (#2070) 2022-10-10 16:12:11 +03:00
public-invite_step2_signed_in.png Docs/public signup (#2070) 2022-10-10 16:12:11 +03:00
public-signup-step1.png Docs/public signup (#2070) 2022-10-10 16:12:11 +03:00
public-signup-step2.png Docs/public signup (#2070) 2022-10-10 16:12:11 +03:00
public-signup-step3-create_link.png Docs/public signup (#2070) 2022-10-10 16:12:11 +03:00
public-signup-step4_link_Created.png Docs/public signup (#2070) 2022-10-10 16:12:11 +03:00
rbac.png
remove-user-from-group-step-1.png docs: update group docs with new screenshots and requirements for users (#1910) 2022-08-11 14:01:32 +02:00
remove-user-from-group-step-2.png docs: update group docs with new screenshots and requirements for users (#1910) 2022-08-11 14:01:32 +02:00
reportcard.png docs: update images using latest UI screenshots (#1992) 2022-09-14 07:59:18 +00:00
reporting.png docs: update images using latest UI screenshots (#1992) 2022-09-14 07:59:18 +00:00
saml-2.0-unleash.png
segments-page.png docs: update images using latest UI screenshots (#1992) 2022-09-14 07:59:18 +00:00
service-account-1.png docs: service accounts (#2881) 2023-01-13 09:46:50 +00:00
service-account-2.png docs: service accounts (#2881) 2023-01-13 09:46:50 +00:00
service-account-3.png docs: service accounts (#2881) 2023-01-13 09:46:50 +00:00
service-account-4.png docs: service accounts (#2881) 2023-01-13 09:46:50 +00:00
service-account-5.png docs: service accounts (#2881) 2023-01-13 09:46:50 +00:00
service-account-6.png docs: service accounts (#2881) 2023-01-13 09:46:50 +00:00
service-account-table.png docs: service accounts (#2881) 2023-01-13 09:46:50 +00:00
service-account-tokens.png docs: service accounts (#2881) 2023-01-13 09:46:50 +00:00
setup-keycloak-sync-1.png docs: add documentation for user group syncing (#2314) 2022-11-03 14:59:12 +02:00
setup-keycloak-sync-2.png docs: add documentation for user group syncing (#2314) 2022-11-03 14:59:12 +02:00
setup-keycloak-sync-3.png docs: add documentation for user group syncing (#2314) 2022-11-03 14:59:12 +02:00
setup-keycloak-sync-4.png docs: add documentation for user group syncing (#2314) 2022-11-03 14:59:12 +02:00
setup-keycloak-sync-5.png docs: add documentation for user group syncing (#2314) 2022-11-03 14:59:12 +02:00
setup-keycloak-sync-6.png docs: add documentation for user group syncing (#2314) 2022-11-03 14:59:12 +02:00
setup-keycloak-sync-7.png docs: add documentation for user group syncing (#2314) 2022-11-03 14:59:12 +02:00
setup-keycloak-sync-8.png docs: add documentation for user group syncing (#2314) 2022-11-03 14:59:12 +02:00
setup-keycloak-sync-9.png docs: add documentation for user group syncing (#2314) 2022-11-03 14:59:12 +02:00
setup-keycloak-sync-10.png docs: add documentation for user group syncing (#2314) 2022-11-03 14:59:12 +02:00
setup-keycloak-sync-11.png docs: add documentation for user group syncing (#2314) 2022-11-03 14:59:12 +02:00
setup-keycloak-sync-12.png docs: add documentation for user group syncing (#2314) 2022-11-03 14:59:12 +02:00
setup-keycloak-sync-13.png docs: add documentation for user group syncing (#2314) 2022-11-03 14:59:12 +02:00
setup-keycloak-sync-14.png docs: add documentation for user group syncing (#2314) 2022-11-03 14:59:12 +02:00
setup-keycloak-sync-15.png docs: add documentation for user group syncing (#2314) 2022-11-03 14:59:12 +02:00
setup-sso-group-sync-1.png docs: add documentation for user group syncing (#2314) 2022-11-03 14:59:12 +02:00
setup-sso-group-sync-2.png docs: add documentation for user group syncing (#2314) 2022-11-03 14:59:12 +02:00
setup-sso-group-sync-3.png docs: add documentation for user group syncing (#2314) 2022-11-03 14:59:12 +02:00
setup-sso-group-sync-4.png docs: add documentation for user group syncing (#2314) 2022-11-03 14:59:12 +02:00
setup-sso-group-sync-5.png docs: add documentation for user group syncing (#2314) 2022-11-03 14:59:12 +02:00
sign-in-google.png
sign-in.png
slack_addon_tags.png docs: update images using latest UI screenshots (#1992) 2022-09-14 07:59:18 +00:00
sso-configure-saml.png docs: update images using latest UI screenshots (#1992) 2022-09-14 07:59:18 +00:00
sso-configure.png
sso-google-secret.png
sso-oidc-okta.png
sso-oidc-unleash.png
sso-oidc-verify.png
sso-oidc.png docs: update images using latest UI screenshots (#1992) 2022-09-14 07:59:18 +00:00
sso-saml-okta-edit.png
sso-saml-okta-signout-unleash.png
sso-saml-okta-signout-url.png
sso-saml-okta-signout.png
sso-saml-unleash.png
strategy_constraints.png
strategy-constraint-date-after.png fix: Update UI labeling: custom constraint -> (strategy) constraint (#2101) 2022-09-29 11:43:04 +02:00
strategy-constraints.png fix: Update UI labeling: custom constraint -> (strategy) constraint (#2101) 2022-09-29 11:43:04 +02:00
strategy-parameters-ui-controls.png fix: Update UI labeling: custom constraint -> (strategy) constraint (#2101) 2022-09-29 11:43:04 +02:00
Symbol_DarkBlue_Transparent.png
Symbol_DarkBlue_Transparent.svg
Symbol_White_Transparent.png
Symbol_White_Transparent.svg
timestamp_create_strategy.png docs: update images using latest UI screenshots (#1992) 2022-09-14 07:59:18 +00:00
timestamp_use_strategy.png docs: update images using latest UI screenshots (#1992) 2022-09-14 07:59:18 +00:00
toggle_type_icons.png docs: update images using latest UI screenshots (#1992) 2022-09-14 07:59:18 +00:00
togglelist.png docs: update images using latest UI screenshots (#1992) 2022-09-14 07:59:18 +00:00
undraw_docusaurus_mountain.svg
undraw_docusaurus_react.svg
undraw_docusaurus_tree.svg
unleash_logo.png
unleash-architecture.svg docs: update images using latest UI screenshots (#1992) 2022-09-14 07:59:18 +00:00
unleash-diagram.png
unleash-hosted.svg
unleash-logo-scaled.png
unleash-oss-logo-v2.png
unleash-toggle-history.png docs: update images using latest UI screenshots (#1992) 2022-09-14 07:59:18 +00:00
user_admin_add_user_modal.png docs: update images using latest UI screenshots (#1992) 2022-09-14 07:59:18 +00:00
user_admin_list_button.png docs: update images using latest UI screenshots (#1992) 2022-09-14 07:59:18 +00:00
user_admin-add-user.jpg docs: update images using latest UI screenshots (#1992) 2022-09-14 07:59:18 +00:00
userWithId_activation_strategy.png
variant-creation-form.png docs: update images using latest UI screenshots (#1992) 2022-09-14 07:59:18 +00:00
variants.png docs: update images using latest UI screenshots (#1992) 2022-09-14 07:59:18 +00:00