Conversation
- Nextra framework 의 기본 동작에 따르면, Sidebar 에 노출되는 문서의 순서는 `_meta.ts`에 입력된 entry 의 순서를 따른다고 알려져 있습니다. - Cursor, ChatGPT 등의 답변은 입력된 entry 의 순서에 따른다고 합니다. 그러나, 실제로 그렇게 작동하지 않습니다. - Sidebar 의 문서 순서를 명시적으로 제어하기 위해, `layout.tsx`를 개선합니다. - sidebar 에 대한 `sort` 기능을 override 하여, `order`라는 속성을 참조하여 정렬합니다. - `confluence_xhtml_to_markdown.py`를 개선하여, `_meta.ts`를 생성할 때, `order`속성을 추가합니다. - 한국어 문서에 대한 `_meta.ts`를 모두 업데이트합니다. - 영어, 일본어 문서의 `_meta.ts`는 후속 PR 에서 처리합니다.
085c8e6 to
2be0050
Compare
Contributor
Author
|
#469 이 PR 로 문제가 해결되었습니다. |
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.
Description
_meta.ts에 입력된 entry 의 순서를 따른다고 알려져 있습니다.layout.tsx를 개선합니다.sort기능을 override 하여,order라는 속성을 참조하여 정렬합니다.confluence_xhtml_to_markdown.py를 개선하여,_meta.ts를 생성할 때,order속성을 추가합니다._meta.ts를 모두 업데이트합니다._meta.ts는 후속 PR 에서 처리합니다.Additional notes