From b056647e6bcade7e0d2e13e3a2e53f8bba521ee2 Mon Sep 17 00:00:00 2001
From: Yuwen Hu
Date: Fri, 14 Oct 2022 09:27:54 +0800
Subject: [PATCH 1/3] Restyle link card component
---
docs/readthedocs/source/_static/css/custom.css | 4 ++++
docs/readthedocs/source/doc/UserGuide/index.rst | 8 ++++++++
2 files changed, 12 insertions(+)
diff --git a/docs/readthedocs/source/_static/css/custom.css b/docs/readthedocs/source/_static/css/custom.css
index 1c566ed7f82..69d88e995d0 100644
--- a/docs/readthedocs/source/_static/css/custom.css
+++ b/docs/readthedocs/source/_static/css/custom.css
@@ -34,4 +34,8 @@ html[data-theme="light"] {
.bd-content .sd-card .sd-card-header{
background-color: var(--pst-color-info-tiny-opacity);
border: none;
+}
+
+.bigdl-link-card:hover{
+ border-left: .2rem solid var(--pst-color-info);
}
\ No newline at end of file
diff --git a/docs/readthedocs/source/doc/UserGuide/index.rst b/docs/readthedocs/source/doc/UserGuide/index.rst
index 4d0ffa1de74..069020dbb0d 100644
--- a/docs/readthedocs/source/doc/UserGuide/index.rst
+++ b/docs/readthedocs/source/doc/UserGuide/index.rst
@@ -6,41 +6,49 @@ User Guide
.. grid-item-card:: :fab:`python` Python User Guide
:link: python.html
+ :class-card: bigdl-link-card
Python Environment Setup Guide (Linux), applicable to Orca, Nano, DLlib, Chronos, Friesian.
.. grid-item-card:: :fas:`server` Scala User Guide
:link: scala.html
+ :class-card: bigdl-link-card
Scala Environment Setup Guide (Linux), applicable to DLLib.
.. grid-item-card:: :fab:`windows` Windows User Guide
:link: win.html
+ :class-card: bigdl-link-card
Use BigDL on Windows.
.. grid-item-card:: :fas:`desktop` Docker User Guide
:link: docker.html
+ :class-card: bigdl-link-card
Use BigDL in docker Environment.
.. grid-item-card:: :fas:`cloud-arrow-up` Colab User Guide
:link: colab.html
+ :class-card: bigdl-link-card
Use BigDL in Google Colab Environment.
.. grid-item-card:: :fas:`cloud` Databricks User Guide
:link: databricks.html
+ :class-card: bigdl-link-card
Use BigDL in Databricks Environment.
.. grid-item-card:: :fas:`cloud` Hadoop/YARN User Guide
:link: hadoop.html
+ :class-card: bigdl-link-card
Use BigDL in Hadoop/YARN Environment.
.. grid-item-card:: :fas:`cloud` k8s User Guide
:link: k8s.html
+ :class-card: bigdl-link-card
Use BigDL in K8s Environment.
From 053ed0c06bcb2f0ed9dd6cacdaa8617617e31bd8 Mon Sep 17 00:00:00 2001
From: Yuwen Hu
Date: Fri, 14 Oct 2022 09:46:45 +0800
Subject: [PATCH 2/3] Style video frames in PPML sections
---
.../readthedocs/source/doc/PPML/Overview/intro.md | 7 +------
.../source/doc/PPML/QuickStart/end-to-end.md | 15 ++-------------
2 files changed, 3 insertions(+), 19 deletions(-)
diff --git a/docs/readthedocs/source/doc/PPML/Overview/intro.md b/docs/readthedocs/source/doc/PPML/Overview/intro.md
index 6a279b39136..99b2e02a1f8 100644
--- a/docs/readthedocs/source/doc/PPML/Overview/intro.md
+++ b/docs/readthedocs/source/doc/PPML/Overview/intro.md
@@ -2,12 +2,7 @@
## 1. What is BigDL PPML?
-
-
+
---
diff --git a/docs/readthedocs/source/doc/PPML/QuickStart/end-to-end.md b/docs/readthedocs/source/doc/PPML/QuickStart/end-to-end.md
index 5596a385744..3acbd242bff 100644
--- a/docs/readthedocs/source/doc/PPML/QuickStart/end-to-end.md
+++ b/docs/readthedocs/source/doc/PPML/QuickStart/end-to-end.md
@@ -9,13 +9,7 @@ In this section we take SimpleQuery as an example to go through the entire BigDL
-
-
-
+
---
@@ -178,9 +172,4 @@ When the job is done, you can decrypt and read result of the job. More details i
## Video Demo
-
-
+
\ No newline at end of file
From 6f6b2921004ec73bbce3551a9b3cc7e2766908f5 Mon Sep 17 00:00:00 2001
From: Yuwen Hu
Date: Fri, 14 Oct 2022 10:12:12 +0800
Subject: [PATCH 3/3] Adjust Nano landing page
---
docs/readthedocs/source/doc/Nano/index.rst | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/readthedocs/source/doc/Nano/index.rst b/docs/readthedocs/source/doc/Nano/index.rst
index 2e4e4b87c63..2b5e80b0357 100644
--- a/docs/readthedocs/source/doc/Nano/index.rst
+++ b/docs/readthedocs/source/doc/Nano/index.rst
@@ -30,8 +30,8 @@ BigDL-Nano
+++
- PyTorch :bdg-link:`Infer <./Overview/pytorch_inference.html>`:bdg-link:`Train <./Overview/pytorch_train.html>` |
- TF2 :bdg-link:`Infer <./Overview/tensorflow_inference.html>`:bdg-link:`Train <./Overview/tensorflow_train.html>`
+ :bdg-link:`PyTorch Infer <./Overview/pytorch_inference.html>`:bdg-link:`Train <./Overview/pytorch_train.html>` |
+ :bdg-link:`TensorFlow Infer <./Overview/tensorflow_inference.html>`:bdg-link:`Train <./Overview/tensorflow_train.html>`
.. grid-item-card::