Skip to content

Commit

Permalink
ultralytics 8.2.75 new Docs author profiles (ultralytics#15050)
Browse files Browse the repository at this point in the history
Signed-off-by: Glenn Jocher <[email protected]>
  • Loading branch information
glenn-jocher authored Aug 9, 2024
1 parent 1523fa1 commit 24c6bbf
Show file tree
Hide file tree
Showing 5 changed files with 67 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/mkdocs_github_authors.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
[email protected]: Laughing-q
[email protected]: IvorZhu331
[email protected]: UltralyticsAssistant
[email protected]: null
[email protected]: YOLOv5-Magic
[email protected]: ouphi
[email protected]: maianumerosky
[email protected]: fcakyon
Expand Down
63 changes: 63 additions & 0 deletions docs/overrides/stylesheets/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -102,3 +102,66 @@ div.highlight {
}
}
/* Banner (same as the one on the Ultralytics website) -------------------------------------------------------------- */


/* MkDocs Ultralytics Plugin ---------------------------------------------------------------------------------------- */
.git-info, .share-buttons {
font-size: 0.8em;
color: grey;
display: flex;
align-items: center;
justify-content: flex-end;
margin-bottom: 10px;
}
.dates {
display: flex;
align-items: center;
}
.dates span, .author-link, .share-button {
cursor: pointer;
display: flex;
align-items: center;
}
.dates span {
margin-right: 10px;
}
.hover-item {
transition: all 0.2s ease;
filter: grayscale(100%);
}
.dates .hover-item {
font-size: 1.6em;
margin-right: 5px;
}
.author-link .hover-item {
width: 50px;
height: 50px;
border-radius: 50%;
margin-right: 1px;
}
.hover-item:hover {
transform: scale(1.2);
filter: grayscale(0%);
}
.share-button {
background-color: #1da1f2;
color: white;
padding: 6px 12px;
border-radius: 5px;
border: none;
font-size: 0.95em;
margin-left: 5px;
transition: all 0.2s ease;
}
.share-button:hover {
transform: scale(1.1);
filter: brightness(1.2);
}
.share-button.linkedin {
background-color: #0077b5;
}
.share-button i {
margin-right: 5px;
font-size: 1.1em;
}
/* MkDocs Ultralytics Plugin ---------------------------------------------------------------------------------------- */
1 change: 1 addition & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -640,6 +640,7 @@ plugins:
add_authors: True
add_json_ld: True
add_share_buttons: True
add_css: False
default_image: https://raw.githubusercontent.com/ultralytics/assets/main/yolov8/banner-yolov8.png
- mkdocs-jupyter
- redirects:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ dev = [
"mkdocstrings[python]",
"mkdocs-jupyter", # for notebooks
"mkdocs-redirects", # for 301 redirects
"mkdocs-ultralytics-plugin>=0.0.49", # for meta descriptions and images, dates and authors
"mkdocs-ultralytics-plugin>=0.1.0", # for meta descriptions and images, dates and authors
]
export = [
"onnx>=1.12.0", # ONNX export
Expand Down
2 changes: 1 addition & 1 deletion ultralytics/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Ultralytics YOLO 🚀, AGPL-3.0 license

__version__ = "8.2.74"
__version__ = "8.2.75"

import os

Expand Down

0 comments on commit 24c6bbf

Please sign in to comment.