Fixed Typos (#373)
* Fixed a typo * Fixed typo * Fixed typo: humand -> human * Fixed typo: integritry ->integrity * Fixed typo: guesed -> guessed * Fixed a couple of typos and added articles Added articles before some words
This commit is contained in:
parent
3dbafbb07a
commit
df00a19818
|
@ -16,7 +16,7 @@ and [build_artifact :ref](build-artifact/).
|
||||||
The former should invoke [declare_artifact :ref](declare-artifact/) for each
|
The former should invoke [declare_artifact :ref](declare-artifact/) for each
|
||||||
artifact that should be created from the source. The builder will then
|
artifact that should be created from the source. The builder will then
|
||||||
invoke [build_artifact :ref](build-artifact/) for each of these declared
|
invoke [build_artifact :ref](build-artifact/) for each of these declared
|
||||||
artifacts if the builder determiend that the artifact needs to be built.
|
artifacts if the builder determines that the artifact needs to be built.
|
||||||
|
|
||||||
For an example refer to the [add_build_program
|
For an example refer to the [add_build_program
|
||||||
:ref](../../environment/add-build-program/) documentation.
|
:ref](../../environment/add-build-program/) documentation.
|
||||||
|
|
|
@ -46,7 +46,7 @@ key = 1233456ABCDEFG
|
||||||
api_url = https://www.google.com/maps/embed/v1/
|
api_url = https://www.google.com/maps/embed/v1/
|
||||||
```
|
```
|
||||||
|
|
||||||
This can then be usde to good effect in templates:
|
This can then be used to good effect in templates:
|
||||||
|
|
||||||
```html+jinja
|
```html+jinja
|
||||||
{% macro render_map(location, width=600, height=450) %}
|
{% macro render_map(location, width=600, height=450) %}
|
||||||
|
|
|
@ -20,7 +20,7 @@ value is an empty list.
|
||||||
|
|
||||||
This returns only the list of alt short IDs. Access to the configured name
|
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
|
of the alt within the project config is not available. Databags should be
|
||||||
used to provide alts with a humand readable title.
|
used to provide alts with a human readable title.
|
||||||
|
|
||||||
## Example
|
## Example
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@ contents of that file:
|
||||||
| ----------- | --------------
|
| ----------- | --------------
|
||||||
| `sha1` | The SHA1 hash of the contents as hexadecimal string
|
| `sha1` | The SHA1 hash of the contents as hexadecimal string
|
||||||
| `md5` | The MD5 hash of the contents as hexadecimal string
|
| `md5` | The MD5 hash of the contents as hexadecimal string
|
||||||
| `integrity` | A subresource integritry string ([read about it](https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity))
|
| `integrity` | A subresource integrity string ([read about it](https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity))
|
||||||
| `mimetype` | The guessed mimetype of the object
|
| `mimetype` | The guessed mimetype of the object
|
||||||
| `bytes` | The number of bytes for the contents as integer
|
| `bytes` | The number of bytes for the contents as integer
|
||||||
|
|
||||||
|
@ -27,7 +27,7 @@ contents of that file:
|
||||||
|
|
||||||
| Method | Description
|
| Method | Description
|
||||||
| --------------- | ------------
|
| --------------- | ------------
|
||||||
| `as_data_url()` | Returns a data URL for the contents. Optionally accepts a different mimetype than the guesed one.
|
| `as_data_url()` | Returns a data URL for the contents. Optionally accepts a different mimetype than the guessed one.
|
||||||
| `as_text()` | Returns the contents of the file as text. UTF-8 is assumed.
|
| `as_text()` | Returns the contents of the file as text. UTF-8 is assumed.
|
||||||
| `as_bytes()` | Returns the contents of the file as bytes.
|
| `as_bytes()` | Returns the contents of the file as bytes.
|
||||||
| `as_base64()` | Returns the contents of the file as base64 encoded bytes.
|
| `as_base64()` | Returns the contents of the file as base64 encoded bytes.
|
||||||
|
|
|
@ -19,25 +19,25 @@ into a dictionary that can be dumped to JSON for instance.
|
||||||
| `artist` | The name of the photographer
|
| `artist` | The name of the photographer
|
||||||
| `copyright` | The embedded copyright message
|
| `copyright` | The embedded copyright message
|
||||||
| `created_at` | The timestamp of the image
|
| `created_at` | The timestamp of the image
|
||||||
| `camera` | Combined name of camera make and model
|
| `camera` | Combined name of the camera make and model
|
||||||
| `camera_make` | The name of the camera manufacturer
|
| `camera_make` | The name of the camera manufacturer
|
||||||
| `camera_model` | The name of the camera model
|
| `camera_model` | The name of the camera model
|
||||||
| `lens` | Combined name of the lense make and model
|
| `lens` | Combined name of the lens make and model
|
||||||
| `lens_make` | The name of the lense manufacturer
|
| `lens_make` | The name of the lens manufacturer
|
||||||
| `lens_model` | The name of the lense model
|
| `lens_model` | The name of the lens model
|
||||||
| `aperture` | The aperture value as floating point number
|
| `aperture` | The aperture value as a floating point number
|
||||||
| `f_num` | The F-number as actual number
|
| `f_num` | The F-number as an actual number
|
||||||
| `f` | The f-number as string (`ƒ/2.2` for instance)
|
| `f` | The f-number as a string (`ƒ/2.2` for instance)
|
||||||
| `iso` | The ISO speed as integer
|
| `iso` | The ISO speed as an integer
|
||||||
| `exposure_time` | The exposure time as string
|
| `exposure_time` | The exposure time as a string
|
||||||
| `shutter_speed` | The shutter speed as string
|
| `shutter_speed` | The shutter speed as a string
|
||||||
| `focal_length` | The focal length as string
|
| `focal_length` | The focal length as a string
|
||||||
| `focal_length_35mm` | The focal length as string in the 35mm equivalent
|
| `focal_length_35mm` | The focal length as a string in the 35mm equivalent
|
||||||
| `flash_info` | Information text about the flash usage
|
| `flash_info` | Information text about the flash usage
|
||||||
| `location` | Longitude and latitude as floating point tuple.
|
| `location` | Longitude and latitude as a floating point tuple.
|
||||||
| `latitude` | The longitude as floating point value.
|
| `latitude` | The longitude as a floating point value.
|
||||||
| `longitude` | The longitude as floating point value.
|
| `longitude` | The longitude as a floating point value.
|
||||||
| `altitude` | The altitude in meters as floating point value.
|
| `altitude` | The altitude in meters as a floating point value.
|
||||||
| `documentname` | The image document name as a string.
|
| `documentname` | The image document name as a string.
|
||||||
| `description` | The image description as a string.
|
| `description` | The image description as a string.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue