Skip to content

Collapse all code blocks in README#74

Merged
anxiangsir merged 2 commits intomainfrom
copilot/collapse-all-code
Feb 5, 2026
Merged

Collapse all code blocks in README#74
anxiangsir merged 2 commits intomainfrom
copilot/collapse-all-code

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Feb 5, 2026

Wraps all uncollapsed code blocks in README.md with <details> tags for better readability and navigation.

Changes

  • Training setup: Option 1 (Conda + Pip), Option 2 (Docker), Install Package
  • Training commands: Dry run, Stage-1, Stage-2 Video Continue Pretraining
  • Evaluation: Chunk-wise Sampling and OV-Encoder Codec evaluation

Example

### Option 1 (Conda + Pip)

<details>
<summary>Click to expand setup commands</summary>

```bash
conda env create -f environment.yml -n ov_encoder
pip install torch==2.7.0 torchvision==0.22.0 ...
```

All code blocks now collapsed by default, matching the style of existing collapsible sections.

Original prompt

还是所有的代码都折叠吧,谢谢


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: anxiangsir <31175974+anxiangsir@users.noreply.github.com>
Copilot AI changed the title [WIP] Add functionality to collapse all code sections Collapse all code blocks in README Feb 5, 2026
Copilot AI requested a review from anxiangsir February 5, 2026 04:26
@anxiangsir anxiangsir marked this pull request as ready for review February 5, 2026 05:05
Copilot AI review requested due to automatic review settings February 5, 2026 05:05
@anxiangsir anxiangsir merged commit 1cb8023 into main Feb 5, 2026
Copy link
Copy Markdown

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

This PR improves the README's readability by collapsing all uncollapsed code blocks in the Training and Evaluation sections using <details> tags, matching the existing collapsible style used in the Quick Start section.

Changes:

  • Wrapped all training setup and command code blocks in collapsible <details> tags
  • Wrapped all evaluation command code blocks in collapsible <details> tags
  • Added descriptive summary text for each collapsible section

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@anxiangsir anxiangsir deleted the copilot/collapse-all-code branch March 2, 2026 04:10
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.

3 participants