From 01e620fbb51b6e19ac2b9b59690753efced08d92 Mon Sep 17 00:00:00 2001 From: 3kori <127242906+3kori@users.noreply.github.com> Date: Tue, 23 May 2023 03:24:07 +0300 Subject: [PATCH] Fixed typos (#374) Thank you @3kori for another batch of typo corrections! --- content/docs/api/db/system-fields/id/contents.lr | 2 +- content/docs/api/plugins/events/before-build/contents.lr | 2 +- content/docs/cli/clean/contents.lr | 2 +- content/docs/cli/plugins/remove/contents.lr | 2 +- content/docs/cli/server/contents.lr | 4 ++-- content/docs/project/file/contents.lr | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/content/docs/api/db/system-fields/id/contents.lr b/content/docs/api/db/system-fields/id/contents.lr index a26d4311..ba8e52fb 100644 --- a/content/docs/api/db/system-fields/id/contents.lr +++ b/content/docs/api/db/system-fields/id/contents.lr @@ -16,7 +16,7 @@ an attachment named `docs/overview/screenshot.jpg` the `_id` will be the filename of the attachment: `screenshot.jpg`. Note that IDs are not globally unique! There is also the `_path` which is -the entire path if the record. +the entire path of the record. The `_id` is automatically set and cannot be overridden. diff --git a/content/docs/api/plugins/events/before-build/contents.lr b/content/docs/api/plugins/events/before-build/contents.lr index c0198664..03d3a2fb 100644 --- a/content/docs/api/plugins/events/before-build/contents.lr +++ b/content/docs/api/plugins/events/before-build/contents.lr @@ -23,7 +23,7 @@ The parameters being passed are: [Build Program :ref](../../../build/program/) for more information) !!!! Note that currently both the builder as well as the build state are -undocumented and unsupported! This means that if a plugin choses to use those +undocumented and unsupported! This means that if a plugin chooses to use those references to do something with it they should consider that they might break in future versions. diff --git a/content/docs/cli/clean/contents.lr b/content/docs/cli/clean/contents.lr index 3bd6767a..f4448ef4 100644 --- a/content/docs/cli/clean/contents.lr +++ b/content/docs/cli/clean/contents.lr @@ -12,7 +12,7 @@ body: Cleans the entire build folder. -If not build folder is provided, the default build folder of the project +If no build folder is provided, the default build folder of the project in the Lektor cache is used. ## Options diff --git a/content/docs/cli/plugins/remove/contents.lr b/content/docs/cli/plugins/remove/contents.lr index 4792eea8..5e33cd2e 100644 --- a/content/docs/cli/plugins/remove/contents.lr +++ b/content/docs/cli/plugins/remove/contents.lr @@ -10,7 +10,7 @@ body: `lektor plugins remove NAME` -This command can remove a plugion to the project again. The name +This command can remove a plugin to the project again. The name of the plugin is the only argument to the function. ## Options diff --git a/content/docs/cli/server/contents.lr b/content/docs/cli/server/contents.lr index 6876a9b3..b40b0284 100644 --- a/content/docs/cli/server/contents.lr +++ b/content/docs/cli/server/contents.lr @@ -12,7 +12,7 @@ body: The server command will launch a local server for development. -Lektor's developemnt server will automatically build all files into +Lektor's development server will automatically build all files into pages similar to how the build command with the `--watch` switch works, but also at the same time serve up the website on a local HTTP server. @@ -29,4 +29,4 @@ HTTP server. - `-f, --build-flag TEXT`: Defines an arbitrary build flag. These can be used by plugins to customize the build process. More information can be found in the documentation of affected plugins. -- `--help`: print this help page. \ No newline at end of file +- `--help`: print this help page. diff --git a/content/docs/project/file/contents.lr b/content/docs/project/file/contents.lr index 0f9bc16f..1d113cc2 100644 --- a/content/docs/project/file/contents.lr +++ b/content/docs/project/file/contents.lr @@ -206,7 +206,7 @@ locale = fr ``` ### `[attachment_types]` -Lektor does some basic attachment type detection based on file extension. This is what powers the `this.attachemnts.images` and `this.attachments.videos` attributes for instance. If the built-in map does not cover your file extension you can extend it or add new attachement types on a project by project basis. +Lektor does some basic attachment type detection based on file extension. This is what powers the `this.attachments.images` and `this.attachments.videos` attributes for instance. If the built-in map does not cover your file extension you can extend it or add new attachment types on a project by project basis. Example: