From 25079062a5947195c37a490ae4385276d2448321 Mon Sep 17 00:00:00 2001 From: brimoor Date: Thu, 20 Apr 2023 18:35:02 -0400 Subject: [PATCH 1/2] updating docs header/footer --- docs/source/_templates/layout.html | 51 ++++++++++++------------------ docs/source/conf.py | 4 +++ 2 files changed, 24 insertions(+), 31 deletions(-) diff --git a/docs/source/_templates/layout.html b/docs/source/_templates/layout.html index 7290ed1fe8..53906137e6 100644 --- a/docs/source/_templates/layout.html +++ b/docs/source/_templates/layout.html @@ -48,22 +48,28 @@ - - - - - @@ -137,9 +126,8 @@ @@ -155,6 +143,7 @@ FiftyOne FiftyOne Teams Use Cases + Success Stories diff --git a/docs/source/conf.py b/docs/source/conf.py index cebd2827cd..d5f10a5787 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -189,11 +189,15 @@ "link_fiftyone": "https://voxel51.com/fiftyone/", "link_fiftyone_teams": "https://voxel51.com/fiftyone-teams/", "link_usecases": "https://voxel51.com/computer-vision-use-cases/", + "link_success_stories": "https://voxel51.com/success-stories/", + "link_talk_to_sales": "https://voxel51.com/talk-to-sales/", + "link_workshop": "https://voxel51.com/schedule-teams-workshop/", "link_fiftyone_tutorials": "https://docs.voxel51.com/tutorials/index.html", "link_fiftyone_examples": "https://github.com/voxel51/fiftyone-examples", "link_fiftyone_quickstart": "https://colab.research.google.com/github/voxel51/fiftyone-examples/blob/master/examples/quickstart.ipynb", "link_home": "https://voxel51.com/", "link_ourstory": "https://voxel51.com/ourstory/", + "link_events": "https://voxel51.com/computer-vision-events/", "link_voxel51_jobs": "https://voxel51.com/jobs/", "link_press": "https://voxel51.com/press/", "link_privacypolicy": "https://voxel51.com/privacy/", From 01ac6ef5e9f7d82b5da3951cefe7bf6fb2bcdb1d Mon Sep 17 00:00:00 2001 From: brimoor Date: Thu, 20 Apr 2023 19:04:05 -0400 Subject: [PATCH 2/2] adding github star widget --- docs/source/_static/css/custom.css | 6 +++++- docs/source/_templates/layout.html | 16 ++++++++++++---- 2 files changed, 17 insertions(+), 5 deletions(-) diff --git a/docs/source/_static/css/custom.css b/docs/source/_static/css/custom.css index 03ac1880ce..b6016a2b56 100644 --- a/docs/source/_static/css/custom.css +++ b/docs/source/_static/css/custom.css @@ -345,13 +345,17 @@ article.pytorch-article .reference.download.internal { padding: 0 10px; } +#octocat { + margin-top: 0.6rem; +} + .nav__main .fa-header-icon { font-size: 25px; } .nav__dropdown__menu { z-index: 201; - min-width: 9.5rem; + min-width: 10rem; height: fit-content; margin-top: -1.5rem; padding: 0.7rem; diff --git a/docs/source/_templates/layout.html b/docs/source/_templates/layout.html index 53906137e6..c02a5c85f7 100644 --- a/docs/source/_templates/layout.html +++ b/docs/source/_templates/layout.html @@ -93,10 +93,15 @@ + + +