Skip to content

Commit

Permalink
Merge branch 'main' into docs/fix-blocks-nav
Browse files Browse the repository at this point in the history
  • Loading branch information
yeldarby committed Jan 2, 2025
2 parents b0e4868 + bd6e98e commit aa696f8
Show file tree
Hide file tree
Showing 8 changed files with 89 additions and 24 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ profile/
*.pstats
*.jpeg
*.png
!favicon.png
!icon.png
*.mp4
*.roboflow.txt
Expand Down
2 changes: 1 addition & 1 deletion CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
* @PawelPeczek-Roboflow @grzegorz-roboflow @yeldarby @probicheaux @hansent
docs/ @capjamesg @PawelPeczek-Roboflow @grzegorz-roboflow
docs/ @capjamesg @PawelPeczek-Roboflow @grzegorz-roboflow @hansent @yeldarby @EmilyGavrilenko @probicheaux
Binary file added docs/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,26 @@
---
hide:
- path
- navigation
- toc
---

<style>
/* Hide <h1> on homepage */
.md-typeset h1 {
display: none;
}
.md-main__inner {
margin-top: -1rem;
}

/* constrain to same width even w/o sidebar */
.md-content {
max-width: 50rem;
margin: auto;
}
</style>

![Roboflow Inference banner](https://github.com/roboflow/inference/blob/main/banner.png?raw=true)

Roboflow Inference is an open-source platform designed to simplify the deployment of computer vision models. It enables developers to perform object detection, classification, instance segmentation and [keypoint detection](/quickstart/run_keypoint_detection/), and utilize foundation models like [CLIP](/foundation/clip), [Segment Anything](/foundation/sam), and [YOLO-World](/foundation/yolo_world) through a Python-native package, a self-hosted inference server, or a fully [managed API](https://docs.roboflow.com/).
Expand Down
Binary file removed docs/inference-icon.png
Binary file not shown.
23 changes: 23 additions & 0 deletions docs/roboflow-logomark-white.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
37 changes: 36 additions & 1 deletion docs/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
margin-bottom: 0;
}
.md-tabs__link {
font-size: 1rem;
font-size: 0.9rem;
margin-top: 0.1rem;
}

.half-button {
Expand All @@ -22,4 +23,38 @@
font-weight: 700;
color: var(--md-default-fg-color--light);
}
}

.md-header {
background: #8315f9;
background: linear-gradient(90deg, #8315f9 5%, #7812c7 50%, #401e62);
}

.md-tabs {
background: transparent;
line-height: normal;
}

.md-tabs__item {
height: 1.8rem;
}

[dir=ltr] .md-header__title {
margin-left: 0;
}

@media screen and (min-width: 76.25em) {
[dir=ltr] .md-header__source {
margin-left: 0.25rem;
}
}

@media screen and (min-width: 60em) {
.md-search__input {
font-size: .7rem;
}
}

.md-main__inner {
margin-top: 0.25rem;
}
32 changes: 10 additions & 22 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,11 @@ extra_css:
- styles/cookbooks.css

nav:
- Roboflow Inference:
- What is Inference?: index.md
- Enterprise Features: enterprise/enterprise.md
- Inference Basics:
- Roboflow Ecosystem: quickstart/roboflow_ecosystem.md
- 'Models: Popular': quickstart/aliases.md
- 'Models: Fine-tuned': quickstart/explore_models.md
- 'Models: Universe': quickstart/load_from_universe.md
- 'Models: Local Weights': models/from_local_weights.md
- Models:
- 'Models: Popular': quickstart/aliases.md
- 'Models: Fine-tuned': quickstart/explore_models.md
- 'Models: Universe': quickstart/load_from_universe.md
- 'Models: Local Weights': models/from_local_weights.md
- Supported Fine-Tuned Models:
- YOLOv10: fine-tuned/yolov10.md
- YOLOv9: fine-tuned/yolov9.md
Expand Down Expand Up @@ -98,6 +94,7 @@ nav:
- Schema API: workflows/schema_api.md
- Changelog: workflows/execution_engine_changelog.md
- Reference:
- Roboflow Ecosystem: quickstart/roboflow_ecosystem.md
- Inference Pipeline: using_inference/inference_pipeline.md
- Active Learning:
- Use Active Learning: enterprise/active-learning/active_learning.md
Expand Down Expand Up @@ -134,12 +131,12 @@ nav:

theme:
name: 'material'
logo: inference-icon.png
favicon: inference-icon.png
logo: roboflow-logomark-white.svg
favicon: favicon.png
custom_dir: docs/theme
font:
text: Roboto
code: Roboto Mono
text: Inter
code: ui-monospace
features:
- navigation.top
- navigation.tabs
Expand All @@ -154,15 +151,6 @@ theme:
palette:
- scheme: default
primary: 'custom'
toggle:
icon: material/brightness-7
name: Switch to dark mode

- scheme: slate
primary: 'custom'
toggle:
icon: material/brightness-4
name: Switch to light mode

plugins:
- mkdocstrings:
Expand Down

0 comments on commit aa696f8

Please sign in to comment.