Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Documentation
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Arkindex
Documentation
Commits
276f29b0
Commit
276f29b0
authored
2 years ago
by
ml bonhomme
Browse files
Options
Downloads
Patches
Plain Diff
Remove iiif config on git imports again
parent
8124be96
No related branches found
Branches containing commit
No related tags found
1 merge request
!83
Remove iiif config on git imports again
Pipeline
#13869
passed
2 years ago
Stage: test
Stage: build
Stage: deploy
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
content/workers/yaml.md
+1
-37
1 addition, 37 deletions
content/workers/yaml.md
with
1 addition
and
37 deletions
content/workers/yaml.md
+
1
−
37
View file @
276f29b0
...
...
@@ -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:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment