diff --git a/src/config/segment_types.go b/src/config/segment_types.go index cd865c1e..8821e42f 100644 --- a/src/config/segment_types.go +++ b/src/config/segment_types.go @@ -334,7 +334,9 @@ func (segment *Segment) MapSegmentWithWriter(env runtime.Environment) error { wrapper := &properties.Wrapper{ Properties: segment.Properties, } + writer.Init(wrapper, env) segment.writer = writer + return nil } diff --git a/src/segments/language.go b/src/segments/language.go index ce607b64..2d54d545 100644 --- a/src/segments/language.go +++ b/src/segments/language.go @@ -98,8 +98,6 @@ const ( LanguageExtensions properties.Property = "extensions" // LanguageFolders the list of folders to validate LanguageFolders properties.Property = "folders" - // CacheVersion allows caching the version number - CacheVersion properties.Property = "cache_version" ) func (l *language) Enabled() bool { diff --git a/themes/schema.json b/themes/schema.json index 1d227488..ca58e66f 100644 --- a/themes/schema.json +++ b/themes/schema.json @@ -54,12 +54,6 @@ "description": "Milliseconds to use for http request timeouts", "default": 20 }, - "cache_version": { - "type": "boolean", - "title": "Cache Version", - "description": "Cache the executable's version or not", - "default": false - }, "expires_in": { "type": "integer", "title": "Expires in", @@ -571,9 +565,6 @@ "version_url_template": { "$ref": "#/definitions/version_url_template" }, - "cache_version": { - "$ref": "#/definitions/cache_version" - }, "extensions": { "type": "array", "title": "Extensions", @@ -771,9 +762,6 @@ "version_url_template": { "$ref": "#/definitions/version_url_template" }, - "cache_version": { - "$ref": "#/definitions/cache_version" - }, "icon": { "type": "string", "title": "Icon", @@ -843,9 +831,6 @@ "version_url_template": { "$ref": "#/definitions/version_url_template" }, - "cache_version": { - "$ref": "#/definitions/cache_version" - }, "extensions": { "type": "array", "title": "Extensions", @@ -896,9 +881,6 @@ "version_url_template": { "$ref": "#/definitions/version_url_template" }, - "cache_version": { - "$ref": "#/definitions/cache_version" - }, "extensions": { "type": "array", "title": "Extensions", @@ -1055,9 +1037,6 @@ "version_url_template": { "$ref": "#/definitions/version_url_template" }, - "cache_version": { - "$ref": "#/definitions/cache_version" - }, "extensions": { "type": "array", "title": "Extensions", @@ -1120,9 +1099,6 @@ "version_url_template": { "$ref": "#/definitions/version_url_template" }, - "cache_version": { - "$ref": "#/definitions/cache_version" - }, "extensions": { "type": "array", "title": "Extensions", @@ -1218,9 +1194,6 @@ "version_url_template": { "$ref": "#/definitions/version_url_template" }, - "cache_version": { - "$ref": "#/definitions/cache_version" - }, "extensions": { "type": "array", "title": "Extensions", @@ -1513,9 +1486,6 @@ "version_url_template": { "$ref": "#/definitions/version_url_template" }, - "cache_version": { - "$ref": "#/definitions/cache_version" - }, "parse_mod_file": { "type": "boolean", "title": "Parse go.mod file", @@ -1571,9 +1541,6 @@ "version_url_template": { "$ref": "#/definitions/version_url_template" }, - "cache_version": { - "$ref": "#/definitions/cache_version" - }, "extensions": { "type": "array", "title": "Extensions", @@ -1633,9 +1600,6 @@ "version_url_template": { "$ref": "#/definitions/version_url_template" }, - "cache_version": { - "$ref": "#/definitions/cache_version" - }, "extensions": { "type": "array", "title": "Extensions", @@ -1686,9 +1650,6 @@ "version_url_template": { "$ref": "#/definitions/version_url_template" }, - "cache_version": { - "$ref": "#/definitions/cache_version" - }, "extensions": { "type": "array", "title": "Extensions", @@ -1738,9 +1699,6 @@ "version_url_template": { "$ref": "#/definitions/version_url_template" }, - "cache_version": { - "$ref": "#/definitions/cache_version" - }, "extensions": { "type": "array", "title": "Extensions", @@ -1789,9 +1747,6 @@ "version_url_template": { "$ref": "#/definitions/version_url_template" }, - "cache_version": { - "$ref": "#/definitions/cache_version" - }, "extensions": { "type": "array", "title": "Extensions", @@ -1843,9 +1798,6 @@ "version_url_template": { "$ref": "#/definitions/version_url_template" }, - "cache_version": { - "$ref": "#/definitions/cache_version" - }, "extensions": { "type": "array", "title": "Extensions", @@ -1894,9 +1846,6 @@ "missing_command_text": { "$ref": "#/definitions/missing_command_text" }, - "cache_version": { - "$ref": "#/definitions/cache_version" - }, "version_url_template": { "$ref": "#/definitions/version_url_template" }, @@ -1954,9 +1903,6 @@ "missing_command_text": { "$ref": "#/definitions/missing_command_text" }, - "cache_version": { - "$ref": "#/definitions/cache_version" - }, "version_url_template": { "$ref": "#/definitions/version_url_template" }, @@ -2004,9 +1950,6 @@ "missing_command_text": { "$ref": "#/definitions/missing_command_text" }, - "cache_version": { - "$ref": "#/definitions/cache_version" - }, "version_url_template": { "$ref": "#/definitions/version_url_template" }, @@ -2054,9 +1997,6 @@ "missing_command_text": { "$ref": "#/definitions/missing_command_text" }, - "cache_version": { - "$ref": "#/definitions/cache_version" - }, "version_url_template": { "$ref": "#/definitions/version_url_template" }, @@ -2170,9 +2110,6 @@ "version_url_template": { "$ref": "#/definitions/version_url_template" }, - "cache_version": { - "$ref": "#/definitions/cache_version" - }, "fetch_package_manager": { "type": "boolean", "title": "Fetch Display Package Manager", @@ -2625,9 +2562,6 @@ "version_url_template": { "$ref": "#/definitions/version_url_template" }, - "cache_version": { - "$ref": "#/definitions/cache_version" - }, "extensions": { "type": "array", "title": "Extensions", @@ -2746,9 +2680,6 @@ "description": "Fetch the vite and @quasar/app-vite dependency information or not", "default": true }, - "cache_version": { - "$ref": "#/definitions/cache_version" - }, "extensions": { "type": "array", "title": "Extensions", @@ -3118,9 +3049,6 @@ "version_url_template": { "$ref": "#/definitions/version_url_template" }, - "cache_version": { - "$ref": "#/definitions/cache_version" - }, "extensions": { "type": "array", "title": "Extensions", @@ -3341,9 +3269,6 @@ "version_url_template": { "$ref": "#/definitions/version_url_template" }, - "cache_version": { - "$ref": "#/definitions/cache_version" - }, "extensions": { "type": "array", "title": "Extensions", @@ -3392,9 +3317,6 @@ "version_url_template": { "$ref": "#/definitions/version_url_template" }, - "cache_version": { - "$ref": "#/definitions/cache_version" - }, "extensions": { "type": "array", "title": "Extensions", @@ -3443,9 +3365,6 @@ "version_url_template": { "$ref": "#/definitions/version_url_template" }, - "cache_version": { - "$ref": "#/definitions/cache_version" - }, "extensions": { "type": "array", "title": "Extensions", @@ -3492,9 +3411,6 @@ "missing_command_text": { "$ref": "#/definitions/missing_command_text" }, - "cache_version": { - "$ref": "#/definitions/cache_version" - }, "version_url_template": { "$ref": "#/definitions/version_url_template" }, @@ -3853,9 +3769,6 @@ "version_url_template": { "$ref": "#/definitions/version_url_template" }, - "cache_version": { - "$ref": "#/definitions/cache_version" - }, "stack_ghc_mode": { "type": "string", "title": "Use Stack GHC", @@ -3942,9 +3855,6 @@ "version_url_template": { "$ref": "#/definitions/version_url_template" }, - "cache_version": { - "$ref": "#/definitions/cache_version" - }, "extensions": { "type": "array", "title": "Extensions", @@ -4025,9 +3935,6 @@ "missing_command_text": { "$ref": "#/definitions/missing_command_text" }, - "cache_version": { - "$ref": "#/definitions/cache_version" - }, "version_url_template": { "$ref": "#/definitions/version_url_template" }, @@ -4079,9 +3986,6 @@ "version_url_template": { "$ref": "#/definitions/version_url_template" }, - "cache_version": { - "$ref": "#/definitions/cache_version" - }, "extensions": { "type": "array", "title": "Extensions", @@ -4160,9 +4064,6 @@ "version_url_template": { "$ref": "#/definitions/version_url_template" }, - "cache_version": { - "$ref": "#/definitions/cache_version" - }, "extensions": { "type": "array", "title": "Extensions", @@ -4259,9 +4160,6 @@ "version_url_template": { "$ref": "#/definitions/version_url_template" }, - "cache_version": { - "$ref": "#/definitions/cache_version" - }, "preferred_executable": { "type": "string", "title": "Preferred Executable", @@ -4321,9 +4219,6 @@ "version_url_template": { "$ref": "#/definitions/version_url_template" }, - "cache_version": { - "$ref": "#/definitions/cache_version" - }, "extensions": { "type": "array", "title": "Extensions", @@ -4370,9 +4265,6 @@ "missing_command_text": { "$ref": "#/definitions/missing_command_text" }, - "cache_version": { - "$ref": "#/definitions/cache_version" - }, "version_url_template": { "$ref": "#/definitions/version_url_template" }, @@ -4426,9 +4318,6 @@ "version_url_template": { "$ref": "#/definitions/version_url_template" }, - "cache_version": { - "$ref": "#/definitions/cache_version" - }, "extensions": { "type": "array", "title": "Extensions", @@ -4662,9 +4551,6 @@ "version_url_template": { "$ref": "#/definitions/version_url_template" }, - "cache_version": { - "$ref": "#/definitions/cache_version" - }, "extensions": { "type": "array", "title": "Extensions", @@ -4714,9 +4600,6 @@ "version_url_template": { "$ref": "#/definitions/version_url_template" }, - "cache_version": { - "$ref": "#/definitions/cache_version" - }, "extensions": { "type": "array", "title": "Extensions", diff --git a/website/docs/segments/cli/angular.mdx b/website/docs/segments/cli/angular.mdx index 9b142596..013c818f 100644 --- a/website/docs/segments/cli/angular.mdx +++ b/website/docs/segments/cli/angular.mdx @@ -34,7 +34,6 @@ import Config from "@site/src/components/Config.js"; | `version_url_template` | `string` | | a go [text/template][go-text-template] [template][templates] that creates the URL of the version info / release notes | | `extensions` | `[]string` | `angular.json` | allows to override the default list of file extensions to validate | | `folders` | `[]string` | | allows to override the list of folder names to validate | -| `cache_version` | `boolean` | `false` | cache the executable's version or not | ## Template ([info][templates]) diff --git a/website/docs/segments/cli/bazel.mdx b/website/docs/segments/cli/bazel.mdx index ca82d162..f664464f 100644 --- a/website/docs/segments/cli/bazel.mdx +++ b/website/docs/segments/cli/bazel.mdx @@ -34,7 +34,6 @@ import Config from "@site/src/components/Config.js"; | `icon` | `string` | `\ue63a` | the icon for the segment | | `extensions` | `[]string` | `*.bazel, *.bzl, BUILD, WORKSPACE, .bazelrc, .bazelversion` | allows to override the default list of file extensions to validate | | `folders` | `[]string` | | | -| `cache_version` | `boolean` | `false` | cache the executable's version or not | ## Template ([info][templates]) diff --git a/website/docs/segments/cli/buf.mdx b/website/docs/segments/cli/buf.mdx index e787c5c0..a9cc3f88 100644 --- a/website/docs/segments/cli/buf.mdx +++ b/website/docs/segments/cli/buf.mdx @@ -32,7 +32,6 @@ import Config from "@site/src/components/Config.js"; | `version_url_template` | `string` | | a go [text/template][go-text-template] [template][templates] that creates the URL of the version info / release notes | | `extensions` | `[]string` | `buf.yaml, buf.gen.yaml, buf.work.yaml` | allows to override the default list of file extensions to validate | | `folders` | `[]string` | | allows to override the list of folder names to validate | -| `cache_version` | `boolean` | `false` | cache the executable's version or not | ## Template ([info][templates]) diff --git a/website/docs/segments/cli/bun.mdx b/website/docs/segments/cli/bun.mdx index 8ec9c8cf..47acaa36 100644 --- a/website/docs/segments/cli/bun.mdx +++ b/website/docs/segments/cli/bun.mdx @@ -32,7 +32,6 @@ import Config from "@site/src/components/Config.js"; | `version_url_template` | `string` | | a go [text/template][go-text-template] [template][templates] that creates the URL of the version info / release notes | | `extensions` | `[]string` | `bun.lockb` | allows to override the default list of file extensions to validate | | `folders` | `[]string` | | allows to override the list of folder names to validate | -| `cache_version` | `boolean` | `false` | cache the executable's version or not | ## Template ([info][templates]) diff --git a/website/docs/segments/cli/cmake.mdx b/website/docs/segments/cli/cmake.mdx index 3ed5b238..79d9ab8b 100644 --- a/website/docs/segments/cli/cmake.mdx +++ b/website/docs/segments/cli/cmake.mdx @@ -34,7 +34,6 @@ import Config from "@site/src/components/Config.js"; | `version_url_template` | `string` | | a go [text/template][go-text-template] [template][templates] that creates the URL of the version info / release notes | | `extensions` | `[]string` | `*.cmake, CMakeLists.txt` | allows to override the default list of file extensions to validate | | `folders` | `[]string` | | allows to override the list of folder names to validate | -| `cache_version` | `boolean` | `false` | cache the executable's version or not | ## Template ([info][templates]) diff --git a/website/docs/segments/cli/deno.mdx b/website/docs/segments/cli/deno.mdx index 1cf8de2f..96c9036b 100644 --- a/website/docs/segments/cli/deno.mdx +++ b/website/docs/segments/cli/deno.mdx @@ -32,7 +32,6 @@ import Config from "@site/src/components/Config.js"; | `version_url_template` | `string` | | a go [text/template][go-text-template] [template][templates] that creates the URL of the version info / release notes | | `extensions` | `[]string` | `*.ts, *.js, deno.json` | allows to override the default list of file extensions to validate | | `folders` | `[]string` | | allows to override the list of folder names to validate | -| `cache_version` | `boolean` | `false` | cache the executable's version or not | ## Template ([info][templates]) diff --git a/website/docs/segments/cli/flutter.mdx b/website/docs/segments/cli/flutter.mdx index 482114f1..0d8c2724 100644 --- a/website/docs/segments/cli/flutter.mdx +++ b/website/docs/segments/cli/flutter.mdx @@ -34,7 +34,6 @@ import Config from "@site/src/components/Config.js"; | `version_url_template` | `string` | | a go [text/template][go-text-template] [template][templates] that creates the URL of the version info / release notes | | `extensions` | `[]string` | `*.dart, pubspec.yaml, pubspec.yml, pubspec.lock` | allows to override the default list of file extensions to validate | | `folders` | `[]string` | `.dart_tool` | allows to override the list of folder names to validate | -| `cache_version` | `boolean` | `false` | cache the executable's version or not | ## Template ([info][templates]) diff --git a/website/docs/segments/cli/mvn.mdx b/website/docs/segments/cli/mvn.mdx index c4032c2a..c446310a 100644 --- a/website/docs/segments/cli/mvn.mdx +++ b/website/docs/segments/cli/mvn.mdx @@ -34,7 +34,6 @@ import Config from "@site/src/components/Config.js"; | `version_url_template` | `string` | | a go [text/template][go-text-template] [template][templates] that creates the URL of the version info / release notes | | `extensions` | `[]string` | `pom.xml` | allows to override the default list of file extensions to validate | | `folders` | `[]string` | | allows to override the list of folder names to validate | -| `cache_version` | `boolean` | `false` | cache the executable's version or not | ## Template ([info][templates]) diff --git a/website/docs/segments/cli/npm.mdx b/website/docs/segments/cli/npm.mdx index 4a4b764d..c1897255 100644 --- a/website/docs/segments/cli/npm.mdx +++ b/website/docs/segments/cli/npm.mdx @@ -34,7 +34,6 @@ import Config from "@site/src/components/Config.js"; | `version_url_template` | `string` | | a go [text/template][go-text-template] [template][templates] that creates the URL of the version info / release notes | | `extensions` | `[]string` | `package.json, package-lock.json` | allows to override the default list of file extensions to validate | | `folders` | `[]string` | | allows to override the list of folder names to validate | -| `cache_version` | `boolean` | `false` | cache the executable's version or not | ## Template ([info][templates]) diff --git a/website/docs/segments/cli/nx.mdx b/website/docs/segments/cli/nx.mdx index 76b1f2c6..5a253fca 100644 --- a/website/docs/segments/cli/nx.mdx +++ b/website/docs/segments/cli/nx.mdx @@ -34,7 +34,6 @@ import Config from "@site/src/components/Config.js"; | `version_url_template` | `string` | | a go [text/template][go-text-template] [template][templates] that creates the URL of the version info / release notes | | `extensions` | `[]string` | `workspace.json, nx.json` | allows to override the default list of file extensions to validate | | `folders` | `[]string` | | allows to override the list of folder names to validate | -| `cache_version` | `boolean` | `false` | cache the executable's version or not | ## Template ([info][templates]) diff --git a/website/docs/segments/cli/pnpm.mdx b/website/docs/segments/cli/pnpm.mdx index 983f955c..d742dd7a 100644 --- a/website/docs/segments/cli/pnpm.mdx +++ b/website/docs/segments/cli/pnpm.mdx @@ -34,7 +34,6 @@ import Config from "@site/src/components/Config.js"; | `version_url_template` | `string` | | a go [text/template][go-text-template] [template][templates] that creates the URL of the version info / release notes | | `extensions` | `[]string` | `package.json, pnpm-lock.yaml` | allows to override the default list of file extensions to validate | | `folders` | `[]string` | | allows to override the list of folder names to validate | -| `cache_version` | `boolean` | `false` | cache the executable's version or not | ## Template ([info][templates]) diff --git a/website/docs/segments/cli/quasar.mdx b/website/docs/segments/cli/quasar.mdx index ace5900b..349c6601 100644 --- a/website/docs/segments/cli/quasar.mdx +++ b/website/docs/segments/cli/quasar.mdx @@ -36,7 +36,6 @@ import Config from "@site/src/components/Config.js"; | `fetch_dependencies` | `boolean` | `false` | fetch the version number of the `vite` and `@quasar/app-vite` dependencies if present | | `extensions` | `[]string` | `quasar.config, quasar.config.js` | allows to override the default list of file extensions to validate | | `folders` | `[]string` | | allows to override the list of folder names to validate | -| `cache_version` | `boolean` | `false` | cache the executable's version or not | ## Template ([info][templates]) diff --git a/website/docs/segments/cli/react.mdx b/website/docs/segments/cli/react.mdx index 3a2f8893..5bed17e7 100644 --- a/website/docs/segments/cli/react.mdx +++ b/website/docs/segments/cli/react.mdx @@ -33,7 +33,6 @@ import Config from "@site/src/components/Config.js"; | `version_url_template` | `string` | | a go [text/template][go-text-template] [template][templates] that creates the URL of the version info / release notes | | `extensions` | `[]string` | `package.json` | allows to override the default list of file extensions to validate | | `folders` | `[]string` | | allows to override the list of folder names to validate | -| `cache_version` | `boolean` | `false` | cache the executable's version or not | ## Template ([info][templates]) diff --git a/website/docs/segments/cli/ui5tooling.mdx b/website/docs/segments/cli/ui5tooling.mdx index cb74a2a0..eac88ef5 100644 --- a/website/docs/segments/cli/ui5tooling.mdx +++ b/website/docs/segments/cli/ui5tooling.mdx @@ -35,7 +35,6 @@ import Config from "@site/src/components/Config.js"; | `version_url_template` | `string` | | a go [text/template][go-text-template] [template][templates] that creates the URL of the version info / release notes | | `extensions` | `[]string` | `*ui5*.y*ml` | allows to override the default list of file extensions to validate | | `folders` | `[]string` | | allows to override the list of folder names to validate | -| `cache_version` | `boolean` | `false` | cache the executable's version or not | ## Template ([info][templates]) diff --git a/website/docs/segments/cli/xmake.mdx b/website/docs/segments/cli/xmake.mdx index 57d170c4..4e98749c 100644 --- a/website/docs/segments/cli/xmake.mdx +++ b/website/docs/segments/cli/xmake.mdx @@ -34,7 +34,6 @@ import Config from "@site/src/components/Config.js"; | `version_url_template` | `string` | | a go [text/template][go-text-template] [template][templates] that creates the URL of the version info / release notes | | `extensions` | `[]string` | `xmake.lua` | allows to override the default list of file extensions to validate | | `folders` | `[]string` | | allows to override the list of folder names to validate | -| `cache_version` | `boolean` | `false` | cache the executable's version or not | ## Template ([into][templates]) diff --git a/website/docs/segments/cli/yarn.mdx b/website/docs/segments/cli/yarn.mdx index 512c6d62..ab115b9c 100644 --- a/website/docs/segments/cli/yarn.mdx +++ b/website/docs/segments/cli/yarn.mdx @@ -34,7 +34,6 @@ import Config from "@site/src/components/Config.js"; | `version_url_template` | `string` | | a go [text/template][go-text-template] [template][templates] that creates the URL of the version info / release notes | | `extensions` | `[]string` | `package.json, yarn.lock` | allows to override the default list of file extensions to validate | | `folders` | `[]string` | | allows to override the list of folder names to validate | -| `cache_version` | `boolean` | `false` | cache the executable's version or not | ## Template ([info][templates]) diff --git a/website/docs/segments/cloud/azfunc.mdx b/website/docs/segments/cloud/azfunc.mdx index 887f068c..1ea6ee44 100644 --- a/website/docs/segments/cloud/azfunc.mdx +++ b/website/docs/segments/cloud/azfunc.mdx @@ -38,7 +38,6 @@ import Config from "@site/src/components/Config.js"; | `version_url_template` | `string` | | a go [text/template][go-text-template] [template][templates] that creates the URL of the version info / release notes | | `extensions` | `[]string` | `host.json, local.settings.json, function.json` | allows to override the default list of file extensions to validate | | `folders` | `[]string` | | allows to override the list of folder names to validate | -| `cache_version` | `boolean` | `false` | cache the executable's version or not | ## Template ([info][templates]) diff --git a/website/docs/segments/cloud/cds.mdx b/website/docs/segments/cloud/cds.mdx index bd48bf12..09bfc321 100644 --- a/website/docs/segments/cloud/cds.mdx +++ b/website/docs/segments/cloud/cds.mdx @@ -34,7 +34,6 @@ import Config from "@site/src/components/Config.js"; | `version_url_template` | `string` | | a go [text/template][go-text-template] [template][templates] that creates the URL of the version info / release notes | | `extensions` | `[]string` | `.cdsrc.json, .cdsrc-private.json, *.cds` | allows to override the default list of file extensions to validate | | `folders` | `[]string` | | allows to override the list of folder names to validate | -| `cache_version` | `boolean` | `false` | cache the executable's version or not | ## Template ([info][templates]) diff --git a/website/docs/segments/cloud/cf.mdx b/website/docs/segments/cloud/cf.mdx index 859f4cd0..03b11a5d 100644 --- a/website/docs/segments/cloud/cf.mdx +++ b/website/docs/segments/cloud/cf.mdx @@ -34,7 +34,6 @@ import Config from "@site/src/components/Config.js"; | `version_url_template` | `string` | | a go [text/template][go-text-template] [template][templates] that creates the URL of the version info / release notes | | `extensions` | `[]string` | `manifest.yml, mta.yaml` | allows to override the default list of file extensions to validate | | `folders` | `[]string` | | allows to override the list of folder names to validate | -| `cache_version` | `boolean` | `false` | cache the executable's version or not | ## Template ([info][templates]) diff --git a/website/docs/segments/languages/crystal.mdx b/website/docs/segments/languages/crystal.mdx index a021432e..6b6faed8 100644 --- a/website/docs/segments/languages/crystal.mdx +++ b/website/docs/segments/languages/crystal.mdx @@ -34,7 +34,6 @@ import Config from "@site/src/components/Config.js"; | `version_url_template` | `string` | | a go [text/template][go-text-template] [template][templates] that creates the URL of the version info / release notes | | `extensions` | `[]string` | `*.cr, shard.yml` | allows to override the default list of file extensions to validate | | `folders` | `[]string` | | allows to override the list of folder names to validate | -| `cache_version` | `boolean` | `false` | cache the executable's version or not | ## Template ([info][templates]) diff --git a/website/docs/segments/languages/dart.mdx b/website/docs/segments/languages/dart.mdx index db2e4200..79b232be 100644 --- a/website/docs/segments/languages/dart.mdx +++ b/website/docs/segments/languages/dart.mdx @@ -34,7 +34,6 @@ import Config from "@site/src/components/Config.js"; | `version_url_template` | `string` | | a go [text/template][go-text-template] [template][templates] that creates the URL of the version info / release notes | | `extensions` | `[]string` | `*.dart, pubspec.yaml, pubspec.yml, pubspec.lock` | allows to override the default list of file extensions to validate | | `folders` | `[]string` | `.dart_tool` | allows to override the list of folder names to validate | -| `cache_version` | `boolean` | `false` | cache the executable's version or not | ## Template ([info][templates]) diff --git a/website/docs/segments/languages/dotnet.mdx b/website/docs/segments/languages/dotnet.mdx index 640ae519..32b46ea1 100644 --- a/website/docs/segments/languages/dotnet.mdx +++ b/website/docs/segments/languages/dotnet.mdx @@ -32,7 +32,6 @@ import Config from '@site/src/components/Config.js'; | `version_url_template` | `string` | | a go [text/template][go-text-template] [template][templates] that creates the URL of the version info / release notes | | `extensions` | `[]string` | `*.cs, *.csx, *.vb, *.fs, *.fsx, *.sln, *.slnf, *.csproj, *.fsproj, *.vbproj, global.json` | allows to override the default list of file extensions to validate | | `folders` | `[]string` | | allows to override the list of folder names to validate | -| `cache_version` | `boolean` | `false` | cache the executable's version or not | ## Template ([info][templates]) diff --git a/website/docs/segments/languages/elixir.mdx b/website/docs/segments/languages/elixir.mdx index 46d7b498..c026288a 100644 --- a/website/docs/segments/languages/elixir.mdx +++ b/website/docs/segments/languages/elixir.mdx @@ -34,7 +34,6 @@ import Config from "@site/src/components/Config.js"; | `version_url_template` | `string` | | a go [text/template][go-text-template] [template][templates] that creates the URL of the version info / release notes | | `extensions` | `[]string` | `*.ex, *.exs` | allows to override the default list of file extensions to validate | | `folders` | `[]string` | | allows to override the list of folder names to validate | -| `cache_version` | `boolean` | `false` | cache the executable's version or not | ## Template ([info][templates]) diff --git a/website/docs/segments/languages/golang.mdx b/website/docs/segments/languages/golang.mdx index 5f31b6de..95fb0629 100644 --- a/website/docs/segments/languages/golang.mdx +++ b/website/docs/segments/languages/golang.mdx @@ -35,7 +35,6 @@ import Config from "@site/src/components/Config.js"; | `parse_mod_file` | `boolean` | `false` | parse the go.mod file instead of calling `go version` | | `extensions` | `[]string` | `*.go, go.mod` | allows to override the default list of file extensions to validate | | `folders` | `[]string` | | allows to override the list of folder names to validate | -| `cache_version` | `boolean` | `false` | cache the executable's version or not | ## Template ([info][templates]) diff --git a/website/docs/segments/languages/haskell.mdx b/website/docs/segments/languages/haskell.mdx index 0264c1dd..792b116d 100644 --- a/website/docs/segments/languages/haskell.mdx +++ b/website/docs/segments/languages/haskell.mdx @@ -35,7 +35,6 @@ import Config from "@site/src/components/Config.js"; | `stack_ghc_mode` | `string` | `never` | determines when to use `stack ghc` to retrieve the version information. Using `stack ghc` will decrease performance.