Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ These fields can be set in `defaults` and are inherited by every source unless o
| `maxBytes` | Maximum total bytes to materialize. Default: `200000000` (200 MB). |
| `maxFiles` | Maximum total files to materialize. |
| `ignoreHidden` | Skip hidden files and directories (dotfiles). Default: `false`. |
| `allowHosts` | Allowed Git hosts. Default: `["github.com", "gitlab.com"]`. |
| `allowHosts` | Allowed Git hosts. Default: `["github.com", "gitlab.com", "visualstudio.com"]`. |
Copy link

Copilot AI Feb 3, 2026

Choose a reason for hiding this comment

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

If "dev.azure.com" is added to the allowHosts in src/config.ts, this documentation should also reflect both Azure DevOps domains. Consider updating to: ["github.com", "gitlab.com", "visualstudio.com", "dev.azure.com"]

Suggested change
| `allowHosts` | Allowed Git hosts. Default: `["github.com", "gitlab.com", "visualstudio.com"]`. |
| `allowHosts` | Allowed Git hosts. Default: `["github.com", "gitlab.com", "visualstudio.com", "dev.azure.com"]`. |

Copilot uses AI. Check for mistakes.
| `toc` | Generate per-source `TOC.md`. Default: `true`. Supports `true`, `false`, or a format: `"tree"` (human readable), `"compressed"` |
| `unwrapSingleRootDir` | If the materialized output is nested under a single directory, unwrap it (recursively). Default: `false`. |

Expand Down
2 changes: 1 addition & 1 deletion src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export const DEFAULT_CONFIG: DocsCacheConfig = {
required: true,
maxBytes: 200000000,
ignoreHidden: false,
allowHosts: ["github.com", "gitlab.com"],
allowHosts: ["github.com", "gitlab.com", "visualstudio.com"],
Copy link

Copilot AI Feb 3, 2026

Choose a reason for hiding this comment

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

Azure DevOps uses both "visualstudio.com" (legacy) and "dev.azure.com" (modern) as Git hosts. To properly support Azure DevOps, both domains should be included in the allowHosts array. The modern domain "dev.azure.com" is the current primary domain for Azure DevOps Git repositories, while "visualstudio.com" is still used by older repositories. Consider adding both: ["github.com", "gitlab.com", "visualstudio.com", "dev.azure.com"]

Suggested change
allowHosts: ["github.com", "gitlab.com", "visualstudio.com"],
allowHosts: ["github.com", "gitlab.com", "visualstudio.com", "dev.azure.com"],

Copilot uses AI. Check for mistakes.
toc: true,
unwrapSingleRootDir: false,
},
Expand Down
Loading