Skip to content

docs(website): Add documentation for --include-full-directory-structure flag#902

Merged
yamadashy merged 3 commits intomainfrom
docs/include-full-directory-structure
Oct 18, 2025
Merged

docs(website): Add documentation for --include-full-directory-structure flag#902
yamadashy merged 3 commits intomainfrom
docs/include-full-directory-structure

Conversation

@yamadashy
Copy link
Owner

Summary

Adds comprehensive documentation for the --include-full-directory-structure CLI flag across all language versions of the website documentation.

This completes the documentation for the feature introduced in PR #896.

Changes

Updated documentation files for all 12 supported languages:

  • usage.md: Added new section explaining the feature with code examples, benefits, and comparison of output with/without the flag
  • configuration.md: Added output.includeFullDirectoryStructure option to the configuration options table
  • command-line-options.md: Added CLI flag description to the options reference

Languages updated: en, ja, de, fr, es, pt-br, id, vi, hi, ko, zh-cn, zh-tw

Feature Description

The --include-full-directory-structure flag allows users to display the complete repository directory tree in the output when using --include patterns. This provides full project context for AI analysis while maintaining focused file selection.

Checklist

Related

Closes documentation for #896

…re flag

Add comprehensive documentation for the new --include-full-directory-structure
CLI flag across all language versions of the website documentation.

This flag allows users to display the complete repository directory tree in
the output when using --include patterns, providing full project context while
maintaining focused file selection.

Updated files:
- usage.md: Added new section explaining the feature with examples
- configuration.md: Added output.includeFullDirectoryStructure option to config table
- command-line-options.md: Added CLI flag description

Languages updated: en, ja, de, fr, es, pt-br, id, vi, hi, ko, zh-cn, zh-tw

Related to PR #896
Copilot AI review requested due to automatic review settings October 18, 2025 05:42
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Oct 18, 2025

Important

Review skipped

Auto incremental reviews are disabled on this repository.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Note

Other AI code review bot(s) detected

CodeRabbit has detected other AI code review bot(s) in this pull request and will avoid duplicating their findings in the review comments. This may lead to a less comprehensive review.

Walkthrough

This PR introduces documentation for a new feature flag --include-full-directory-structure and corresponding configuration option output.includeFullDirectoryStructure across all supported language guides. The feature displays the full repository directory tree while processing only files matching include patterns, providing enhanced context for AI analysis.

Changes

Cohort / File(s) Summary
Documentation for --include-full-directory-structure CLI option
website/client/src/*/guide/command-line-options.md
Added documentation for the new --include-full-directory-structure flag across all 12 supported language variants (de, en, es, fr, hi, id, ja, ko, pt-br, vi, zh-cn, zh-tw), describing its behavior of displaying the full repository tree in the directory structure section even when using include patterns.
Documentation for output.includeFullDirectoryStructure configuration option
website/client/src/*/guide/configuration.md
Added documentation for the new configuration option under the output section across all 12 supported languages, describing the default value (false) and behavior of displaying the full directory tree while respecting ignore patterns and processing only included files.
Usage guide documentation for the new feature
website/client/src/*/guide/usage.md
Added comprehensive usage sections across all 12 supported languages explaining the feature's benefits, providing before/after examples, clarifying that the flag affects only directory structure visualization while file processing and metrics remain scoped to include patterns, and documenting the interaction with ignore patterns.
Primary documentation
README.md
Added introductory documentation for the new public configuration option output.includeFullDirectoryStructure describing its purpose of providing full repository context when using include patterns.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

The changes consist of homogeneous documentation updates applied consistently across multiple language variants with no functional code modifications, logic changes, or control flow alterations. While the file count is high (36+ files), the repetitive and straightforward nature of the changes (same information translated/documented in each language guide) minimizes review complexity.

Possibly related issues

Possibly related PRs

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Title Check ✅ Passed The PR title "docs(website): Add documentation for --include-full-directory-structure flag" is clear, specific, and directly aligned with the primary change in the pull request. The title accurately captures that documentation is being added for a specific CLI flag across the website, which matches the raw summary showing updates to usage.md, configuration.md, and command-line-options.md files across 12 language versions. The title uses a conventional format with scope prefix, is concise without vague terminology, and provides enough specificity for someone reviewing history to understand the change.
Description Check ✅ Passed The PR description is comprehensive and mostly follows the required template structure. It includes a clear summary of changes, detailed information about what was modified across all language versions, a feature description explaining the purpose and functionality, and a completed checklist with relevant items (documentation added, translations verified, examples included, and relation to PR #896). While the description does not include the standard template checklist items for running tests and linting, it provides more specific project-relevant checklist items that better reflect the work completed. The core requirement of summarizing changes is well-served by the detailed explanation of file modifications and languages updated.
Docstring Coverage ✅ Passed No functions found in the changes. Docstring coverage check skipped.

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

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

This PR adds comprehensive documentation for the --include-full-directory-structure CLI flag across all 12 supported language versions of the website. The flag allows users to display the complete repository directory tree while using --include patterns to process only specific files, providing full project context for AI analysis.

Key Changes:

  • Added detailed usage examples with benefits and visual comparisons in usage.md
  • Added configuration option output.includeFullDirectoryStructure to configuration.md
  • Added CLI flag reference to command-line-options.md

Reviewed Changes

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

Show a summary per file
File Description
website/client/src/zh-tw/guide/usage.md Added Chinese (Traditional) documentation for the feature with examples
website/client/src/zh-tw/guide/configuration.md Added Chinese (Traditional) configuration option description
website/client/src/zh-tw/guide/command-line-options.md Added Chinese (Traditional) CLI flag reference
website/client/src/zh-cn/guide/usage.md Added Chinese (Simplified) documentation for the feature with examples
website/client/src/zh-cn/guide/configuration.md Added Chinese (Simplified) configuration option description
website/client/src/zh-cn/guide/command-line-options.md Added Chinese (Simplified) CLI flag reference
website/client/src/vi/guide/usage.md Added Vietnamese documentation for the feature with examples
website/client/src/vi/guide/configuration.md Added Vietnamese configuration option description
website/client/src/vi/guide/command-line-options.md Added Vietnamese CLI flag reference
website/client/src/pt-br/guide/usage.md Added Portuguese (Brazilian) documentation for the feature with examples
website/client/src/pt-br/guide/configuration.md Added Portuguese (Brazilian) configuration option description
website/client/src/pt-br/guide/command-line-options.md Added Portuguese (Brazilian) CLI flag reference
website/client/src/ko/guide/usage.md Added Korean documentation for the feature with examples
website/client/src/ko/guide/configuration.md Added Korean configuration option description
website/client/src/ko/guide/command-line-options.md Added Korean CLI flag reference
website/client/src/ja/guide/usage.md Added Japanese documentation for the feature with examples
website/client/src/ja/guide/configuration.md Added Japanese configuration option description
website/client/src/ja/guide/command-line-options.md Added Japanese CLI flag reference
website/client/src/id/guide/usage.md Added Indonesian documentation for the feature with examples
website/client/src/id/guide/configuration.md Added Indonesian configuration option description
website/client/src/id/guide/command-line-options.md Added Indonesian CLI flag reference
website/client/src/hi/guide/usage.md Added Hindi documentation for the feature with examples
website/client/src/hi/guide/configuration.md Added Hindi configuration option description
website/client/src/hi/guide/command-line-options.md Added Hindi CLI flag reference
website/client/src/fr/guide/usage.md Added French documentation for the feature with examples
website/client/src/fr/guide/configuration.md Added French configuration option description
website/client/src/fr/guide/command-line-options.md Added French CLI flag reference
website/client/src/es/guide/usage.md Added Spanish documentation for the feature with examples
website/client/src/es/guide/configuration.md Added Spanish configuration option description
website/client/src/es/guide/command-line-options.md Added Spanish CLI flag reference
website/client/src/en/guide/usage.md Added English documentation for the feature with examples
website/client/src/en/guide/configuration.md Added English configuration option description
website/client/src/en/guide/command-line-options.md Added English CLI flag reference
website/client/src/de/guide/usage.md Added German documentation for the feature with examples
website/client/src/de/guide/configuration.md Added German configuration option description
website/client/src/de/guide/command-line-options.md Added German CLI flag reference

@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello @yamadashy, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request provides comprehensive documentation for the --include-full-directory-structure CLI flag across all supported language versions of the website. The flag allows users to display the complete repository directory tree in the output, offering full project context for AI analysis while maintaining focused file processing based on --include patterns. This ensures that users can effectively leverage the tool with a clear understanding of its capabilities and impact on output structure.

Highlights

  • New Flag Documentation: Comprehensive documentation has been added for the --include-full-directory-structure CLI flag.
  • Multilingual Support: The documentation updates have been applied across all 12 supported language versions of the website, ensuring global accessibility.
  • Documentation Sections Updated: Key documentation files including usage.md, configuration.md, and command-line-options.md have been updated to reflect the new flag.
  • Feature Completion: This pull request finalizes the documentation for the feature originally introduced in PR feat(cli,core,config): Add --include-full-directory-structure and full repository tree #896.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@codecov
Copy link

codecov bot commented Oct 18, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 74.36%. Comparing base (f2697e8) to head (6fe7793).
⚠️ Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #902      +/-   ##
==========================================
+ Coverage   73.31%   74.36%   +1.05%     
==========================================
  Files         111      111              
  Lines        7776     7776              
  Branches     1470     1448      -22     
==========================================
+ Hits         5701     5783      +82     
+ Misses       2075     1993      -82     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@claude
Copy link
Contributor

claude bot commented Oct 18, 2025

PR Review: Documentation for --include-full-directory-structure flag

This is an excellent documentation PR that complements the feature implementation in #896. The documentation is comprehensive, well-structured, and consistent across all 12 language versions.

✅ Strengths

  1. Comprehensive Coverage: All three documentation files updated for each language (usage.md, configuration.md, command-line-options.md)
  2. Clear Examples: The before/after comparison effectively demonstrates the feature's value
  3. Well-structured Content: Benefits section clearly articulates the use case
  4. Consistent Translations: Reviewed English, Japanese, and Chinese versions - all appear natural and maintain consistent terminology
  5. Proper Scope: Correctly notes that the flag only affects visualization, not file processing
Detailed Feedback

Documentation Quality

English version (baseline):

  • Clear, concise explanation of the feature
  • Good use of bold for emphasis on key benefits
  • The "Note" at the end prevents potential confusion

Translation Quality:

  • Japanese translation is natural and uses appropriate technical terminology (e.g., "ディレクトリツリー構造" for "directory tree structure")
  • Chinese translation correctly uses "完整目录结构" and "仓库上下文"
  • Consistent terminology across all language versions

Structure

The three-part documentation update is well-designed:

  1. usage.md: Detailed explanation with examples and benefits (43 lines)
  2. configuration.md: Technical reference in the options table (1 line)
  3. command-line-options.md: Brief CLI flag description (1 line)

This follows the documentation principle of "explain once in detail, reference elsewhere."

Minor Observations

  1. Line Length: The configuration.md entries are quite long (extending to describe "Provides full repository context for AI analysis"). This is acceptable for table cells, but consider if it affects readability in some languages.

  2. Consistency Check: All language versions follow the same structure and content - excellent for maintainability.

  3. Example Consistency: The example uses cli/**/*.go which is a different pattern from the general examples using TypeScript (src/**/*.ts). This is actually good as it shows versatility, but worth noting.

Code Quality Metrics

  • Zero deletions: Pure additive change (non-breaking)
  • 540 additions: Consistent 45 lines per language (43 + 1 + 1) across 12 languages
  • No code changes: Documentation-only, no risk to existing functionality

Commit Message

✅ Follows Conventional Commits specification perfectly:

  • Type: docs
  • Scope: website
  • Clear description
  • Comprehensive commit body explaining the changes

Test Coverage

While this is documentation-only, consider:

Recommendations

For this PR:

  • ✅ Ready to merge as-is
  • No changes required

For future improvements:

  • Consider adding automated tests to verify all language versions have the same structure
  • Add CI checks to ensure new features are documented in all languages

Security & Performance

  • ✅ No security concerns (documentation only)
  • ✅ No performance impact
  • ✅ No dependencies added

Overall Assessment: LGTM! 🎉

This PR demonstrates excellent attention to detail in maintaining multilingual documentation. The feature is well-explained, examples are clear, and translations appear high-quality. Great work on ensuring documentation parity across all supported languages!

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Oct 18, 2025

Deploying repomix with  Cloudflare Pages  Cloudflare Pages

Latest commit: 6fe7793
Status: ✅  Deploy successful!
Preview URL: https://b05700f5.repomix.pages.dev
Branch Preview URL: https://docs-include-full-directory.repomix.pages.dev

View logs

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request adds comprehensive documentation for the new --include-full-directory-structure flag across all supported languages. The documentation is well-structured, providing clear explanations, examples, and benefits. The changes are consistent across all language versions. I've identified a minor inconsistency in the examples within the usage.md files, which could be misleading. My review includes suggestions to correct this across all affected documentation files to enhance clarity. Overall, this is an excellent and thorough documentation update.

@claude
Copy link
Contributor

claude bot commented Oct 18, 2025

Excellent documentation work! This PR comprehensively documents the --include-full-directory-structure feature across all 12 supported languages.

Strengths:

  • All language versions updated consistently (en, ja, de, fr, es, pt-br, id, vi, hi, ko, zh-cn, zh-tw)
  • Well-structured with clear examples, benefits section, and visual before/after comparison
  • Translation quality looks good (spot-checked Japanese and German)
  • Proper placement in usage.md, configuration.md, and command-line-options.md
  • README.md configuration table also updated
  • Clear note that the flag only affects visualization, not processing

Minor observations:

  1. The description for output.includeFullDirectoryStructure in configuration tables is notably longer than other options. Consider if it could be slightly more concise for table readability.
  2. First commit message has a truncated title (visible in git log).
  3. Consider having native speakers verify less common language translations (hi, vi, id).

Code Quality:

Recommendation: Approved
This is excellent documentation work that completes the feature introduced in PR #896. The minor observations above are optional refinements and do not block merging.

Great job maintaining consistency across all language versions!

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 6

♻️ Duplicate comments (12)
website/client/src/ko/guide/usage.md (1)

40-48: **The directory structure example without the flag is misleading. **

Given the command repomix --include "cli/**/*.go", the directory structure should only contain files matching the glob pattern. The files go.mod and README.md do not match *.go and should not be listed. This creates confusion about how --include works. Additionally, the code blocks need language specification.

Apply these diffs to fix the misleading examples and add language specs:

-플래그 없이:
+플래그 없이 (cli/**/*.go 패턴만 포함됨):

-<directory_structure>
+xml cli/ go.mod main.go README.md -</directory_structure> -
+```


And for the second example:

```diff
-`--include-full-directory-structure` 사용 시:
+`--include-full-directory-structure` 사용 시 (전체 디렉토리 표시):

-<directory_structure>
+```xml
README.md
LICENSE.md
cli/


The first example (without the flag) should only show `cli/main.go` to accurately represent the behavior of `--include "cli/**/*.go"`.

</blockquote></details>
<details>
<summary>website/client/src/vi/guide/usage.md (1)</summary><blockquote>

`52-60`: **The directory structure example without the flag is misleading. **

Given the command `repomix --include "cli/**/*.go"`, the directory structure should only contain files matching the glob pattern. The files `go.mod` and `README.md` do not match `*.go` and should not be listed. Additionally, the code blocks need language specification.


Apply these diffs to fix the misleading examples and add language specs:

```diff
-Không có cờ:
+Không có cờ (chỉ cli/**/*.go pattern):

-<directory_structure>
+xml cli/ go.mod main.go README.md -</directory_structure> -
+```


The first example (without the flag) should only show `cli/main.go` to accurately represent the behavior of `--include "cli/**/*.go"`. Similarly, add the language spec to the second example block.

</blockquote></details>
<details>
<summary>website/client/src/id/guide/usage.md (1)</summary><blockquote>

`51-56`: **Correct the misleading directory structure example (duplicate concern).**

The "without flag" example is incorrect. Given the command `repomix --include "cli/**/*.go"`, the directory structure should only contain files matching the glob pattern. The files `go.mod` and `README.md` do not match `*.go` and should not be listed.




Apply this diff to correct the example:

```diff
-cli/
-  go.mod
-  main.go
-  README.md
+cli/
+  main.go
website/client/src/hi/guide/usage.md (1)

51-55: Correct the misleading directory structure example (duplicate concern).

The "without flag" example is incorrect. Given the command repomix --include "cli/**/*.go", the directory structure should only contain files matching the glob pattern. The files go.mod and README.md do not match *.go and should not be listed.

Apply this diff to correct the example:

-cli/
-  go.mod
-  main.go
-  README.md
+cli/
+  main.go
website/client/src/pt-br/guide/usage.md (1)

42-47: Correct the misleading directory structure example (duplicate concern).

The "without flag" example is incorrect. Given the command repomix --include "cli/**/*.go", the directory structure should only contain files matching the glob pattern. The files go.mod and README.md do not match *.go and should not be listed.

Apply this diff to correct the example:

-cli/
-  go.mod
-  main.go
-  README.md
+cli/
+  main.go
website/client/src/zh-tw/guide/usage.md (1)

42-47: Correct the misleading directory structure example (duplicate concern).

The "without flag" example is incorrect. Given the command repomix --include "cli/**/*.go", the directory structure should only contain files matching the glob pattern. The files go.mod and README.md do not match *.go and should not be listed.

Apply this diff to correct the example:

-cli/
-  go.mod
-  main.go
-  README.md
+cli/
+  main.go
website/client/src/es/guide/usage.md (1)

40-48: ** Directory structure example without flag doesn't match glob pattern.**

The example shows go.mod and README.md in the directory structure, but the command repomix --include "cli/**/*.go" only matches .go files. These files should not appear when the flag is off.

A prior reviewer flagged this on the same lines—please apply the suggested fix to show only cli/main.go in the "without flag" example.

 Without the flag:

<directory_structure>
cli/

  • go.mod
    main.go
  • README.md
    </directory_structure>
website/client/src/en/guide/usage.md (1)

40-48: ** Directory structure example without flag doesn't match glob pattern.**

The example shows go.mod and README.md in the directory structure, but the command repomix --include "cli/**/*.go" only matches .go files. These files should not appear when the flag is off.

A prior reviewer flagged this on the same lines—please apply the suggested fix to show only cli/main.go in the "without flag" example.

 Without the flag:

<directory_structure>
cli/

  • go.mod
    main.go
  • README.md
    </directory_structure>
website/client/src/ja/guide/usage.md (1)

40-48: ** Directory structure example without flag doesn't match glob pattern.**

The example shows go.mod and README.md in the directory structure, but the command repomix --include "cli/**/*.go" only matches .go files. These files should not appear when the flag is off.

A prior reviewer flagged this on the same lines—please apply the suggested fix to show only cli/main.go in the "without flag" example.

 Without the flag:

<directory_structure>
cli/

  • go.mod
    main.go
  • README.md
    </directory_structure>
website/client/src/de/guide/usage.md (1)

40-48: ** Directory structure example without flag doesn't match glob pattern.**

The example shows go.mod and README.md in the directory structure, but the command repomix --include "cli/**/*.go" only matches .go files. These files should not appear when the flag is off.

A prior reviewer flagged this on the same lines—please apply the suggested fix to show only cli/main.go in the "without flag" example.

 Without the flag:

<directory_structure>
cli/

  • go.mod
    main.go
  • README.md
    </directory_structure>
website/client/src/fr/guide/usage.md (1)

44-52: ** Directory structure example without flag doesn't match glob pattern.**

The example shows go.mod and README.md in the directory structure, but the command repomix --include "cli/**/*.go" only matches .go files. These files should not appear when the flag is off.

A prior reviewer flagged this on the same lines—please apply the suggested fix to show only cli/main.go in the "without flag" example.

 Without the flag:

<directory_structure>
cli/

  • go.mod
    main.go
  • README.md
    </directory_structure>
website/client/src/zh-cn/guide/usage.md (1)

40-48: ** Directory structure example without flag doesn't match glob pattern.**

The example shows go.mod and README.md in the directory structure, but the command repomix --include "cli/**/*.go" only matches .go files. These files should not appear when the flag is off.

A prior reviewer flagged this on the same lines—please apply the suggested fix to show only cli/main.go in the "without flag" example.

 Without the flag:

<directory_structure>
cli/

  • go.mod
    main.go
  • README.md
    </directory_structure>
🧹 Nitpick comments (7)
website/client/src/zh-cn/guide/configuration.md (1)

105-105: Add the new option to the configuration example.

The table entry at line 105 is properly formatted, but the full configuration example (lines 144–191) should include includeFullDirectoryStructure in the output section to be complete and consistent with other documented options.

Apply this diff to add the option to the example configuration:

  "output": {
    "filePath": "repomix-output.xml",
    "style": "xml",
    "parsableStyle": false,
    "compress": false,
    "headerText": "打包文件的自定义头部信息",
    "fileSummary": true,
    "directoryStructure": true,
    "files": true,
    "removeComments": false,
    "removeEmptyLines": false,
    "topFilesLength": 5,
    "showLineNumbers": false,
    "truncateBase64": false,
    "copyToClipboard": false,
    "includeEmptyDirectories": false,
+   "includeFullDirectoryStructure": false,
    "git": {
      "sortByChanges": true,
      "sortByChangesMaxCommits": 100,
      "includeDiffs": false,
      "includeLogs": false,
      "includeLogsCount": 50
    }
  },
website/client/src/pt-br/guide/configuration.md (1)

144-191: Consider adding the new configuration option to the example configuration block.

The configuration example (lines 144-191) includes includeEmptyDirectories (line 165) but does not include the newly documented includeFullDirectoryStructure option. For consistency and to showcase the feature, consider adding it to the example.

Suggested addition (after line 165):

     "includeEmptyDirectories": false,
+    "includeFullDirectoryStructure": false,
     "git": {
website/client/src/ko/guide/usage.md (1)

51-51: Add language specification to fenced code block.

The second XML output block at line 51 needs a language identifier.

-Với `--include-full-directory-structure` 사용 시:

+```xml
<directory_structure>


</blockquote></details>
<details>
<summary>website/client/src/vi/guide/usage.md (1)</summary><blockquote>

`63-63`: **Add language specification to fenced code block.**

The second XML output block at line 63 needs a language identifier.


```diff
-Với `--include-full-directory-structure`:

+```xml
<directory_structure>


</blockquote></details>
<details>
<summary>website/client/src/zh-tw/guide/configuration.md (1)</summary><blockquote>

`144-191`: **Consider adding the option to the example configuration for consistency.**

The configuration options table documents `output.includeFullDirectoryStructure`, but the example configuration file (lines 144-191) doesn't include it. Adding this option to the example with a brief comment would help users understand when and how to use the feature in practice.


Consider adding this line to the example configuration (e.g., after line 165 where `includeEmptyDirectories` is shown):

```diff
    "includeEmptyDirectories": false,
+   "includeFullDirectoryStructure": false,
website/client/src/fr/guide/configuration.md (2)

104-106: Consider adding the new option to the example configuration.

The new output.includeFullDirectoryStructure option is now documented in the configuration table but is not included in the example configuration at lines 144-191. For better discoverability and completeness, consider adding it to the example config (even though the default is false, it helps users understand all available options).

Apply this diff to enhance the example configuration:

     "topFilesLength": 5,
     "showLineNumbers": false,
     "truncateBase64": false,
     "copyToClipboard": false,
     "includeEmptyDirectories": false,
+    "includeFullDirectoryStructure": false,
     "git": {

105-105: <!-- [scratchpad_update]
[task review_1/1]
Verification complete for line 105 apostrophe encoding and spacing

[observations]

  • Line 105 verified via Python character analysis
  • All apostrophes are U+0027 (ASCII/plain apostrophe):
    • Position 52: l'utilisation - U+0027 ✓
    • Position 95: s'il - U+0027 ✓
    • Position 114: faut - U+0027 ✓
    • Position 266: l'analyse - U+0027 ✓
  • No typographical variants (U+2019, etc.) found
  • Table row formatting is correct and consistent
  • LanguageTool warning appears to be FALSE POSITIVE

[analysis]

  • Apostrophe encoding verified as correct for markdown/code documentation
  • No character encoding issues present
  • Original concern about "typographical variants" is unfounded
  • Secondary finding: Example configuration (lines 144-191) does NOT include includeFullDirectoryStructure despite being documented

[actions]

  • Generate final rewritten comment
  • Clear the apostrophe concern (verified as no issue)
  • Surface example config gap as optional improvement
  • Tag as
    [scratchpad_end] -->

Apostrophe encoding verified as correct; consider adding option to example configuration.

Character analysis confirms all apostrophes on line 105 use standard ASCII (U+0027), not typographical variants. The markdown table row formatting is correct with no encoding issues.

Secondary observation: The new output.includeFullDirectoryStructure option is documented in the configuration table but not included in the example configuration (lines 144-191). Consider adding it to the example for consistency and to demonstrate the feature in context.

📜 Review details

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between f2697e8 and 00d1912.

📒 Files selected for processing (37)
  • README.md (1 hunks)
  • website/client/src/de/guide/command-line-options.md (1 hunks)
  • website/client/src/de/guide/configuration.md (1 hunks)
  • website/client/src/de/guide/usage.md (1 hunks)
  • website/client/src/en/guide/command-line-options.md (1 hunks)
  • website/client/src/en/guide/configuration.md (1 hunks)
  • website/client/src/en/guide/usage.md (1 hunks)
  • website/client/src/es/guide/command-line-options.md (1 hunks)
  • website/client/src/es/guide/configuration.md (1 hunks)
  • website/client/src/es/guide/usage.md (1 hunks)
  • website/client/src/fr/guide/command-line-options.md (1 hunks)
  • website/client/src/fr/guide/configuration.md (1 hunks)
  • website/client/src/fr/guide/usage.md (1 hunks)
  • website/client/src/hi/guide/command-line-options.md (1 hunks)
  • website/client/src/hi/guide/configuration.md (1 hunks)
  • website/client/src/hi/guide/usage.md (1 hunks)
  • website/client/src/id/guide/command-line-options.md (1 hunks)
  • website/client/src/id/guide/configuration.md (1 hunks)
  • website/client/src/id/guide/usage.md (1 hunks)
  • website/client/src/ja/guide/command-line-options.md (1 hunks)
  • website/client/src/ja/guide/configuration.md (1 hunks)
  • website/client/src/ja/guide/usage.md (1 hunks)
  • website/client/src/ko/guide/command-line-options.md (1 hunks)
  • website/client/src/ko/guide/configuration.md (1 hunks)
  • website/client/src/ko/guide/usage.md (1 hunks)
  • website/client/src/pt-br/guide/command-line-options.md (1 hunks)
  • website/client/src/pt-br/guide/configuration.md (1 hunks)
  • website/client/src/pt-br/guide/usage.md (1 hunks)
  • website/client/src/vi/guide/command-line-options.md (1 hunks)
  • website/client/src/vi/guide/configuration.md (1 hunks)
  • website/client/src/vi/guide/usage.md (1 hunks)
  • website/client/src/zh-cn/guide/command-line-options.md (1 hunks)
  • website/client/src/zh-cn/guide/configuration.md (1 hunks)
  • website/client/src/zh-cn/guide/usage.md (1 hunks)
  • website/client/src/zh-tw/guide/command-line-options.md (1 hunks)
  • website/client/src/zh-tw/guide/configuration.md (1 hunks)
  • website/client/src/zh-tw/guide/usage.md (1 hunks)
🧰 Additional context used
🪛 LanguageTool
website/client/src/es/guide/configuration.md

[misspelling] ~105-~105: Si es pasado, se escribe con tilde. Si es imperativo, puede que falte una coma.
Context: ...o del repositorio para análisis de IA | false | | `output.git.sortByC...

(SUBJUNTIVO_PASADO)

website/client/src/pt-br/guide/usage.md

[uncategorized] ~25-~25: Pontuação duplicada
Context: ...m Arquivos Específicos Ao usar padrões --include, você também pode exibir a estr...

(DOUBLE_PUNCTUATION_XML)


[uncategorized] ~50-~50: Pontuação duplicada
Context: ...ADME.md </directory_structure> Com `--include-full-directory-structure`: <...

(DOUBLE_PUNCTUATION_XML)

website/client/src/de/guide/usage.md

[grammar] ~23-~23: Hier könnte ein Fehler sein.
Context: ...ur mit spezifischen Dateien einschließen Bei Verwendung von --include-Mustern k...

(QB_NEW_DE)


[grammar] ~25-~25: Hier könnte ein Fehler sein.
Context: ...ur die ausgewählten Dateien verarbeiten: bash repomix --include "cli/**/*.go" --include-full-directory-structure Dieses Flag bietet den vollständigen Rep...

(QB_NEW_DE)


[grammar] ~31-~31: Hier könnte ein Fehler sein.
Context: ...en, die den Include-Mustern entsprechen. Vorteile: - **Vollständiger Projektkon...

(QB_NEW_DE)


[grammar] ~36-~36: Hier könnte ein Fehler sein.
Context: ...s Repository-Layout für besseren Kontext Beispiel: Ohne das Flag: ``` <directo...

(QB_NEW_DE)


[grammar] ~38-~38: Hier könnte ein Fehler sein.
Context: ...Layout für besseren Kontext Beispiel: Ohne das Flag: ``` <directory_structure>...

(QB_NEW_DE)


[grammar] ~40-~40: Hier könnte ein Fehler sein.
Context: ...n Kontext Beispiel: Ohne das Flag: <directory_structure> cli/ go.mod main.go README.md </directory_structure> Mit --include-full-directory-structure...

(QB_NEW_DE)


[grammar] ~50-~50: Hier könnte ein Fehler sein.
Context: ...it --include-full-directory-structure: <directory_structure> README.md LICENSE.md cli/ go.mod main.go README.md docs/ guide.md </directory_structure> Hinweis: Dieses Flag betrifft nur die ...

(QB_NEW_DE)


[grammar] ~64-~64: Passe das Symbol an
Context: ...d </directory_structure> ``` Hinweis: Dieses Flag betrifft nur die Visualisie...

(QB_NEW_DE_OTHER_ERROR_IDS_REPLACEMENT_OTHER)


[grammar] ~64-~64: Hier könnte ein Fehler sein.
Context: ...iben auf Ihre Include-Muster beschränkt. ### Dateien ausschließen ```bash repomix --i...

(QB_NEW_DE)

website/client/src/de/guide/configuration.md

[grammar] ~105-~105: Entferne ein Leerzeichen
Context: ...y-Kontext für die KI-Analyse | false | | output.git.sortByChanges | ...

(QB_NEW_DE_OTHER_ERROR_IDS_UNNECESSARY_ORTHOGRAPHY_SPACE)

website/client/src/fr/guide/usage.md

[grammar] ~27-~27: Il y a peut-être une erreur ici
Context: ...e complète avec des fichiers spécifiques Lors de l'utilisation de motifs `--inclu...

(QB_NEW_FR)


[typographical] ~29-~29: Caractère d’apostrophe incorrect.
Context: ...fiques Lors de l'utilisation de motifs --include, vous pouvez également afficher la stru...

(APOS_INCORRECT)


[grammar] ~38-~38: Il y a peut-être une erreur ici
Context: ...tages :** - Contexte complet du projet : Voir l'intégralité de la structure de...

(QB_NEW_FR)


[grammar] ~38-~38: «  voir  » semble plus probable dans ce contexte
Context: ...es :** - Contexte complet du projet : Voir l'intégralité de la structure de répert...

(QB_NEW_FR_OTHER_ERROR_IDS_REPLACEMENT_ORTHOGRAPHY_UPPERCASE)


[grammar] ~39-~39: Il y a peut-être une erreur ici
Context: ... motifs d'inclusion - Traitement ciblé : Le contenu des fichiers et les métriq...

(QB_NEW_FR)


[grammar] ~39-~39: «  le  » semble plus probable dans ce contexte
Context: ...tifs d'inclusion - Traitement ciblé : Le contenu des fichiers et les métriques r...

(QB_NEW_FR_OTHER_ERROR_IDS_REPLACEMENT_ORTHOGRAPHY_UPPERCASE)


[grammar] ~40-~40: Il y a peut-être une erreur ici
Context: ...clus - Meilleure compréhension de l'IA : Fournit une disposition complète du d...

(QB_NEW_FR)


[grammar] ~40-~40: «  fournit  » semble plus probable dans ce contexte
Context: ...s - Meilleure compréhension de l'IA : Fournit une disposition complète du dépôt pour ...

(QB_NEW_FR_OTHER_ERROR_IDS_REPLACEMENT_ORTHOGRAPHY_UPPERCASE)


[grammar] ~40-~40: Il y a peut-être une erreur ici
Context: ...plète du dépôt pour un meilleur contexte Exemple : Sans le drapeau : ``` <dire...

(QB_NEW_FR)


[grammar] ~44-~44: Il y a peut-être une erreur ici
Context: ...illeur contexte Exemple : Sans le drapeau : <directory_structure> cli/ go.mod main.go README.md </directory_structure> Avec `--include-full-directory-structure...

(QB_NEW_FR)


[typographical] ~54-~54: Ces deux traits d’union peuvent être associés pour former un tiret.
Context: ...DME.md </directory_structure> Avec `--include-full-directory-structure` : ...

(TIRET)


[grammar] ~68-~68: «   : **ce  » semble plus probable dans ce contexte
Context: ...</directory_structure> ``` Remarque : Ce drapeau n'affecte que la visualisation ...

(QB_NEW_FR_OTHER_ERROR_IDS_REPLACEMENT_ORTHOGRAPHY_LOWERCASE)


[grammar] ~68-~68: Mot manquant
Context: ...que la visualisation de la structure de répertoire. Le traitement des fichiers, le contenu ...

(QB_NEW_FR_OTHER_ERROR_IDS_MISSING_ADJECTIVE)


[grammar] ~68-~68: Il y a peut-être une erreur ici
Context: ...estent limités à vos motifs d'inclusion. ### Exclure des fichiers ```bash repomix --...

(QB_NEW_FR)

website/client/src/es/guide/usage.md

[uncategorized] ~25-~25: Probablemente hay un error. Considere aplicar la sugerencia.
Context: ... archivos específicos Al usar patrones --include, también puedes mostrar la es...

(AI_ES_GGEC_REPLACEMENT_PUNCTUATION)


[uncategorized] ~25-~25: Probablemente falta un determinante.
Context: ...`, también puedes mostrar la estructura de árbol de directorios completa mientras ...

(AI_ES_GGEC_MISSING_DETERMINER)


[uncategorized] ~25-~25: Probablemente hay un error. Considere aplicar la sugerencia.
Context: ...procesas solo los archivos seleccionados: ```bash repomix --include "cli/**/*.go...

(AI_ES_GGEC_REPLACEMENT_PUNCTUATION)


[uncategorized] ~40-~40: Probablemente hay un error. Considere aplicar la sugerencia.
Context: ...r contexto Ejemplo: Sin la bandera: ``` <directory_structure> cli/ go.mod...

(AI_ES_GGEC_REPLACEMENT_PUNCTUATION)


[uncategorized] ~50-~50: Probablemente hay un error. Considere aplicar la sugerencia.
Context: ...ADME.md </directory_structure> Con `--include-full-directory-structure`: <directory_structure> README.md LI...

(AI_ES_GGEC_REPLACEMENT_PUNCTUATION)


[uncategorized] ~64-~64: Probablemente hay un error. Considere aplicar la sugerencia.
Context: ...de.md </directory_structure> ``` Nota: Esta bandera solo afecta la visualizac...

(AI_ES_GGEC_REPLACEMENT_OTHER)

website/client/src/fr/guide/command-line-options.md

[typographical] ~30-~30: Ces deux traits d’union peuvent être associés pour former un tiret.
Context: ...e, même lors de l'utilisation de motifs --include - --include-diffs: Inclure les...

(TIRET)

website/client/src/pt-br/guide/configuration.md

[grammar] ~105-~105: Possível erro de concordância verbal.
Context: ...ore de diretórios completa (respeitando os padrões ignore) enquanto processa apenas os arquivos i...

(GENERAL_VERB_AGREEMENT_ERRORS)

website/client/src/fr/guide/configuration.md

[typographical] ~105-~105: Caractère d’apostrophe incorrect.
Context: ...ture| Lors de l'utilisation de motifsinclude`, indique s'il faut afficher l'arbre de ...

(APOS_INCORRECT)


[grammar] ~105-~105: Envisagez une suppression.
Context: ...urnit un contexte complet du dépôt pour l'analyse IA | false | | output.git.sortByChanges | In...

(QB_NEW_FR_OTHER_ERROR_IDS_UNNECESSARY_SPACE___15)

website/client/src/pt-br/guide/command-line-options.md

[uncategorized] ~30-~30: Pontuação duplicada
Context: ...ra de Diretórios, mesmo ao usar padrões --include - --include-diffs: Incluir dif...

(DOUBLE_PUNCTUATION_XML)

🪛 markdownlint-cli2 (0.18.1)
website/client/src/pt-br/guide/usage.md

41-41: Fenced code blocks should have a language specified

(MD040, fenced-code-language)


51-51: Fenced code blocks should have a language specified

(MD040, fenced-code-language)

website/client/src/de/guide/usage.md

41-41: Fenced code blocks should have a language specified

(MD040, fenced-code-language)


51-51: Fenced code blocks should have a language specified

(MD040, fenced-code-language)

website/client/src/ko/guide/usage.md

41-41: Fenced code blocks should have a language specified

(MD040, fenced-code-language)


51-51: Fenced code blocks should have a language specified

(MD040, fenced-code-language)

website/client/src/vi/guide/usage.md

53-53: Fenced code blocks should have a language specified

(MD040, fenced-code-language)


63-63: Fenced code blocks should have a language specified

(MD040, fenced-code-language)

website/client/src/zh-tw/guide/usage.md

41-41: Fenced code blocks should have a language specified

(MD040, fenced-code-language)


51-51: Fenced code blocks should have a language specified

(MD040, fenced-code-language)

website/client/src/id/guide/usage.md

50-50: Fenced code blocks should have a language specified

(MD040, fenced-code-language)


60-60: Fenced code blocks should have a language specified

(MD040, fenced-code-language)

website/client/src/ja/guide/usage.md

41-41: Fenced code blocks should have a language specified

(MD040, fenced-code-language)


51-51: Fenced code blocks should have a language specified

(MD040, fenced-code-language)

website/client/src/hi/guide/usage.md

49-49: Fenced code blocks should have a language specified

(MD040, fenced-code-language)


59-59: Fenced code blocks should have a language specified

(MD040, fenced-code-language)

⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
  • GitHub Check: Test (windows-latest, 20.x)
  • GitHub Check: Test with Bun (windows-latest, latest)
  • GitHub Check: Cloudflare Pages
🔇 Additional comments (24)
website/client/src/zh-tw/guide/command-line-options.md (1)

30-30: Well-placed documentation addition for the new CLI flag.

The new --include-full-directory-structure option is correctly positioned within the "Repomix輸出選項" section alongside related output-control flags. The description clearly conveys the feature purpose, and the formatting is consistent with other options in the document.

Please confirm that the Traditional Chinese translation accurately conveys the feature intent (displaying the full repository directory tree in output even when using --include patterns). If you need verification of the translation quality, consider having a native speaker review it.

website/client/src/es/guide/configuration.md (1)

105-105: Documentation addition is accurate and consistent. The Spanish translation clearly describes the feature's dual behavior: displaying the complete directory tree while processing only included files. The table formatting aligns with surrounding entries. The static analysis grammar hint appears to be a false positive—the conditional usage of "si" (whether/if) is grammatically correct in this context.

website/client/src/ko/guide/configuration.md (1)

105-105: Documentation addition is accurate and well-localized. The Korean translation properly conveys the feature's functionality, and table formatting is consistent with surrounding configuration options.

website/client/src/vi/guide/configuration.md (1)

105-105: Documentation addition is accurate and appropriately localized. The Vietnamese translation clearly explains the feature's purpose within the configuration context, and formatting is consistent.

website/client/src/en/guide/configuration.md (1)

105-105: Documentation addition is clear and accurate. The description precisely explains the feature's dual functionality—displaying the full directory tree while constraining file processing to include patterns. Table formatting is consistent with adjacent entries.

website/client/src/en/guide/command-line-options.md (1)

30-30: CLI option documentation is clear and properly positioned. The description concisely explains the flag's behavior, and the placement under "Repomix Output Options" with consistent formatting aligns with surrounding options.

website/client/src/ko/guide/command-line-options.md (1)

30-30: CLI option documentation is well-localized and correctly positioned. The Korean description accurately conveys the flag's functionality, maintaining consistency with the English version and surrounding options.

website/client/src/es/guide/command-line-options.md (1)

30-30: CLI option documentation is accurately localized and properly positioned. The Spanish description clearly explains the flag's behavior while maintaining parity with the English version and consistent formatting with adjacent options.

website/client/src/id/guide/configuration.md (1)

105-105: Documentation addition is accurate and well-localized for Indonesian. The description properly explains the dual-function behavior of the feature, and table formatting is consistent with surrounding configuration options.

website/client/src/vi/guide/command-line-options.md (1)

30-30: LGTM!

The Vietnamese translation is clear and properly positioned within the Repomix Output Options section. The wording naturally conveys that the flag displays the full repository tree while respecting include patterns.

website/client/src/ja/guide/command-line-options.md (1)

30-30: LGTM!

The Japanese translation clearly explains that the flag shows the full repository tree in the Directory Structure section even when using include patterns. Proper placement and consistent with the overall documentation.

website/client/src/de/guide/command-line-options.md (1)

30-30: LGTM!

The German translation clearly conveys the feature's purpose. The static analysis hint about hyphens is a false positive—the --include- formatting is correct.

website/client/src/fr/guide/command-line-options.md (1)

30-30: LGTM!

The French translation is natural and clearly explains the feature's behavior. Properly positioned in the Repomix Output Options section.

website/client/src/ja/guide/configuration.md (1)

105-105: LGTM!

The configuration option is clearly documented in Japanese with a comprehensive description explaining that it displays the full directory tree (respecting ignore patterns) while processing only included files. The default value and formatting are consistent with other configuration options.

website/client/src/pt-br/guide/command-line-options.md (1)

30-30: LGTM!

The Portuguese translation clearly describes the feature. Properly positioned within the Repomix Output Options section and consistent with translations in other languages.

README.md (1)

1172-1172: Configuration option addition looks good.

The new output.includeFullDirectoryStructure configuration option is clearly documented with appropriate description and default value. The placement and formatting align with existing table entries.

website/client/src/de/guide/configuration.md (1)

105-105: Configuration option addition is properly localized.

The German documentation for output.includeFullDirectoryStructure is accurate and well-integrated into the configuration table. The description clearly conveys the feature's purpose in German.

website/client/src/id/guide/command-line-options.md (1)

30-30: CLI option documentation is accurate.

The Indonesian translation of the --include-full-directory-structure CLI option is clear, properly positioned, and consistent with the feature documentation elsewhere.

website/client/src/zh-cn/guide/command-line-options.md (1)

30-30: CLI option documentation is accurate.

The Simplified Chinese translation of the --include-full-directory-structure CLI option is clear, properly positioned, and consistent with the feature documentation elsewhere.

website/client/src/hi/guide/configuration.md (1)

105-105: Configuration option addition looks good.

The new output.includeFullDirectoryStructure option is correctly added to the configuration table with clear description, appropriate default (false), and proper placement.

website/client/src/hi/guide/command-line-options.md (1)

30-30: CLI option documentation is clear and properly placed.

The new flag is correctly documented under Repomix Output Options with an accurate description of its behavior when using include patterns.

website/client/src/zh-tw/guide/configuration.md (2)

105-105: Configuration table entry is correctly positioned and formatted.

The new option row is properly placed after output.includeEmptyDirectories with clear Traditional Chinese description. The description accurately conveys that the option displays the full directory tree when using include patterns while respecting ignore patterns and processing only included files.


105-105: Consistency verified across all 12 language versions.

The output.includeFullDirectoryStructure option is properly documented in all language versions (en, zh-tw, zh-cn, ja, de, fr, es, pt-br, id, vi, hi, ko) with:

  • Consistent table structure and formatting
  • Matching default value (false)
  • Semantically equivalent translations that accurately convey the same meaning
  • Proper placement between existing options
website/client/src/fr/guide/configuration.md (1)

105-105: Configuration option documentation looks good.

The table row for output.includeFullDirectoryStructure is well-positioned and clearly describes the feature's purpose and behavior. The default value of false is appropriate.

@yamadashy
Copy link
Owner Author

Update directory structure example to accurately reflect default --include behavior:

Following the review comment by Gemini Code Assistant, I've updated the usage.md files across all 12 supported languages to:

  1. Show only files matching the glob pattern (only main.go) when --include is used without --include-full-directory-structure
  2. Update the explanatory note to clarify the default file matching behavior
  3. Maintain consistent translations across all language versions

This change helps prevent user confusion about how --include patterns work by default.

Example in usage documentation:

Without the flag:
<directory_structure>
cli/
  main.go
</directory_structure>

With `--include-full-directory-structure`:
<directory_structure>
README.md
LICENSE.md
cli/
  go.mod
  main.go
  README.md
docs/
  guide.md
</directory_structure>

Resolves potential misunderstanding highlighted in the code review.

@claude
Copy link
Contributor

claude bot commented Oct 18, 2025

Pull Request Review

This is an excellent documentation PR that comprehensively documents the --include-full-directory-structure feature across all 12 language versions. The documentation is well-structured, clear, and provides valuable context for users.

✅ Strengths

1. Comprehensive Coverage

  • All 12 language versions updated consistently (en, ja, de, fr, es, pt-br, id, vi, hi, ko, zh-cn, zh-tw)
  • Three documentation files updated per language: usage.md, configuration.md, and command-line-options.md
  • README.md also updated with the configuration option

2. Excellent Documentation Structure

  • Clear explanation of the feature's purpose and benefits
  • Practical code examples showing usage
  • Visual comparison (with/without flag) that clearly demonstrates the difference
  • Helpful notes explaining the scope of the flag's impact

3. Quality Translations

  • Translations appear natural and consistent with existing terminology
  • Technical terms appropriately localized
  • Examples maintain consistency across all languages

4. User-Focused Content
The documentation effectively communicates:

  • What the flag does (shows full directory tree while processing selected files)
  • Why to use it (full project context for AI analysis)
  • How to use it (clear command examples)
  • Benefits (full context + focused processing)
Minor Observations (Not Blocking)

1. Example Inconsistency
In the English version (and most translations), the "Without the flag" example shows only main.go, while the Spanish example shows all three files (go.mod, main.go, README.md). This is a minor inconsistency but doesn't affect understanding.

English (en/guide/usage.md:40-45):

Without the flag:
<directory_structure>
cli/
  main.go
</directory_structure>

Spanish (es/guide/usage.md:40-47):

Sin la bandera:
<directory_structure>
cli/
  go.mod
  main.go
  README.md
</directory_structure>

Recommendation: Consider standardizing the "without flag" example to show only main.go across all languages, as it better demonstrates the difference when compared to the "with flag" example.

2. German Translation Note
The German version uses "Hinweis" (Note) consistently, which is appropriate. The explanation is clear and accurate.

🎯 Verification

The documentation accurately reflects the feature implementation from PR #896:

  • ✅ Correctly describes opt-in behavior (default false)
  • ✅ Accurately explains that it affects visualization only, not file processing
  • ✅ Properly notes that ignore patterns are still respected
  • ✅ Configuration option name matches: output.includeFullDirectoryStructure
  • ✅ CLI flag matches: --include-full-directory-structure

📋 Checklist Review

Summary

This PR successfully completes the documentation for the --include-full-directory-structure feature. The documentation is comprehensive, well-written, and provides excellent value to users. The translations maintain quality across all supported languages.

Recommendation:Approve - This PR is ready to merge. The minor example inconsistency noted above is not blocking and could optionally be addressed in a follow-up if desired.

Great work! 🎉

Clarify the default behavior of --include option in usage.md across
all language versions.

Changes:
- Modify example to show only files matching the glob pattern
  when --include is used without --include-full-directory-structure
- Update note to explain default --include pattern behavior
- Maintain consistent translation across all 12 languages

Addresses Gemini Code Assistant's review comment about potentially
misleading directory structure example that could confuse users about
the base behavior of --include patterns.

Languages updated: de, en, es, fr, hi, id, ja, ko, pt-br, vi, zh-cn, zh-tw

Related to PR #896
@yamadashy yamadashy force-pushed the docs/include-full-directory-structure branch from a2cab8a to 6fe7793 Compare October 18, 2025 05:59
@claude
Copy link
Contributor

claude bot commented Oct 18, 2025

PR Review: Documentation for --include-full-directory-structure

Overall, this is an excellent documentation PR that thoroughly covers the new feature across all supported languages. The changes are well-structured and consistent. Here's my detailed feedback:


✅ Strengths

  1. Comprehensive Coverage: All 12 language versions are updated consistently across 3 documentation files each (command-line-options.md, configuration.md, and README.md)

  2. Clear Documentation: The feature description is concise and accurately describes what the flag does

  3. Consistent Terminology: The translations maintain consistent terminology with existing documentation in each language

  4. Well-Structured Commits: Follows Conventional Commits specification properly with appropriate scopes

  5. Non-Breaking: Properly documents this as an opt-in feature with false as default


📝 Minor Suggestions

1. Configuration Table Formatting

The new configuration entry is quite long and may cause table formatting issues in some contexts. The description spans multiple lines:

| `output.includeFullDirectoryStructure` | When using `include` patterns, whether to display the complete directory tree (respecting ignore patterns) while still processing only the included files. Provides full repository context for AI analysis | `false` |

Suggestion: Consider slightly condensing the description while maintaining clarity. For example:

| `output.includeFullDirectoryStructure` | Display complete directory tree when using `include` patterns (respects ignore rules). Provides full repository context for AI analysis | `false` |

This maintains the same information but improves readability in narrow table columns.

2. Translation Consistency Check

While the translations appear well-done, I recommend having native speakers verify these specific technical terms are natural in each language:

  • "respecting ignore patterns" / "respetando los patrones ignore" / "respektiert Ignorier-Muster"
  • "AI analysis" / "análisis de IA" / "KI-Analyse"

Most languages use the technical English term "ignore" directly, which is a good choice for developer-facing documentation.

3. Usage Example Enhancement (Optional)

The command-line-options.md files describe the flag but don't include a usage example. Consider adding a brief example in a future update to show when users might want this feature, similar to other complex flags in the documentation.

For example (in the English version):

- `--include-full-directory-structure`: Show entire repository tree in the Directory Structure section, even when using --include patterns
  - Example: `repomix --include "src/**/*.ts" --include-full-directory-structure` shows the full project structure while only processing TypeScript files in src/

However, this is entirely optional as the current description is clear enough.


🎯 Code Quality Assessment


🔒 Security & Performance

  • No security concerns (documentation only)
  • No performance impact (documentation only)

🧪 Testing

The PR correctly indicates that this is a documentation-only change. No code tests are needed, though manual verification of markdown rendering would be beneficial.


✨ Summary

This PR successfully completes the documentation for the --include-full-directory-structure feature introduced in PR #896. The documentation is thorough, well-translated, and maintains consistency across all supported languages. The minor suggestions above are optional improvements that could be considered in future documentation updates.

Recommendation: ✅ Approve - Ready to merge as-is. The minor suggestions are entirely optional enhancements.

Great work on maintaining comprehensive multilingual documentation! 🎉

@yamadashy yamadashy merged commit 9d1a383 into main Oct 18, 2025
48 checks passed
@yamadashy yamadashy deleted the docs/include-full-directory-structure branch October 18, 2025 06:03
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.

2 participants