Synchronized build

This commit is contained in:
Lektor Bot 2023-05-15 17:53:38 +00:00
parent 08b022e884
commit 4bbd96c755
6 changed files with 24 additions and 24 deletions

View File

@ -179,7 +179,7 @@ and <a href="build-artifact/" class="ref">build_artifact</a>.</p>
<p>The former should invoke <a href="declare-artifact/" class="ref">declare_artifact</a> for each
artifact that should be created from the source. The builder will then
invoke <a href="build-artifact/" class="ref">build_artifact</a> for each of these declared
artifacts if the builder determiend that the artifact needs to be built.</p>
artifacts if the builder determines that the artifact needs to be built.</p>
<p>For an example refer to the <a href="../../environment/add-build-program/" class="ref">add_build_program</a> documentation.</p>

View File

@ -200,7 +200,7 @@ for google maps. It's stored in <code>databags/gmaps.ini</code>:</p>
<div class="hll"><pre><span></span><span class="na">key</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="s">1233456ABCDEFG</span>
<span class="na">api_url</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="s">https://www.google.com/maps/embed/v1/</span>
</pre></div>
<p>This can then be usde to good effect in templates:</p>
<p>This can then be used to good effect in templates:</p>
<div class="hll"><pre><span></span><span class="cp">{%</span> <span class="k">macro</span> <span class="nv">render_map</span><span class="o">(</span><span class="nv">location</span><span class="o">,</span> <span class="nv">width</span><span class="o">=</span><span class="m">600</span><span class="o">,</span> <span class="nv">height</span><span class="o">=</span><span class="m">450</span><span class="o">)</span> <span class="cp">%}</span>
<span class="p">&lt;</span><span class="nt">iframe</span>
<span class="na">width</span><span class="o">=</span><span class="s">&quot;</span><span class="cp">{{</span> <span class="nv">width</span> <span class="cp">}}</span><span class="s">&quot;</span> <span class="na">height</span><span class="o">=</span><span class="s">&quot;</span><span class="cp">{{</span> <span class="nv">height</span> <span class="cp">}}</span><span class="s">&quot;</span>

View File

@ -197,7 +197,7 @@ configured alts are returned. If alts are not configured at all, the return
value is an empty list.</p>
<p>This returns only the list of alt short IDs. Access to the configured name
of the alt within the project config is not available. Databags should be
used to provide alts with a humand readable title.</p>
used to provide alts with a human readable title.</p>
<h2 id="example">Example</h2><div class="hll"><pre><span></span><span class="p">&lt;</span><span class="nt">p</span><span class="p">&gt;</span>Other languages:
<span class="p">&lt;</span><span class="nt">ul</span><span class="p">&gt;</span>
<span class="cp">{%</span> <span class="k">for</span> <span class="nv">alt</span> <span class="k">in</span> <span class="nv">get_alts</span><span class="o">(</span><span class="nv">this</span><span class="o">)</span> <span class="cp">%}</span>

View File

@ -263,7 +263,7 @@ contents of that file:</p>
</tr>
<tr>
<td><code>integrity</code></td>
<td>A subresource integritry string (<a href="https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity">read about it</a>)</td>
<td>A subresource integrity string (<a href="https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity">read about it</a>)</td>
</tr>
<tr>
<td><code>mimetype</code></td>
@ -284,7 +284,7 @@ contents of that file:</p>
<tbody>
<tr>
<td><code>as_data_url()</code></td>
<td>Returns a data URL for the contents. Optionally accepts a different mimetype than the guesed one.</td>
<td>Returns a data URL for the contents. Optionally accepts a different mimetype than the guessed one.</td>
</tr>
<tr>
<td><code>as_text()</code></td>

View File

@ -264,7 +264,7 @@ into a dictionary that can be dumped to JSON for instance.</p>
</tr>
<tr>
<td><code>camera</code></td>
<td>Combined name of camera make and model</td>
<td>Combined name of the camera make and model</td>
</tr>
<tr>
<td><code>camera_make</code></td>
@ -276,47 +276,47 @@ into a dictionary that can be dumped to JSON for instance.</p>
</tr>
<tr>
<td><code>lens</code></td>
<td>Combined name of the lense make and model</td>
<td>Combined name of the lens make and model</td>
</tr>
<tr>
<td><code>lens_make</code></td>
<td>The name of the lense manufacturer</td>
<td>The name of the lens manufacturer</td>
</tr>
<tr>
<td><code>lens_model</code></td>
<td>The name of the lense model</td>
<td>The name of the lens model</td>
</tr>
<tr>
<td><code>aperture</code></td>
<td>The aperture value as floating point number</td>
<td>The aperture value as a floating point number</td>
</tr>
<tr>
<td><code>f_num</code></td>
<td>The F-number as actual number</td>
<td>The F-number as an actual number</td>
</tr>
<tr>
<td><code>f</code></td>
<td>The f-number as string (<code>ƒ/2.2</code> for instance)</td>
<td>The f-number as a string (<code>ƒ/2.2</code> for instance)</td>
</tr>
<tr>
<td><code>iso</code></td>
<td>The ISO speed as integer</td>
<td>The ISO speed as an integer</td>
</tr>
<tr>
<td><code>exposure_time</code></td>
<td>The exposure time as string</td>
<td>The exposure time as a string</td>
</tr>
<tr>
<td><code>shutter_speed</code></td>
<td>The shutter speed as string</td>
<td>The shutter speed as a string</td>
</tr>
<tr>
<td><code>focal_length</code></td>
<td>The focal length as string</td>
<td>The focal length as a string</td>
</tr>
<tr>
<td><code>focal_length_35mm</code></td>
<td>The focal length as string in the 35mm equivalent</td>
<td>The focal length as a string in the 35mm equivalent</td>
</tr>
<tr>
<td><code>flash_info</code></td>
@ -324,19 +324,19 @@ into a dictionary that can be dumped to JSON for instance.</p>
</tr>
<tr>
<td><code>location</code></td>
<td>Longitude and latitude as floating point tuple.</td>
<td>Longitude and latitude as a floating point tuple.</td>
</tr>
<tr>
<td><code>latitude</code></td>
<td>The longitude as floating point value.</td>
<td>The longitude as a floating point value.</td>
</tr>
<tr>
<td><code>longitude</code></td>
<td>The longitude as floating point value.</td>
<td>The longitude as a floating point value.</td>
</tr>
<tr>
<td><code>altitude</code></td>
<td>The altitude in meters as floating point value.</td>
<td>The altitude in meters as a floating point value.</td>
</tr>
<tr>
<td><code>documentname</code></td>

View File

@ -151,7 +151,7 @@ speak multiple languages and allow you to easily create localized websites.</li>
<div class="slideshow-wrapper">
<div class="slideshow">
<div class="slideshow-inner">
<div class="carousel slide" data-ride="carousel" data-interval="8500" id="carousel-4f6f0770741248d9826e3d910e3e66e5">
<div class="carousel slide" data-ride="carousel" data-interval="8500" id="carousel-bad38a23ca8a4a959c7cc566e2d77f1c">
<div class="carousel-inner" role="listbox">
@ -210,11 +210,11 @@ be completely customized.</p>
</div>
</div>
<a class="left carousel-control" href="#carousel-4f6f0770741248d9826e3d910e3e66e5" role="button" data-slide="prev">
<a class="left carousel-control" href="#carousel-bad38a23ca8a4a959c7cc566e2d77f1c" role="button" data-slide="prev">
<span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="right carousel-control" href="#carousel-4f6f0770741248d9826e3d910e3e66e5" role="button" data-slide="next">
<a class="right carousel-control" href="#carousel-bad38a23ca8a4a959c7cc566e2d77f1c" role="button" data-slide="next">
<span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>