Skip to content

Commit dfbe4bc

Browse files
committed
Use mkdocs to build docs
1 parent 07f2497 commit dfbe4bc

25 files changed

+159
-50
lines changed

.readthedocs.yml

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
version: 2
2+
build:
3+
os: ubuntu-22.04
4+
tools:
5+
python: "3.12"
6+
mkdocs:
7+
configuration: docs/mkdocs.yml
8+
python:
9+
install:
10+
- requirements: docs/requirements.txt

docs/.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/.venv
2+
/site

docs/mkdocs.yml

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
site_name: "Enduro SDPS"
2+
site_url: "https://enduro.readthedocs.io"
3+
site_description: "Enduro SDPS documentation site."
4+
site_author: "Artefactual Systems Inc."
5+
repo_url: "https://github.com/artefactual-sdps/enduro"
6+
edit_uri: "blob/main/docs/"
7+
docs_dir: "src"
8+
site_dir: "site"
9+
10+
nav:
11+
- "Home": "index.md"
12+
- "User manual": "user-manual/"
13+
- "Developer manual": "dev-manual/"
14+
- "About":
15+
- "Repository": "https://github.com/artefactual-sdps/enduro"
16+
- "Issues": "https://github.com/artefactual-sdps/enduro/issues"
17+
- "License": "https://github.com/artefactual-sdps/enduro/blob/main/LICENSE"
18+
19+
plugins:
20+
- autorefs
21+
- literate-nav:
22+
nav_file: README.md
23+
24+
theme:
25+
name: readthedocs
26+
highlightjs: true
27+
hljs_languages:
28+
- yaml
29+
- json
30+
- go

docs/requirements.in

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
mkdocs
2+
mkdocs-autorefs
3+
mkdocs-literate-nav

docs/requirements.txt

+49
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
#
2+
# This file is autogenerated by pip-compile with Python 3.11
3+
# by the following command:
4+
#
5+
# pip-compile
6+
#
7+
click==8.1.7
8+
# via mkdocs
9+
ghp-import==2.1.0
10+
# via mkdocs
11+
jinja2==3.1.2
12+
# via mkdocs
13+
markdown==3.5.1
14+
# via
15+
# mkdocs
16+
# mkdocs-autorefs
17+
markupsafe==2.1.3
18+
# via
19+
# jinja2
20+
# mkdocs
21+
mergedeep==1.3.4
22+
# via mkdocs
23+
mkdocs==1.5.3
24+
# via
25+
# -r requirements.in
26+
# mkdocs-autorefs
27+
# mkdocs-literate-nav
28+
mkdocs-autorefs==0.5.0
29+
# via -r requirements.in
30+
mkdocs-literate-nav==0.6.1
31+
# via -r requirements.in
32+
packaging==23.2
33+
# via mkdocs
34+
pathspec==0.11.2
35+
# via mkdocs
36+
platformdirs==3.11.0
37+
# via mkdocs
38+
python-dateutil==2.8.2
39+
# via ghp-import
40+
pyyaml==6.0.1
41+
# via
42+
# mkdocs
43+
# pyyaml-env-tag
44+
pyyaml-env-tag==0.1
45+
# via mkdocs
46+
six==1.16.0
47+
# via python-dateutil
48+
watchdog==3.0.0
49+
# via mkdocs

docs/src/dev-manual/README.md

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Developer manual
2+
3+
This is the developer manual for Enduro SDPS.
4+
5+
- [Dependency management](deps.md)
6+
- [Enviornment setup](devel.md)
7+
- [Logging](logging.md)
8+
- [Makefile](make.md)
9+
- [Testing](testing.md)
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

docs/src/index.md

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Enduro SDPS
2+
3+
Hello world!

docs/src/user-manual/README.md

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# User manual
2+
3+
This is a user manual for SDPS Enduro, a version of the Enduro project that
4+
uses a3m to preserve digital objects.
5+
6+
- [Introduction](intro.md)
7+
- [Usage](usage.md)

docs/src/user-manual/intro.md

+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# Introduction
2+
3+
Enduro is a tool that was developed to automate the processing of transfers in
4+
multiple Archivematica pipelines.
5+
6+
This version of Enduro uses [a3m](https://github.com/artefactual-labs/a3m)
7+
instead of Archivematica to preserve digital objects, alongside
8+
[MinIO](https://min.io/) for object storage and [Temporal](https://temporal.io/)
9+
to manage the workflow. This combination of tools is intended to be lightweight,
10+
scalable, and easy to install.
11+
12+
## Components
13+
14+
### MinIO
15+
16+
[MinIO](https://min.io/) is a flexible, high performance object storage
17+
platform. Enduro uses MinIO as its storage back-end for both uploading
18+
submission information packages (SIPs) and storing archival information packages
19+
(AIPs). Material intended for preservation can be uploaded to MinIO either
20+
through the user interface or via command line using the [MinIO
21+
client](https://min.io/docs/minio/linux/reference/minio-mc.html). Any time new
22+
content is uploaded to a designated bucket in MinIO, a transfer is started in
23+
Enduro.
24+
25+
### Temporal
26+
27+
[Temporal](https://temporal.io/) is responsible for orchestrating Enduro's
28+
workflows - that is, for kicking off tasks, managing them, and recording them as
29+
auditable events. It also manages retries and timeouts, resulting in a reliable
30+
platform that can process digital objects for preservation in a highly automated
31+
environment.
32+
33+
### a3m
34+
35+
[a3m](https://github.com/artefactual-labs/a3m) is a streamlined version of
36+
[Archivematica](https://archivematica.org) that is wholly focused on AIP
37+
creation. It does not have external dependencies, integration with access
38+
systems, search capabilities, or a graphical interface. It was designed to
39+
reduce the bulk of Archivematica's extraneous functions for users operating at a
40+
large scale who are more focused on throughput of digital objects for
41+
preservation.

docs/user-manual.md docs/src/user-manual/usage.md

+5-50
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,4 @@
1-
# User manual
2-
3-
This is a user manual for SDPS Enduro, a version of the Enduro project that
4-
uses a3m to preserve digital objects.
5-
6-
## What is SDPS Enduro?
7-
8-
Enduro is a tool that was developed to automate the processing of transfers in
9-
multiple Archivematica pipelines.
10-
11-
This version of Enduro uses [a3m](https://github.com/artefactual-labs/a3m)
12-
instead of Archivematica to preserve digital objects, alongside
13-
[MinIO](https://min.io/) for object storage and [Temporal](https://temporal.io/)
14-
to manage the workflow. This combination of tools is intended to be lightweight,
15-
scalable, and easy to install.
16-
17-
### Components
18-
19-
#### MinIO
20-
21-
[MinIO](https://min.io/) is a flexible, high performance object storage
22-
platform. Enduro uses MinIO as its storage back-end for both uploading
23-
submission information packages (SIPs) and storing archival information packages
24-
(AIPs). Material intended for preservation can be uploaded to MinIO either
25-
through the user interface or via command line using the [MinIO
26-
client](https://min.io/docs/minio/linux/reference/minio-mc.html). Any time new
27-
content is uploaded to a designated bucket in MinIO, a transfer is started in
28-
Enduro.
29-
30-
#### Temporal
31-
32-
[Temporal](https://temporal.io/) is responsible for orchestrating Enduro's
33-
workflows - that is, for kicking off tasks, managing them, and recording them as
34-
auditable events. It also manages retries and timeouts, resulting in a reliable
35-
platform that can process digital objects for preservation in a highly automated
36-
environment.
37-
38-
#### a3m
39-
40-
[a3m](https://github.com/artefactual-labs/a3m) is a streamlined version of
41-
[Archivematica](https://archivematica.org) that is wholly focused on AIP
42-
creation. It does not have external dependencies, integration with access
43-
systems, search capabilities, or a graphical interface. It was designed to
44-
reduce the bulk of Archivematica's extraneous functions for users operating at a
45-
large scale who are more focused on throughput of digital objects for
46-
preservation.
1+
# Usage
472

483
## Creating an AIP
494

@@ -74,8 +29,8 @@ zipped bag. a3m will automatically recognize the transfer type and adjust its
7429
processing workflow accordingly.
7530

7631
* **Zipped directory**: digital objects that have been packaged together using
77-
the `.zip`, `.tgz`, or `.tar.gz` packaging format. When a zipped directory
78-
transfer starts, the zip will be unpacked. The internal structure of a zipped
32+
the `.zip`, `.tgz`, or `.tar.gz` packaging format. When a zipped directory
33+
transfer starts, the zip will be unpacked. The internal structure of a zipped
7934
directory transfer can either be a loose collection of files, or it can
8035
include structures like a metadata directory.
8136

@@ -107,7 +62,7 @@ in the Archivematica documentation.
10762

10863
3. In the file browser, locate your transfer package and upload it to MinIO.
10964
Once the progress bar has completed, Enduro will begin processing the
110-
transfer.
65+
transfer.
11166

11267
### View tasks in Enduro
11368

@@ -157,7 +112,7 @@ material into an AIP:
157112
* **Change object and directory filenames**: removes prohibited characters from
158113
folder and filenames, such as ampersands.
159114
* **Identify file format**: Identifies the format of all digital objects and
160-
metadata files. See
115+
metadata files. See
161116
[Identification](https://www.archivematica.org/en/docs/archivematica-latest/user-manual/preservation/preservation-planning/#identification)
162117
in the Archivematica documentation for more information.
163118
* **Characterize and extract metadata**: extracts technical metadata embedded in

0 commit comments

Comments
 (0)