From 2bc30de0ab9e1e2ca13c37f27b8362206fd67721 Mon Sep 17 00:00:00 2001 From: Dexoron Date: Sat, 18 Jul 2026 20:08:48 +0800 Subject: [PATCH] New translations dependencies.mdx (Ukrainian) [ci skip] --- .../uk-UA/docs/reference/dependencies.mdx.mdx | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/docs-crowdin-export/uk-UA/docs/reference/dependencies.mdx.mdx b/docs-crowdin-export/uk-UA/docs/reference/dependencies.mdx.mdx index a2a88a9..8ab4a3c 100644 --- a/docs-crowdin-export/uk-UA/docs/reference/dependencies.mdx.mdx +++ b/docs-crowdin-export/uk-UA/docs/reference/dependencies.mdx.mdx @@ -41,24 +41,22 @@ DCR uses a package registry for dependency lookup by name. ```toml # ~/.dcr/config.toml -[[registry]] -name = "default" +[registry.default] url = "https://index.dcr.pm" +priority = 1 ``` Registry priority: order in `config.toml`. The `DCR_INDEX_PATH` variable overrides the path to `index.json`. ## Git dependencies -DCR clones git repositories via `git2`: +Git dependencies are parsed and recorded in `dcr.lock`. DCR supports specifying branch/tag/rev for git sources: * `branch` — switch to a branch * `tag` — switch to a tag * `rev` — switch to a specific commit * `features` — feature flags (parsed, but does not affect build) -Cache path: `~/.dcr/git/\/`. - ## Path dependencies Local paths. DCR automatically discovers include and lib directories from the neighbor's `dcr.toml`.