You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by ob...@apache.org on 2023/11/08 22:38:19 UTC

(streampipes-website) branch improved-website updated (39ca35fa4 -> 16bb54b53)

This is an automated email from the ASF dual-hosted git repository.

obermeier pushed a change to branch improved-website
in repository https://gitbox.apache.org/repos/asf/streampipes-website.git


    from 39ca35fa4 Fix some links
     new 4e2939fda Add social media icons
     new 623a3b68f Fix deployment setup
     new 89858a14e Fix python links on homepage
     new 91c0582cc Fix build steps
     new 1d20ce325 Add missing logo
     new 16bb54b53 Use static link for Python docs

The 6 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .github/workflows/deploy-website.yml               |  15 +++++++-------
 website-v2/docusaurus.config.js                    |   2 +-
 .../src/components/home/LovedByDevelopers.tsx      |   4 ++--
 website-v2/src/navbar/navbar.js                    |   8 +++----
 website-v2/static/css/custom.css                   |  23 +++++++++++++++++++++
 website-v2/static/img/sp-logo-color-docs.png       | Bin 32257 -> 0 bytes
 website-v2/static/img/sp-logo-right-white.png      | Bin 21453 -> 0 bytes
 website-v2/static/img/sp-logo-white-right.png      | Bin 0 -> 19196 bytes
 8 files changed, 37 insertions(+), 15 deletions(-)
 delete mode 100644 website-v2/static/img/sp-logo-color-docs.png
 delete mode 100644 website-v2/static/img/sp-logo-right-white.png
 create mode 100644 website-v2/static/img/sp-logo-white-right.png


(streampipes-website) 04/06: Fix build steps

Posted by ob...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

obermeier pushed a commit to branch improved-website
in repository https://gitbox.apache.org/repos/asf/streampipes-website.git

commit 91c0582ccf79a4e04ec5f1b91b3c8ddfe1d68bec
Author: Dominik Riemer <do...@gmail.com>
AuthorDate: Wed Jul 19 13:50:29 2023 +0200

    Fix build steps
---
 .github/workflows/deploy-website.yml | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/.github/workflows/deploy-website.yml b/.github/workflows/deploy-website.yml
index e44ee8295..e5c223f21 100644
--- a/.github/workflows/deploy-website.yml
+++ b/.github/workflows/deploy-website.yml
@@ -14,17 +14,17 @@ jobs:
         uses: actions/setup-node@v1
         with:
           node-version: 18.16.1
+      - name: Build Docs
+        run: |
+          cd website-v2
+          npm install
+          npm run build
       - name: Copy asf yaml
         run: |
           cp .asf.yaml website-v2/build/
       - name: Copy htaccess
         run: |
           cp .htaccess website-v2/build/
-      - name: Build Docs
-        run: |
-          cd website-v2
-          npm install
-          npm run build
       - name: Copy Python docs
         run: |
           mkdir -p ./website-v2/build/docs/docs/python


(streampipes-website) 02/06: Fix deployment setup

Posted by ob...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

obermeier pushed a commit to branch improved-website
in repository https://gitbox.apache.org/repos/asf/streampipes-website.git

commit 623a3b68f97af0cd1d6dc98cc868959fe7924506
Author: Dominik Riemer <do...@gmail.com>
AuthorDate: Wed Jul 19 13:28:29 2023 +0200

    Fix deployment setup
---
 .github/workflows/deploy-website.yml | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/deploy-website.yml b/.github/workflows/deploy-website.yml
index efaef3397..e44ee8295 100644
--- a/.github/workflows/deploy-website.yml
+++ b/.github/workflows/deploy-website.yml
@@ -16,19 +16,18 @@ jobs:
           node-version: 18.16.1
       - name: Copy asf yaml
         run: |
-          cp .asf.yaml build/
+          cp .asf.yaml website-v2/build/
       - name: Copy htaccess
         run: |
-          cp .htaccess build/
+          cp .htaccess website-v2/build/
       - name: Build Docs
         run: |
-          mkdir build/docs
           cd website-v2
           npm install
           npm run build
       - name: Copy Python docs
         run: |
-          mkdir -p ./website-v2/build/python
+          mkdir -p ./website-v2/build/docs/docs/python
           cp -r docs-python/* ./website-v2/build/docs/docs/python
       - name: Deploy
         uses: peaceiris/actions-gh-pages@v2.4.0


(streampipes-website) 03/06: Fix python links on homepage

Posted by ob...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

obermeier pushed a commit to branch improved-website
in repository https://gitbox.apache.org/repos/asf/streampipes-website.git

commit 89858a14e80e222e765c8d164dee72489e4d04b4
Author: Dominik Riemer <do...@gmail.com>
AuthorDate: Wed Jul 19 13:48:07 2023 +0200

    Fix python links on homepage
---
 website-v2/src/components/home/LovedByDevelopers.tsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/website-v2/src/components/home/LovedByDevelopers.tsx b/website-v2/src/components/home/LovedByDevelopers.tsx
index 6ec0fceee..6597a95f7 100644
--- a/website-v2/src/components/home/LovedByDevelopers.tsx
+++ b/website-v2/src/components/home/LovedByDevelopers.tsx
@@ -51,7 +51,7 @@ const LovedByDevelopers = (props) => (
             <p className={"text-left"}>And of course, you can also just use the provided REST interface!</p>
 
             <div>
-              <a href="/docs/python" className="sp-button sp-button-medium sp-button-blue"><i
+              <a href="/docs/docs/python" className="sp-button sp-button-medium sp-button-blue"><i
                 className="fas fa-hand-point-right"></i> Python Client</a>
             </div>
           </Subsection>
@@ -67,7 +67,7 @@ const LovedByDevelopers = (props) => (
               StreamPipes.
             </p>
             <div>
-              <a href="/docs/python/latest/tutorials/4-using-online-machine-learning-on-a-streampipes-data-stream" className="sp-button sp-button-medium sp-button-blue"><i
+              <a href="/docs/docs/python/latest/tutorials/4-using-online-machine-learning-on-a-streampipes-data-stream" className="sp-button sp-button-medium sp-button-blue"><i
                 className="fas fa-hand-point-right"></i> Online ML with StreamPipes</a>
             </div>
           </Subsection>


(streampipes-website) 05/06: Add missing logo

Posted by ob...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

obermeier pushed a commit to branch improved-website
in repository https://gitbox.apache.org/repos/asf/streampipes-website.git

commit 1d20ce325e211d6405fcad4292276214db32feed
Author: Dominik Riemer <do...@gmail.com>
AuthorDate: Wed Jul 19 14:09:33 2023 +0200

    Add missing logo
---
 website-v2/src/navbar/navbar.js               |   2 +-
 website-v2/static/img/sp-logo-color-docs.png  | Bin 32257 -> 0 bytes
 website-v2/static/img/sp-logo-right-white.png | Bin 21453 -> 0 bytes
 website-v2/static/img/sp-logo-white-right.png | Bin 0 -> 19196 bytes
 4 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/website-v2/src/navbar/navbar.js b/website-v2/src/navbar/navbar.js
index f3010da2e..995f97267 100644
--- a/website-v2/src/navbar/navbar.js
+++ b/website-v2/src/navbar/navbar.js
@@ -13,7 +13,7 @@ module.exports = [
         "label": "Apache StreamPipes - User Guide",
       },
       {
-        "to": "docs/docs/python",
+        "to": "/docs/docs/python/latest/",
         "label": "Apache StreamPipes - Python",
       },
       {
diff --git a/website-v2/static/img/sp-logo-color-docs.png b/website-v2/static/img/sp-logo-color-docs.png
deleted file mode 100644
index cca3cd847..000000000
Binary files a/website-v2/static/img/sp-logo-color-docs.png and /dev/null differ
diff --git a/website-v2/static/img/sp-logo-right-white.png b/website-v2/static/img/sp-logo-right-white.png
deleted file mode 100644
index ff2eb7c41..000000000
Binary files a/website-v2/static/img/sp-logo-right-white.png and /dev/null differ
diff --git a/website-v2/static/img/sp-logo-white-right.png b/website-v2/static/img/sp-logo-white-right.png
new file mode 100644
index 000000000..35ee8aa9e
Binary files /dev/null and b/website-v2/static/img/sp-logo-white-right.png differ


(streampipes-website) 06/06: Use static link for Python docs

Posted by ob...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

obermeier pushed a commit to branch improved-website
in repository https://gitbox.apache.org/repos/asf/streampipes-website.git

commit 16bb54b5359f91650b466512cda2cc9db1e5b5ef
Author: Dominik Riemer <do...@gmail.com>
AuthorDate: Wed Jul 19 14:18:13 2023 +0200

    Use static link for Python docs
---
 website-v2/src/navbar/navbar.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/website-v2/src/navbar/navbar.js b/website-v2/src/navbar/navbar.js
index 995f97267..c58215aa4 100644
--- a/website-v2/src/navbar/navbar.js
+++ b/website-v2/src/navbar/navbar.js
@@ -13,7 +13,7 @@ module.exports = [
         "label": "Apache StreamPipes - User Guide",
       },
       {
-        "to": "/docs/docs/python/latest/",
+        "to": "https://streampipes.apache.org/docs/docs/python/latest/",
         "label": "Apache StreamPipes - Python",
       },
       {


(streampipes-website) 01/06: Add social media icons

Posted by ob...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

obermeier pushed a commit to branch improved-website
in repository https://gitbox.apache.org/repos/asf/streampipes-website.git

commit 4e2939fdaa75befeb75c4500a8d1573aca75c15c
Author: Dominik Riemer <do...@gmail.com>
AuthorDate: Wed Jul 19 13:10:57 2023 +0200

    Add social media icons
---
 website-v2/docusaurus.config.js  |  2 +-
 website-v2/src/navbar/navbar.js  |  6 +++---
 website-v2/static/css/custom.css | 23 +++++++++++++++++++++++
 3 files changed, 27 insertions(+), 4 deletions(-)

diff --git a/website-v2/docusaurus.config.js b/website-v2/docusaurus.config.js
index 23ea22b21..1f7ed5fab 100644
--- a/website-v2/docusaurus.config.js
+++ b/website-v2/docusaurus.config.js
@@ -99,7 +99,7 @@ module.exports = {
       textColor: 'white',
       isCloseable: false,
       content:
-          '\u{1F914} Apache StreamPipes 0.92.0 is available! ⭐️',
+          'Apache StreamPipes 0.92.0 is available! ⭐️',
     },
     "image": "img/favicon.png",
     "footer": {
diff --git a/website-v2/src/navbar/navbar.js b/website-v2/src/navbar/navbar.js
index 112cfd77a..f3010da2e 100644
--- a/website-v2/src/navbar/navbar.js
+++ b/website-v2/src/navbar/navbar.js
@@ -109,19 +109,19 @@ module.exports = [
   {
     href: "https://github.com/apache/streampipes",
     position: "right",
-    className: "header-github-link",
+    className: "header-link h-github",
     "aria-label": "Apache StreamPipes Github",
   },
   {
     href: "https://linkedin.com/company/apache-streampipes",
     position: "right",
-    className: "header-github-link",
+    className: "header-link h-linkedin",
     "aria-label": "Apache StreamPipes LinkedIn",
   },
   {
     href: "https://twitter.com/streampipes",
     position: "right",
-    className: "header-github-link",
+    className: "header-link h-twitter",
     "aria-label": "Apache StreamPipes Twitter",
   },
 ];
diff --git a/website-v2/static/css/custom.css b/website-v2/static/css/custom.css
index 49e004eed..10a4a3aea 100644
--- a/website-v2/static/css/custom.css
+++ b/website-v2/static/css/custom.css
@@ -475,3 +475,26 @@ p {
 .slide-thumb-active {
     border: 2px solid var(--color-primary);
 }
+
+.header-link:hover {
+    opacity: 0.6;
+}
+
+.header-link:before {
+    content: "";
+    display: flex;
+    height: 24px;
+    width: 24px;
+}
+
+.h-github:before {
+    background: url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.1 [...]
+}
+
+.h-twitter:before {
+    background: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBkPSJNMjQgNC41NTdjLS44ODMuMzkyLTEuODMyLjY1Ni0yLjgyOC43NzUgMS4wMTctLjYwOSAxLjc5OC0xLjU3NCAyLjE2NS0yLjcyNC0uOTUxLjU2NC0yLjAwNS45NzQtMy4xMjcgMS4xOTUtLjg5Ny0uOTU3LTIuMTc4LTEuNTU1LTMuNTk0LTEuNTU1LTMuMTc5IDAtNS41MTUgMi45NjYtNC43OTcgNi4wNDUtNC4wOTEtLjIwNS03LjcxOS0yLjE2NS0xMC4xNDgtNS4xNDQtMS4yOSAyLjIxMy0uNjY5IDUuMTA4IDEuNTIzIDYuNTc0L [...]
+}
+
+.h-linkedin:before {
+    background: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBkPSJNMTkgMGgtMTRjLTIuNzYxIDAtNSAyLjIzOS01IDV2MTRjMCAyLjc2MSAyLjIzOSA1IDUgNWgxNGMyLjc2MiAwIDUtMi4yMzkgNS01di0xNGMwLTIuNzYxLTIuMjM4LTUtNS01em0tMTEgMTloLTN2LTExaDN2MTF6bS0xLjUtMTIuMjY4Yy0uOTY2IDAtMS43NS0uNzktMS43NS0xLjc2NHMuNzg0LTEuNzY0IDEuNzUtMS43NjQgMS43NS43OSAxLjc1IDEuNzY0LS43ODMgMS43NjQtMS43NSAxLjc2NHptMTMuNSAxMi4yNjhoLTN2L [...]
+}