Skip to content
Snippets Groups Projects
Commit 276f29b0 authored by ml bonhomme's avatar ml bonhomme :bee:
Browse files

Remove iiif config on git imports again

parent 8124be96
No related branches found
No related tags found
1 merge request!83Remove iiif config on git imports again
Pipeline #13869 passed
......@@ -15,43 +15,7 @@ The following attributes are required in every `.arkindex.yml` file:
- `version`: Version of the configuration file in use. An error will occur if the version
number is not set to `2`.
- `type`: Type of the repository. Either `iiif` for a repository holding IIIF manifests
and collections for importing, or `worker` for a repository holding Arkindex
workers.
## IIIF Import repository attributes
When the `type` is set to `iiif`, the following attribute is mandatory:
- `manifests`: List of Unix-style patterns matching paths to IIIF 2.x manifests and
IIIF 2.x and 3.x collections. The `*` and `?` characters and the `[abc]` ranges
behave like for standard Unix patterns, and `**` matches directories
recursively.
<!-- TODO:
For more information on using IIIF in Arkindex, see
[IIIF in Arkindex](@/iiif/_index.md)
https://gitlab.com/arkindex/doc/-/issues/15
-->
### Example configuration
```yaml
---
version: 2
type: iiif
manifests:
- mysuperfolder/mysupermanifest.json
- mysuperfolder/asubfolder/**/*.json
```
This would match `mysuperfolder/mysupermanifest.json` starting at the root of
the repository, then any JSON file in `mysuperfolder/asubfolder` or any of its
sub-directories.
## Worker repository attributes
When the `type` is set to `worker`, the `workers` attribute is mandatory.
- `workers`: A list of workers attached to the Git repository.
The `workers` attribute is a list of the following:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment