From 37a2c55ab00581f0a06ed0e9a897807991272f0b Mon Sep 17 00:00:00 2001 From: Anton Korzhuk Date: Mon, 1 Aug 2022 06:13:53 -0400 Subject: [PATCH 1/2] replace inline svgs with icon_path --- 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 000000000000..239666a993bf --- /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 000000000000..c814591e1c7f --- /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 000000000000..a3e196d298a9 --- /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 000000000000..0f7bee254cd3 --- /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 000000000000..c3888f90274f --- /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 000000000000..28c35752f201 --- /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 000000000000..da784295b47f --- /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 000000000000..acca9b7614a1 --- /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 278aaf5e6b7b..886340b236b6 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": [ { From fde44d9e59792770e9fabfe35bb50f10d5140d77 Mon Sep 17 00:00:00 2001 From: Anton Korzhuk Date: Thu, 11 Aug 2022 07:57:47 -0400 Subject: [PATCH 2/2] minor fix to sidebar icons --- docs/assets/images/icons/upgrade.svg | 5 ++++- docs/assets/images/icons/usage.svg | 4 +++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/docs/assets/images/icons/upgrade.svg b/docs/assets/images/icons/upgrade.svg index 28c35752f201..d1c448a7c6db 100644 --- a/docs/assets/images/icons/upgrade.svg +++ b/docs/assets/images/icons/upgrade.svg @@ -1 +1,4 @@ - \ No newline at end of file + + + + diff --git a/docs/assets/images/icons/usage.svg b/docs/assets/images/icons/usage.svg index da784295b47f..cecdd11da98a 100644 --- a/docs/assets/images/icons/usage.svg +++ b/docs/assets/images/icons/usage.svg @@ -1 +1,3 @@ - \ No newline at end of file + + +