From b2ed6b84617b2b63ef2df7ab8e037069bda1c8ff Mon Sep 17 00:00:00 2001 From: Anton Korzhuk Date: Mon, 1 Aug 2022 16:20:39 -0400 Subject: [PATCH] replace inline svgs with icon_path (#5395) Co-authored-by: Joe Previte --- docs/assets/images/icons/collab.svg | 1 + docs/assets/images/icons/contributing.svg | 1 + docs/assets/images/icons/faq.svg | 1 + docs/assets/images/icons/home.svg | 1 + docs/assets/images/icons/requirements.svg | 1 + docs/assets/images/icons/upgrade.svg | 1 + docs/assets/images/icons/usage.svg | 1 + docs/assets/images/icons/wrench.svg | 1 + docs/manifest.json | 16 ++++++++-------- 9 files changed, 16 insertions(+), 8 deletions(-) create mode 100644 docs/assets/images/icons/collab.svg create mode 100644 docs/assets/images/icons/contributing.svg create mode 100644 docs/assets/images/icons/faq.svg create mode 100644 docs/assets/images/icons/home.svg create mode 100644 docs/assets/images/icons/requirements.svg create mode 100644 docs/assets/images/icons/upgrade.svg create mode 100644 docs/assets/images/icons/usage.svg create mode 100644 docs/assets/images/icons/wrench.svg diff --git a/docs/assets/images/icons/collab.svg b/docs/assets/images/icons/collab.svg new file mode 100644 index 000000000..239666a99 --- /dev/null +++ b/docs/assets/images/icons/collab.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/docs/assets/images/icons/contributing.svg b/docs/assets/images/icons/contributing.svg new file mode 100644 index 000000000..c814591e1 --- /dev/null +++ b/docs/assets/images/icons/contributing.svg @@ -0,0 +1 @@ + diff --git a/docs/assets/images/icons/faq.svg b/docs/assets/images/icons/faq.svg new file mode 100644 index 000000000..a3e196d29 --- /dev/null +++ b/docs/assets/images/icons/faq.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/docs/assets/images/icons/home.svg b/docs/assets/images/icons/home.svg new file mode 100644 index 000000000..0f7bee254 --- /dev/null +++ b/docs/assets/images/icons/home.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/docs/assets/images/icons/requirements.svg b/docs/assets/images/icons/requirements.svg new file mode 100644 index 000000000..c3888f902 --- /dev/null +++ b/docs/assets/images/icons/requirements.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/docs/assets/images/icons/upgrade.svg b/docs/assets/images/icons/upgrade.svg new file mode 100644 index 000000000..28c35752f --- /dev/null +++ b/docs/assets/images/icons/upgrade.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/docs/assets/images/icons/usage.svg b/docs/assets/images/icons/usage.svg new file mode 100644 index 000000000..da784295b --- /dev/null +++ b/docs/assets/images/icons/usage.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/docs/assets/images/icons/wrench.svg b/docs/assets/images/icons/wrench.svg new file mode 100644 index 000000000..acca9b761 --- /dev/null +++ b/docs/assets/images/icons/wrench.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/docs/manifest.json b/docs/manifest.json index 278aaf5e6..886340b23 100644 --- a/docs/manifest.json +++ b/docs/manifest.json @@ -5,18 +5,18 @@ "title": "Home", "description": "Learn how to install and run code-server.", "path": "./README.md", - "icon": "" + "icon_path": "assets/images/icons/home.svg" }, { "title": "Requirements", "description": "Learn about what you need to run code-server.", - "icon": "", + "icon_path": "assets/images/icons/requirements.svg", "path": "./requirements.md" }, { "title": "Install", "description": "How to install code-server.", - "icon": "", + "icon_path": "assets/images/icons/wrench.svg", "path": "./install.md", "children": [ { @@ -34,7 +34,7 @@ { "title": "Usage", "description": "How to set up and use code-server.", - "icon": "", + "icon_path": "assets/images/icons/usage.svg", "path": "./guide.md", "children": [ { @@ -67,25 +67,25 @@ { "title": "Collaboration", "description": "How to setup real time collaboration using code server.", - "icon": " ", + "icon_path": "assets/images/icons/collab.svg", "path": "./collaboration.md" }, { "title": "Upgrade", "description": "How to upgrade code-server.", - "icon": "", + "icon_path": "assets/images/icons/upgrade.svg", "path": "./upgrade.md" }, { "title": "FAQ", "description": "Frequently asked questions on installing and running code-server.", - "icon": "", + "icon_path": "assets/images/icons/faq.svg", "path": "./FAQ.md" }, { "title": "Contributing", "description": "How to contribute to code-server.", - "icon": "", + "icon_path": "assets/images/icons/contributing.svg", "path": "./CONTRIBUTING.md", "children": [ {