From 80223a5e41e0b9827f18a2e113996cd9b1c6b8ee Mon Sep 17 00:00:00 2001 From: Anton Korzhuk Date: Mon, 1 Aug 2022 12:57:51 -0400 Subject: [PATCH] replace inline svgs with svg icon_path (#3332) --- docs/images/icons/art-pad.svg | 1 + docs/images/icons/contributing.svg | 1 + docs/images/icons/docker.svg | 1 + docs/images/icons/generic.svg | 1 + docs/images/icons/home.svg | 1 + docs/images/icons/layers.svg | 1 + docs/images/icons/picture.svg | 1 + docs/images/icons/protractor.svg | 1 + docs/images/icons/secrets.svg | 1 + docs/images/icons/star.svg | 1 + docs/images/icons/terminal.svg | 1 + docs/images/icons/users.svg | 1 + docs/images/icons/wrench.svg | 1 + docs/manifest.json | 26 +++++++++++++------------- 14 files changed, 26 insertions(+), 13 deletions(-) create mode 100644 docs/images/icons/art-pad.svg create mode 100644 docs/images/icons/contributing.svg create mode 100644 docs/images/icons/docker.svg create mode 100644 docs/images/icons/generic.svg create mode 100644 docs/images/icons/home.svg create mode 100644 docs/images/icons/layers.svg create mode 100644 docs/images/icons/picture.svg create mode 100644 docs/images/icons/protractor.svg create mode 100644 docs/images/icons/secrets.svg create mode 100644 docs/images/icons/star.svg create mode 100644 docs/images/icons/terminal.svg create mode 100644 docs/images/icons/users.svg create mode 100644 docs/images/icons/wrench.svg diff --git a/docs/images/icons/art-pad.svg b/docs/images/icons/art-pad.svg new file mode 100644 index 0000000000..19eeaf768a --- /dev/null +++ b/docs/images/icons/art-pad.svg @@ -0,0 +1 @@ + diff --git a/docs/images/icons/contributing.svg b/docs/images/icons/contributing.svg new file mode 100644 index 0000000000..c814591e1c --- /dev/null +++ b/docs/images/icons/contributing.svg @@ -0,0 +1 @@ + diff --git a/docs/images/icons/docker.svg b/docs/images/icons/docker.svg new file mode 100644 index 0000000000..befe6f42c4 --- /dev/null +++ b/docs/images/icons/docker.svg @@ -0,0 +1 @@ + diff --git a/docs/images/icons/generic.svg b/docs/images/icons/generic.svg new file mode 100644 index 0000000000..4a2ab59ecc --- /dev/null +++ b/docs/images/icons/generic.svg @@ -0,0 +1 @@ + diff --git a/docs/images/icons/home.svg b/docs/images/icons/home.svg new file mode 100644 index 0000000000..5e2dc96ff5 --- /dev/null +++ b/docs/images/icons/home.svg @@ -0,0 +1 @@ + diff --git a/docs/images/icons/layers.svg b/docs/images/icons/layers.svg new file mode 100644 index 0000000000..9579a30080 --- /dev/null +++ b/docs/images/icons/layers.svg @@ -0,0 +1 @@ + diff --git a/docs/images/icons/picture.svg b/docs/images/icons/picture.svg new file mode 100644 index 0000000000..c272605eae --- /dev/null +++ b/docs/images/icons/picture.svg @@ -0,0 +1 @@ + diff --git a/docs/images/icons/protractor.svg b/docs/images/icons/protractor.svg new file mode 100644 index 0000000000..3c6e59c30d --- /dev/null +++ b/docs/images/icons/protractor.svg @@ -0,0 +1 @@ + diff --git a/docs/images/icons/secrets.svg b/docs/images/icons/secrets.svg new file mode 100644 index 0000000000..fe81c37329 --- /dev/null +++ b/docs/images/icons/secrets.svg @@ -0,0 +1 @@ + diff --git a/docs/images/icons/star.svg b/docs/images/icons/star.svg new file mode 100644 index 0000000000..4534593e05 --- /dev/null +++ b/docs/images/icons/star.svg @@ -0,0 +1 @@ + diff --git a/docs/images/icons/terminal.svg b/docs/images/icons/terminal.svg new file mode 100644 index 0000000000..1a4db5c847 --- /dev/null +++ b/docs/images/icons/terminal.svg @@ -0,0 +1 @@ + diff --git a/docs/images/icons/users.svg b/docs/images/icons/users.svg new file mode 100644 index 0000000000..cdcde76732 --- /dev/null +++ b/docs/images/icons/users.svg @@ -0,0 +1 @@ + diff --git a/docs/images/icons/wrench.svg b/docs/images/icons/wrench.svg new file mode 100644 index 0000000000..b4c9e1dfd8 --- /dev/null +++ b/docs/images/icons/wrench.svg @@ -0,0 +1 @@ + diff --git a/docs/manifest.json b/docs/manifest.json index 2b34994270..23be4a66d8 100644 --- a/docs/manifest.json +++ b/docs/manifest.json @@ -9,12 +9,12 @@ "title": "About", "description": "About Coder", "path": "./README.md", - "icon": "", + "icon_path": "./images/icons/home.svg", "children": [ { "title": "Architecture", "description": "Learn how Coder works", - "icon": "<\/g><\/g><\/g><\/svg>", + "icon_path": "./images/icons/protractor.svg", "path": "./architecture.md" } ] @@ -22,7 +22,7 @@ { "title": "Installation", "description": "How to install and deploy Coder", - "icon": "", + "icon_path": "./images/icons/wrench.svg", "path": "./install.md", "children": [ { @@ -35,19 +35,19 @@ { "title": "Quickstart", "description": "Create your first template and workspace", - "icon": "", + "icon_path": "./images/icons/star.svg", "path": "./quickstart.md", "children": [ { "title": "Docker", "description": "Setup Coder with Docker", - "icon": "<\/svg>", + "icon_path": "./images/icons/docker.svg", "path": "./quickstart/docker.md" }, { "title": "Generic", "description": "Setup Coder on anything", - "icon": "<\/ellipse><\/ellipse><\/path><\/path><\/path><\/path><\/svg>", + "icon_path": "./images/icons/generic.svg", "path": "./quickstart/generic.md" } ] @@ -56,7 +56,7 @@ "title": "Templates", "description": "Learn about templates, which define the infrastructure underlying workspaces", "path": "./templates.md", - "icon": " ", + "icon_path": "./images/icons/picture.svg", "children": [ { "title": "Provider Authentication", @@ -68,14 +68,14 @@ { "title": "Workspaces", "description": "Learn about Coder workspaces.", - "icon": "\n\n\n", + "icon_path": "./images/icons/layers.svg", "path": "./workspaces.md" }, { "title": "IDEs", "description": "Learn how to use your IDE of choice with Coder", "path": "./ides.md", - "icon": "\n\n\n", + "icon_path": "./images/icons/terminal.svg", "children": [ { "title": "Configuring Web IDEs", @@ -92,25 +92,25 @@ { "title": "Dotfiles", "description": "Learn how to personalize your workspace", - "icon": "<\/g><\/g><\/svg>", + "icon_path": "./images/icons/art-pad.svg", "path": "./dotfiles.md" }, { "title": "Secrets", "description": "Learn how to use secrets in your worskpace", - "icon": "<\/svg>", + "icon_path": "./images/icons/secrets.svg", "path": "./secrets.md" }, { "title": "User Management", "description": "Learn about user roles available in Coder and how to create and manage users", - "icon": "<\/svg>", + "icon_path": "./images/icons/users.svg", "path": "./users.md" }, { "title": "Contributing", "description": "Learn how to contribute to Coder", - "icon": "", + "icon_path": "./images/icons/contributing.svg", "path": "./CONTRIBUTING.md", "children": [ {