Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stdlib(0.4.0): Use the version tag in links #85

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
30 changes: 15 additions & 15 deletions docs/0.4.0-alpha/stdlib/doc/array.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`

Expand All @@ -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`

Expand All @@ -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`

Expand 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`

Expand All @@ -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`

Expand All @@ -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`

Expand All @@ -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`

Expand All @@ -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`

Expand All @@ -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)

8 changes: 4 additions & 4 deletions docs/0.4.0-alpha/stdlib/doc/date.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`

Expand All @@ -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`

Expand All @@ -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`

Expand Down Expand Up @@ -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)

16 changes: 8 additions & 8 deletions docs/0.4.0-alpha/stdlib/doc/env.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`

Expand All @@ -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`

Expand All @@ -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`

Expand All @@ -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`

Expand All @@ -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`

Expand All @@ -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`

Expand All @@ -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`

Expand All @@ -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`

Expand Down
10 changes: 5 additions & 5 deletions docs/0.4.0-alpha/stdlib/doc/math.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`

Expand All @@ -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`

Expand All @@ -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`

Expand All @@ -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`

Expand All @@ -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)

10 changes: 5 additions & 5 deletions docs/0.4.0-alpha/stdlib/doc/text.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`

Expand 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`

Expand All @@ -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`

Expand Down