From 3dc9f994e47d5a1b0e06d88431ae0af8025f15d5 Mon Sep 17 00:00:00 2001 From: Lektor Bot Date: Tue, 23 May 2023 00:26:21 +0000 Subject: [PATCH] Synchronized build --- docs/api/db/system-fields/id/index.html | 2 +- docs/api/plugins/events/before-build/index.html | 2 +- docs/cli/clean/index.html | 2 +- docs/cli/plugins/remove/index.html | 2 +- docs/cli/server/index.html | 2 +- docs/project/file/index.html | 2 +- index.html | 6 +++--- 7 files changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/api/db/system-fields/id/index.html b/docs/api/db/system-fields/id/index.html index acd34842..27dbb95d 100644 --- a/docs/api/db/system-fields/id/index.html +++ b/docs/api/db/system-fields/id/index.html @@ -231,7 +231,7 @@ slightly different.

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.

Example

<ul class="nav">
 {% for item in site.query('/projects') %}
diff --git a/docs/api/plugins/events/before-build/index.html b/docs/api/plugins/events/before-build/index.html
index dc6fbebc..439cd3f9 100644
--- a/docs/api/plugins/events/before-build/index.html
+++ b/docs/api/plugins/events/before-build/index.html
@@ -223,7 +223,7 @@ the usefulness is limited.

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.

Example

def on_before_build(self, source, prog, **extra):
     print('building %s' % source.source_filename)
diff --git a/docs/cli/clean/index.html b/docs/cli/clean/index.html
index 5031ffa6..a6597998 100644
--- a/docs/cli/clean/index.html
+++ b/docs/cli/clean/index.html
@@ -155,7 +155,7 @@
 
       

lektor clean

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

  • -O, --output-path PATH: The output path.
  • diff --git a/docs/cli/plugins/remove/index.html b/docs/cli/plugins/remove/index.html index 020f5246..c0a02fdf 100644 --- a/docs/cli/plugins/remove/index.html +++ b/docs/cli/plugins/remove/index.html @@ -171,7 +171,7 @@

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

  • --help: print this help page.
  • diff --git a/docs/cli/server/index.html b/docs/cli/server/index.html index f629584a..63450ddc 100644 --- a/docs/cli/server/index.html +++ b/docs/cli/server/index.html @@ -155,7 +155,7 @@

    lektor server

    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.

    diff --git a/docs/project/file/index.html b/docs/project/file/index.html index 24441b77..276da59b 100644 --- a/docs/project/file/index.html +++ b/docs/project/file/index.html @@ -319,7 +319,7 @@ more information about this refer to the guide.

    url_prefix = /fr/ 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.

+

[attachment_types]

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:

[attachment_types]
 ; <.file-ext> = <type>
diff --git a/index.html b/index.html
index 4cf97b98..ce46fbd4 100644
--- a/index.html
+++ b/index.html
@@ -151,7 +151,7 @@ speak multiple languages and allow you to easily create localized websites.
 
-