From ee59057fefa76f4b85d9d85a7e90af6e06898956 Mon Sep 17 00:00:00 2001 From: Jacco van den Berg Date: Wed, 20 Jul 2022 18:34:06 +0200 Subject: [PATCH 1/2] make link work in github itself --- docs/getting-started/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/getting-started/index.md b/docs/getting-started/index.md index ea8ef96f21d..c75e4b60646 100644 --- a/docs/getting-started/index.md +++ b/docs/getting-started/index.md @@ -101,6 +101,6 @@ module.exports = { As you can see, some of the boilerplate needed is not visible in our sample blocks, as the samples focus on the configuration options. ::: -All our examples are [available online](/samples/). +All our examples are [available online](../samples/). To run the samples locally you first have to install all the necessary packages using the `npm ci` command, after this you can run `npm run docs:dev` to build the documentation. As soon as the build is done, you can go to [http://localhost:8080/samples/](http://localhost:8080/samples/) to see the samples. From 61a3864b93398e321e2e8a3c76cb6b2250725fa5 Mon Sep 17 00:00:00 2001 From: Jacco van den Berg Date: Mon, 25 Jul 2022 01:02:58 +0200 Subject: [PATCH 2/2] fix dead link on reload or new tab --- docs/axes/labelling.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/axes/labelling.md b/docs/axes/labelling.md index 9ab75ffaba0..5f613b6f81b 100644 --- a/docs/axes/labelling.md +++ b/docs/axes/labelling.md @@ -31,7 +31,7 @@ The call to the method is scoped to the scale. `this` inside the method is the s If the callback returns `null` or `undefined` the associated grid line will be hidden. :::tip -The [category axis](../axes/cartesian/category), which is the default x-axis for line and bar charts, uses the `index` as internal data format. For accessing the label, use `this.getLabelForValue(value)`. [API: getLabelForValue](../api/classes/scale.html#getlabelforvalue) +The [category axis](../axes/cartesian/category), which is the default x-axis for line and bar charts, uses the `index` as internal data format. For accessing the label, use `this.getLabelForValue(value)`. [API: getLabelForValue](../api/classes/Scale.html#getlabelforvalue) ::: In the following example, every label of the Y-axis would be displayed with a dollar sign at the front.