Repository navigation
fix(docs): 서비스 메뉴에서 첫 문서가 누락되는 문제 수정 - #60
Merged
Merged
Conversation
Generate real collection-service index pages so Material does not promote the first flattened page bundle into the service heading. Reuse the existing renderer and cover single-article groups, all three sibling links, and the active first article in rendered navigation tests. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
수정 내용
서비스 메뉴의 첫 번째 문서가 서비스 제목으로 표시되어 하위 목록에서 빠지는 문제를 수정합니다. #59 병합 후 AKS 트러블슈팅 목록은 3개인데 왼쪽 메뉴에는 2개만 보인다는 제보로 확인했습니다.
원인
문서 bundle을 메뉴의 leaf로 펼친 뒤에도 각 문서는
index.md입니다. Material의navigation.indexes가 서비스의 첫 번째 문서를 해당 서비스의 섹션 인덱스로 선택해, 서비스 이름에 첫 글의 URL을 붙이고 그 글을 하위 메뉴에서는 생략했습니다.해결
<collection>/<service>/index.md를 빌드 시 자동 생성합니다.검증
git diff --checkMicrosoft/Azure 제품 동작에 대한 기술 주장은 변경하지 않았습니다. 생성된
site/과 별도 작업 폴더는 포함하지 않습니다.