Update Docs language dropdown height (#6927)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kayzwer <68285002+Kayzwer@users.noreply.github.com>
main
Sergiu Waxmann 1 year ago committed by GitHub
parent 412eb57fca
commit aa0ae08178
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      .github/workflows/ci.yaml
  2. 2
      .github/workflows/publish.yml
  3. 2
      .github/workflows/stale.yml
  4. 8
      docs/overrides/stylesheets/style.css
  5. 2
      ultralytics/data/utils.py

@ -44,7 +44,7 @@ jobs:
python-version: ['3.11']
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'pip' # caching pip dependencies
@ -99,7 +99,7 @@ jobs:
model: [yolov8n]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'pip' # caching pip dependencies
@ -158,7 +158,7 @@ jobs:
torch: '1.8.0' # min torch version CI https://pypi.org/project/torchvision/
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'pip' # caching pip dependencies

@ -26,7 +26,7 @@ jobs:
with:
fetch-depth: "0" # pulls all commits (needed correct last updated dates in Docs)
- name: Set up Python environment
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.10'
cache: 'pip' # caching pip dependencies

@ -9,7 +9,7 @@ jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v8
- uses: actions/stale@v9
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}

@ -44,9 +44,7 @@ div.highlight {
max-width: 1440px;
}
/* Language dropdown selector (default is shorter 200px in length) */
/* Not working as activates on hover under icon area
body .md-select__inner {
max-height: 500px !important;
/* Set language dropdown maximum height to screen height */
.md-header .md-select:hover .md-select__inner {
max-height: 75vh;
}
*/

@ -434,7 +434,7 @@ class HUBDatasetStats:
data = check_cls_dataset(unzip_dir)
data['path'] = unzip_dir
else: # detect, segment, pose
zipped, data_dir, yaml_path = self._unzip(Path(path))
_, data_dir, yaml_path = self._unzip(Path(path))
try:
# Load YAML with checks
data = yaml_load(yaml_path)

Loading…
Cancel
Save