Skip to content

Conversation

@krsy0411
Copy link
Collaborator

구조 변경

  • index.html : SPA임을 명확히 하기 위해 기본 골격만 남기도록 변경
  • nav-component : nav 관련 HTML 구조를 웹 컴포넌트로 분리
    • src/data/nav/... : get-started 경로와 guides 경로별로 필요한 데이터를 분리 -> 이를 이용해 nav 컴포넌트의 목록으로 사용
  • test/... : 변경된 구조에 맞춰 테스트 코드 수정

코드 정리

  • 로고 제거 : 생각보다 US 트래픽이 있어서, 공식 문서가 아님을 명확히 하기 위해서 로고를 제거하고 텍스트로 수정
  • 약간씩 잘못 작성된 CSS 선택자, 마크다운 파일 내용, 조건문 처리에 대해 디테일 수정

다른 분들과의 작업 충돌을 최소화하기 위해 구조만 잡은 상황이라, 계속해서 수정될 내용입니다(오류 없음).

@krsy0411 krsy0411 requested a review from Copilot June 21, 2025 06:39

This comment was marked as outdated.

@krsy0411 krsy0411 requested a review from Copilot June 21, 2025 06:58

This comment was marked as outdated.

@krsy0411 krsy0411 requested a review from Copilot June 21, 2025 07:06

This comment was marked as outdated.

@krsy0411 krsy0411 requested a review from Copilot June 21, 2025 07:14
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

이 PR은 Docker Korea Documentation의 코드 정리 및 구조 변경을 목적으로 SPA 기반 구조와 네비게이션 컴포넌트의 모듈화를 도입하고, 기존 CSS 및 테스트 코드 또한 정리합니다.

  • SPA 구조와 nav-component로 네비게이션 모듈 분리
  • 관련 테스트 코드 및 CSS 파일 정리 및 업데이트
  • Markdown 렌더링과 breadcrumb 기능 업데이트

Reviewed Changes

Copilot reviewed 18 out of 23 changed files in this pull request and generated no comments.

Show a summary per file
File Description
tests/table-contents.test.ts 기존 Table of contents CSS 클래스 검증 테스트 제거
tests/nav.test.ts 기존 네비게이션 초기화 테스트를 NavComponent 기반으로 재작성
src/styles/style.css, not_found.css, content_style.css 불필요하거나 중복된 CSS 제거 및 수정
src/scripts/* 네비게이션 관련 코드 모듈화 및 Markdown, breadcrumb 기능 개선
src/data/, public/docs/ 관련 데이터 및 문서 파일 추가/수정
Comments suppressed due to low confidence (1)

tests/table-contents.test.ts:103

  • 테이블 목차의 제목 요소에 적용된 CSS 클래스에 대한 검증 테스트가 제거되었습니다. 새 구조에 맞춰 UI 스타일 일관성을 확인할 수 있는 테스트 추가를 고려해주세요.
    });

@krsy0411 krsy0411 merged commit 785dc4b into docker-ko:master Jun 21, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant