From a1e032e0ee8d8c1768abffabd2f4f70379dca544 Mon Sep 17 00:00:00 2001 From: SubsequentlySneeds <118424338+SubsequentlySneeds@users.noreply.github.com> Date: Mon, 21 Oct 2024 18:12:38 -0700 Subject: [PATCH 1/3] Fix inline query documentation Current documentation is inaccurate as Inline DQL can query multiple pages. --- docs/docs/queries/dql-js-inline.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/queries/dql-js-inline.md b/docs/docs/queries/dql-js-inline.md index d6f394b1..53bab938 100644 --- a/docs/docs/queries/dql-js-inline.md +++ b/docs/docs/queries/dql-js-inline.md @@ -49,7 +49,7 @@ would, for example, render to Today is November 07, 2022 - 2 months, 5 days until exams! ~~~ -**Inline DQL** cannot query multiple pages. They always display exactly one value, not a list (or table) of values. You can either access the properties of the **current page** via prefix `this.` or a different page via `[[linkToPage]]`. +**Inline DQL** queries always display exactly one value, not a list (or table) of values. You can either access the properties of the **current page** via prefix `this.` or a different page via `[[linkToPage]]`. ~~~markdown `= this.file.name` From a4f89e83d7c37f7331a0b4e81578b3cc516ea541 Mon Sep 17 00:00:00 2001 From: SubsequentlySneeds <118424338+SubsequentlySneeds@users.noreply.github.com> Date: Mon, 21 Oct 2024 18:20:45 -0700 Subject: [PATCH 2/3] Removed word "either" Removed "either" for clarity since both prefixes can be used in the same IQL query --- docs/docs/queries/dql-js-inline.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/queries/dql-js-inline.md b/docs/docs/queries/dql-js-inline.md index 53bab938..af883a25 100644 --- a/docs/docs/queries/dql-js-inline.md +++ b/docs/docs/queries/dql-js-inline.md @@ -49,7 +49,7 @@ would, for example, render to Today is November 07, 2022 - 2 months, 5 days until exams! ~~~ -**Inline DQL** queries always display exactly one value, not a list (or table) of values. You can either access the properties of the **current page** via prefix `this.` or a different page via `[[linkToPage]]`. +**Inline DQL** queries always display exactly one value, not a list (or table) of values. You can access the properties of the **current page** via prefix `this.` or a different page via `[[linkToPage]]`. ~~~markdown `= this.file.name` From 4f4a32cc8b1ff86f68430a967eacf3cd73845182 Mon Sep 17 00:00:00 2001 From: SubsequentlySneeds <118424338+SubsequentlySneeds@users.noreply.github.com> Date: Mon, 10 Mar 2025 17:45:01 -0700 Subject: [PATCH 3/3] Add dot after [[linkToPage]] for clarity --- docs/docs/queries/dql-js-inline.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/queries/dql-js-inline.md b/docs/docs/queries/dql-js-inline.md index 67763729..77528fa7 100644 --- a/docs/docs/queries/dql-js-inline.md +++ b/docs/docs/queries/dql-js-inline.md @@ -49,7 +49,7 @@ would, for example, render to Today is November 07, 2022 - 2 months, 5 days until exams! ~~~ -**Inline DQL** queries always display exactly one value, not a list (or table) of values. You can access the properties of the **current page** via prefix `this.` or a different page via `[[linkToPage]]`. +**Inline DQL** queries always display exactly one value, not a list (or table) of values. You can access the properties of the **current page** via prefix `this.` or a different page via `[[linkToPage]].`. ~~~markdown `= this.file.name`