From d2231582ef6dc114488d99994fae5266d7cf59a8 Mon Sep 17 00:00:00 2001 From: lens0021 Date: Fri, 27 Dec 2024 23:43:51 +0900 Subject: [PATCH] stdlib: Use the version tag in links --- docs/0.4.0-alpha/stdlib/doc/array.md | 30 ++++++++++++++-------------- docs/0.4.0-alpha/stdlib/doc/date.md | 8 ++++---- docs/0.4.0-alpha/stdlib/doc/env.md | 16 +++++++-------- docs/0.4.0-alpha/stdlib/doc/math.md | 10 +++++----- docs/0.4.0-alpha/stdlib/doc/text.md | 10 +++++----- 5 files changed, 37 insertions(+), 37 deletions(-) diff --git a/docs/0.4.0-alpha/stdlib/doc/array.md b/docs/0.4.0-alpha/stdlib/doc/array.md index 3a043b0..349eaba 100644 --- a/docs/0.4.0-alpha/stdlib/doc/array.md +++ b/docs/0.4.0-alpha/stdlib/doc/array.md @@ -13,12 +13,12 @@ Checks if a value is in the array. You can check the original tests for code examples: -* [array_contains_empty_num_array.ab](https://github.com/amber-lang/amber/blob/master/src/tests/stdlib/array_contains_empty_num_array.ab) -* [array_contains_empty_text_array.ab](https://github.com/amber-lang/amber/blob/master/src/tests/stdlib/array_contains_empty_text_array.ab) -* [array_contains_exact_match.ab](https://github.com/amber-lang/amber/blob/master/src/tests/stdlib/array_contains_exact_match.ab) -* [array_contains_partial_match_with_expanded_element.ab](https://github.com/amber-lang/amber/blob/master/src/tests/stdlib/array_contains_partial_match_with_expanded_element.ab) -* [array_contains_prefix_match.ab](https://github.com/amber-lang/amber/blob/master/src/tests/stdlib/array_contains_prefix_match.ab) -* [array_contains_text_array.ab](https://github.com/amber-lang/amber/blob/master/src/tests/stdlib/array_contains_text_array.ab) +* [array_contains_empty_num_array.ab](https://github.com/amber-lang/amber/blob/0.4.0-alpha/src/tests/stdlib/array_contains_empty_num_array.ab) +* [array_contains_empty_text_array.ab](https://github.com/amber-lang/amber/blob/0.4.0-alpha/src/tests/stdlib/array_contains_empty_text_array.ab) +* [array_contains_exact_match.ab](https://github.com/amber-lang/amber/blob/0.4.0-alpha/src/tests/stdlib/array_contains_exact_match.ab) +* [array_contains_partial_match_with_expanded_element.ab](https://github.com/amber-lang/amber/blob/0.4.0-alpha/src/tests/stdlib/array_contains_partial_match_with_expanded_element.ab) +* [array_contains_prefix_match.ab](https://github.com/amber-lang/amber/blob/0.4.0-alpha/src/tests/stdlib/array_contains_prefix_match.ab) +* [array_contains_text_array.ab](https://github.com/amber-lang/amber/blob/0.4.0-alpha/src/tests/stdlib/array_contains_text_array.ab) ## `array_extract_at` @@ -37,7 +37,7 @@ the array will be unchanged. You can check the original tests for code examples: -* [array_extract_at.ab](https://github.com/amber-lang/amber/blob/master/src/tests/stdlib/array_extract_at.ab) +* [array_extract_at.ab](https://github.com/amber-lang/amber/blob/0.4.0-alpha/src/tests/stdlib/array_extract_at.ab) ## `array_find` @@ -56,8 +56,8 @@ If the value is not found, the function returns -1. You can check the original tests for code examples: -* [array_find.ab](https://github.com/amber-lang/amber/blob/master/src/tests/stdlib/array_find.ab) -* [array_find_all.ab](https://github.com/amber-lang/amber/blob/master/src/tests/stdlib/array_find_all.ab) +* [array_find.ab](https://github.com/amber-lang/amber/blob/0.4.0-alpha/src/tests/stdlib/array_find.ab) +* [array_find_all.ab](https://github.com/amber-lang/amber/blob/0.4.0-alpha/src/tests/stdlib/array_find_all.ab) ## `array_find_all` @@ -74,7 +74,7 @@ Searches for a value in an array and returns an array with the index of the vari You can check the original tests for code examples: -* [array_find_all.ab](https://github.com/amber-lang/amber/blob/master/src/tests/stdlib/array_find_all.ab) +* [array_find_all.ab](https://github.com/amber-lang/amber/blob/0.4.0-alpha/src/tests/stdlib/array_find_all.ab) ## `array_first` @@ -92,7 +92,7 @@ value is undefined. You can check the original tests for code examples: -* [array_first.ab](https://github.com/amber-lang/amber/blob/master/src/tests/stdlib/array_first.ab) +* [array_first.ab](https://github.com/amber-lang/amber/blob/0.4.0-alpha/src/tests/stdlib/array_first.ab) ## `array_last` @@ -110,7 +110,7 @@ value is undefined. You can check the original tests for code examples: -* [array_last.ab](https://github.com/amber-lang/amber/blob/master/src/tests/stdlib/array_last.ab) +* [array_last.ab](https://github.com/amber-lang/amber/blob/0.4.0-alpha/src/tests/stdlib/array_last.ab) ## `array_pop` @@ -128,7 +128,7 @@ is empty, the return value is undefined, but the array will be unchanged. You can check the original tests for code examples: -* [array_pop.ab](https://github.com/amber-lang/amber/blob/master/src/tests/stdlib/array_pop.ab) +* [array_pop.ab](https://github.com/amber-lang/amber/blob/0.4.0-alpha/src/tests/stdlib/array_pop.ab) ## `array_remove_at` @@ -147,7 +147,7 @@ unchanged. You can check the original tests for code examples: -* [array_remove_at.ab](https://github.com/amber-lang/amber/blob/master/src/tests/stdlib/array_remove_at.ab) +* [array_remove_at.ab](https://github.com/amber-lang/amber/blob/0.4.0-alpha/src/tests/stdlib/array_remove_at.ab) ## `array_shift` @@ -165,5 +165,5 @@ is empty, the return value is undefined, but the array will be unchanged. You can check the original tests for code examples: -* [array_shift.ab](https://github.com/amber-lang/amber/blob/master/src/tests/stdlib/array_shift.ab) +* [array_shift.ab](https://github.com/amber-lang/amber/blob/0.4.0-alpha/src/tests/stdlib/array_shift.ab) diff --git a/docs/0.4.0-alpha/stdlib/doc/date.md b/docs/0.4.0-alpha/stdlib/doc/date.md index 3e898f5..562cef5 100644 --- a/docs/0.4.0-alpha/stdlib/doc/date.md +++ b/docs/0.4.0-alpha/stdlib/doc/date.md @@ -28,7 +28,7 @@ You can use (+/-): You can check the original tests for code examples: -* [date_add.ab](https://github.com/amber-lang/amber/blob/master/src/tests/stdlib/date_add.ab) +* [date_add.ab](https://github.com/amber-lang/amber/blob/0.4.0-alpha/src/tests/stdlib/date_add.ab) ## `date_compare` @@ -54,7 +54,7 @@ If date_b is not provided, current date will be used. You can check the original tests for code examples: -* [date_compare.ab](https://github.com/amber-lang/amber/blob/master/src/tests/stdlib/date_compare.ab) +* [date_compare.ab](https://github.com/amber-lang/amber/blob/0.4.0-alpha/src/tests/stdlib/date_compare.ab) ## `date_now` @@ -71,7 +71,7 @@ Returns the current timestamp (seconds since the Epoch (1970-01-01 00:00 UTC)). You can check the original tests for code examples: -* [date_now.ab](https://github.com/amber-lang/amber/blob/master/src/tests/stdlib/date_now.ab) +* [date_now.ab](https://github.com/amber-lang/amber/blob/0.4.0-alpha/src/tests/stdlib/date_now.ab) ## `date_posix` @@ -157,5 +157,5 @@ _ (underscore) pad with spaces You can check the original tests for code examples: -* [date_posix.ab](https://github.com/amber-lang/amber/blob/master/src/tests/stdlib/date_posix.ab) +* [date_posix.ab](https://github.com/amber-lang/amber/blob/0.4.0-alpha/src/tests/stdlib/date_posix.ab) diff --git a/docs/0.4.0-alpha/stdlib/doc/env.md b/docs/0.4.0-alpha/stdlib/doc/env.md index 10b89cf..4b076fb 100644 --- a/docs/0.4.0-alpha/stdlib/doc/env.md +++ b/docs/0.4.0-alpha/stdlib/doc/env.md @@ -91,7 +91,7 @@ Gets a constant inside the shell session. You can check the original tests for code examples: -* [env_const_get.ab](https://github.com/amber-lang/amber/blob/master/src/tests/stdlib/env_const_get.ab) +* [env_const_get.ab](https://github.com/amber-lang/amber/blob/0.4.0-alpha/src/tests/stdlib/env_const_get.ab) ## `env_const_set` @@ -108,7 +108,7 @@ Sets a constant inside the shell session. You can check the original tests for code examples: -* [env_const_set.ab](https://github.com/amber-lang/amber/blob/master/src/tests/stdlib/env_const_set.ab) +* [env_const_set.ab](https://github.com/amber-lang/amber/blob/0.4.0-alpha/src/tests/stdlib/env_const_set.ab) ## `env_file_load` @@ -125,7 +125,7 @@ Loads the env file in the environment, using `xargs`. You can check the original tests for code examples: -* [env_file_load.ab](https://github.com/amber-lang/amber/blob/master/src/tests/stdlib/env_file_load.ab) +* [env_file_load.ab](https://github.com/amber-lang/amber/blob/0.4.0-alpha/src/tests/stdlib/env_file_load.ab) ## `env_var_get` @@ -142,7 +142,7 @@ Gets a constant inside the shell session. You can check the original tests for code examples: -* [env_var_get.ab](https://github.com/amber-lang/amber/blob/master/src/tests/stdlib/env_var_get.ab) +* [env_var_get.ab](https://github.com/amber-lang/amber/blob/0.4.0-alpha/src/tests/stdlib/env_var_get.ab) ## `env_var_load` @@ -159,7 +159,7 @@ Retrieves the value of an environment variable, optionally sourcing it from a fi You can check the original tests for code examples: -* [env_var_load.ab](https://github.com/amber-lang/amber/blob/master/src/tests/stdlib/env_var_load.ab) +* [env_var_load.ab](https://github.com/amber-lang/amber/blob/0.4.0-alpha/src/tests/stdlib/env_var_load.ab) ## `env_var_set` @@ -176,7 +176,7 @@ Sets a constant inside the shell session. You can check the original tests for code examples: -* [env_var_set.ab](https://github.com/amber-lang/amber/blob/master/src/tests/stdlib/env_var_set.ab) +* [env_var_set.ab](https://github.com/amber-lang/amber/blob/0.4.0-alpha/src/tests/stdlib/env_var_set.ab) ## `env_var_test` @@ -193,7 +193,7 @@ Checks if a variable inside the shell session exists. You can check the original tests for code examples: -* [env_var_test.ab](https://github.com/amber-lang/amber/blob/master/src/tests/stdlib/env_var_test.ab) +* [env_var_test.ab](https://github.com/amber-lang/amber/blob/0.4.0-alpha/src/tests/stdlib/env_var_test.ab) ## `env_var_unset` @@ -210,7 +210,7 @@ Removes a variable inside the shell session. You can check the original tests for code examples: -* [env_var_unset.ab](https://github.com/amber-lang/amber/blob/master/src/tests/stdlib/env_var_unset.ab) +* [env_var_unset.ab](https://github.com/amber-lang/amber/blob/0.4.0-alpha/src/tests/stdlib/env_var_unset.ab) ## `escaped` diff --git a/docs/0.4.0-alpha/stdlib/doc/math.md b/docs/0.4.0-alpha/stdlib/doc/math.md index 140c017..4237acb 100644 --- a/docs/0.4.0-alpha/stdlib/doc/math.md +++ b/docs/0.4.0-alpha/stdlib/doc/math.md @@ -13,7 +13,7 @@ Returns the absolute value of a number You can check the original tests for code examples: -* [math_abs.ab](https://github.com/amber-lang/amber/blob/master/src/tests/stdlib/math_abs.ab) +* [math_abs.ab](https://github.com/amber-lang/amber/blob/0.4.0-alpha/src/tests/stdlib/math_abs.ab) ## `math_ceil` @@ -30,7 +30,7 @@ Returns the smallest integer greater than or equal to a number You can check the original tests for code examples: -* [math_ceil.ab](https://github.com/amber-lang/amber/blob/master/src/tests/stdlib/math_ceil.ab) +* [math_ceil.ab](https://github.com/amber-lang/amber/blob/0.4.0-alpha/src/tests/stdlib/math_ceil.ab) ## `math_floor` @@ -47,7 +47,7 @@ Returns the largest integer less than or equal to a number You can check the original tests for code examples: -* [math_floor.ab](https://github.com/amber-lang/amber/blob/master/src/tests/stdlib/math_floor.ab) +* [math_floor.ab](https://github.com/amber-lang/amber/blob/0.4.0-alpha/src/tests/stdlib/math_floor.ab) ## `math_round` @@ -64,7 +64,7 @@ Returns a number, rounded to the nearest integer You can check the original tests for code examples: -* [math_round.ab](https://github.com/amber-lang/amber/blob/master/src/tests/stdlib/math_round.ab) +* [math_round.ab](https://github.com/amber-lang/amber/blob/0.4.0-alpha/src/tests/stdlib/math_round.ab) ## `math_sum` @@ -81,5 +81,5 @@ Sums an array's contents You can check the original tests for code examples: -* [math_sum.ab](https://github.com/amber-lang/amber/blob/master/src/tests/stdlib/math_sum.ab) +* [math_sum.ab](https://github.com/amber-lang/amber/blob/0.4.0-alpha/src/tests/stdlib/math_sum.ab) diff --git a/docs/0.4.0-alpha/stdlib/doc/text.md b/docs/0.4.0-alpha/stdlib/doc/text.md index 1d596c7..6ac89ff 100644 --- a/docs/0.4.0-alpha/stdlib/doc/text.md +++ b/docs/0.4.0-alpha/stdlib/doc/text.md @@ -283,9 +283,9 @@ Checks if some text contains a value. You can check the original tests for code examples: -* [text_contains.ab](https://github.com/amber-lang/amber/blob/master/src/tests/stdlib/text_contains.ab) -* [text_contains_all.ab](https://github.com/amber-lang/amber/blob/master/src/tests/stdlib/text_contains_all.ab) -* [text_contains_any.ab](https://github.com/amber-lang/amber/blob/master/src/tests/stdlib/text_contains_any.ab) +* [text_contains.ab](https://github.com/amber-lang/amber/blob/0.4.0-alpha/src/tests/stdlib/text_contains.ab) +* [text_contains_all.ab](https://github.com/amber-lang/amber/blob/0.4.0-alpha/src/tests/stdlib/text_contains_all.ab) +* [text_contains_any.ab](https://github.com/amber-lang/amber/blob/0.4.0-alpha/src/tests/stdlib/text_contains_any.ab) ## `text_contains_all` @@ -302,7 +302,7 @@ Checks if all the arrays values are in the string You can check the original tests for code examples: -* [text_contains_all.ab](https://github.com/amber-lang/amber/blob/master/src/tests/stdlib/text_contains_all.ab) +* [text_contains_all.ab](https://github.com/amber-lang/amber/blob/0.4.0-alpha/src/tests/stdlib/text_contains_all.ab) ## `text_contains_any` @@ -319,7 +319,7 @@ Checks if an array value is in the text. You can check the original tests for code examples: -* [text_contains_any.ab](https://github.com/amber-lang/amber/blob/master/src/tests/stdlib/text_contains_any.ab) +* [text_contains_any.ab](https://github.com/amber-lang/amber/blob/0.4.0-alpha/src/tests/stdlib/text_contains_any.ab) ## `trim`