Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Docs: fix parent of WSL.md for the MkDocs sidebar

Đang mở Phù hợp với người mới
#237 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
1/5
Thời gian dự kiến
Dưới một giờ
Mức phù hợp với người mới
92/100
Loại issue
Tài liệu
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
markdown, yaml
Lĩnh vực
documentation

Hướng nghiên cứu

Mở docs/WSL.md và kiểm tra YAML front matter của nó: hiện tại nó đặt parent: Management Hub. Hãy đổi thành parent: Installing the management hub only, sau đó kiểm tra các giá trị nav_order của các trang cùng cấp trong mục đó ở docs/docs/hub/hub.md để xác nhận rằng nav_order: 3 đặt trang này sau "Getting to know the management hub". Hoàn thành nghĩa là trang được render trong mục sidebar dự định ở vị trí dự định.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

The docs site (open-horizon/open-horizon.github.io) now pulls docs/ from this repository at build time and builds its sidebar from the title / parent / nav_order front matter.

docs/WSL.md has:

title: Windows WSL2 Installation
nav_order: 3
parent: Management Hub

No page has the title Management Hub, so the page cannot be placed and shows at the top level of the sidebar. The section it belongs to is titled Installing the management hub only.

Fix: change the front matter of docs/WSL.md to:

parent: Installing the management hub only

That title is defined in open-horizon.github.io (docs/docs/hub/hub.md). The sibling nav_order values under it are currently 1, 2, 2, 5 and 6, so also confirm that nav_order: 3 puts the page where you want it. The intended position is after "Getting to know the management hub".

Tracking: open-horizon/open-horizon.github.io#729.

Ngôn ngữ chính
Shell
Star
12
Fork
46
Merge trung bình
5 ngày 12 giờ
Pull request đã merge (30 ngày)
3

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của open-horizon/devops

Tất cả issue của open-horizon/devops

Issue tương tự

Thêm issue về Shell/Bash

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.