Skip to content

Commit df01311

Browse files
authored
Refactor documentation (#158)
2 parents b63f1bd + 4c56adb commit df01311

File tree

95 files changed

+1845
-1365
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

95 files changed

+1845
-1365
lines changed

.markdownlint.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ no-inline-html:
1414
allowed_elements:
1515
- abbr
1616
- i
17+
- filename
1718

1819
no-duplicate-header: false
1920

config/_default/module.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
mounts:
2+
- source: assets
3+
target: assets
4+
- source: node_modules/minireset.css/minireset.css
5+
target: assets/css/vendor/minireset.css

content/_index.en.md

Lines changed: 0 additions & 480 deletions
This file was deleted.

content/_index.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
---
2+
title: Open Terms Archive documentation
3+
linkTitle: Homepage
4+
weight: 1
5+
---
6+
7+
# Open Terms Archive documentation
8+
9+
Open Terms Archive is a decentralised system that tracks collections of services' terms across multiple servers. Each collection exposes the data it collects through datasets and through its own API. The Federation API unifies search and discovery across collections.
10+
11+
## Required minimal terminology
12+
13+
Before diving into the details, let's first understand the essential terminology used throughout this documentation.
14+
15+
- **Terms:** the contractual documents published by services (such as Terms of Service, Privacy Policy, Community Guidelines…) that users agree to.
16+
- **Collection:** a set of tracked terms grouped by a specific scope (such as language, jurisdiction, industry…).
17+
- **Declaration:** a JSON file that defines which terms to track for a service and how to track them.
18+
- **Snapshot:** the original source document (HTML, PDF…) from which the terms will be extracted.
19+
- **Version:** the textual content of the terms after filtering out irrelevant content (navigation menu, advertisements…) from a snapshot.
20+
21+
## Documentation structure
22+
23+
This documentation follows the [Diátaxis](https://diataxis.fr) approach and structures content in different categories:
24+
25+
- **Tutorials:** step-by-step learning guides that help beginners get started with Open Terms Archive, providing foundational knowledge and hands-on experience.
26+
- **How-to guides:** task-focused instructions that help experienced users accomplish specific goals efficiently and effectively.
27+
- **Reference:** comprehensive technical documentation detailing configuration options and specifications for advanced users.
28+
- **Explanations:** background knowledge that enables understanding the constraints and how choices that are made.
29+
30+
### Table of contents
31+
32+
- **Analysis:** guidance on how to analyze terms changes, from navigating through the history of tracked documents to publishing memos about significant changes.
33+
- **Community:** information on how to participate in the Open Terms Archive community.
34+
- **Terms:** guidance on tracking and maintaining terms declarations.
35+
- **Collections:** guidance on creating and managing collections of tracked terms.
36+
- **Federation:** constraints and benefits of joining the Open Terms Archive federation.
37+
- **Deployment:** guidance on operating an Open Terms Archive instance.
38+
- **Programmatic access:** documentation on the engine CLI and APIs.
39+
- **Concepts and principles:** main concepts, terminology and fundamental design principles of Open Terms Archive.

content/analysis/_index.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
title: "Analysis"
3+
weight: 2
4+
---
5+

content/analysis/how-to/_index.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
title: How to
3+
weight: 1
4+
---

content/terms/how-to-navigate-history.md renamed to content/analysis/how-to/navigate-history.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
---
2-
title: "How to navigate history"
2+
title: Navigate history
33
weight: 1
4-
aliases: /navigate-history/
4+
aliases:
5+
- /navigate-history/
6+
- /terms/how-to-navigate-history/
57
---
68

79
# How to navigate history

content/memos/how-to-publish.en.md renamed to content/analysis/how-to/publish-memo.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
2-
title: "How to publish a memo"
2+
title: Publish a memo
3+
aliases: /memos/how-to-publish/
34
---
45

56
# How to publish a memo
@@ -10,7 +11,7 @@ No technical skills are required.
1011

1112
## Prerequisites
1213

13-
- A drafted memo compliant with the [copywriting reference]({{< relref "/memos/copywriting-reference" >}}).
14+
- A drafted memo compliant with the [copywriting reference]({{< relref "/analysis/reference/copywriting" >}}).
1415

1516
## 1. Send
1617

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
title: Reference
3+
weight: 2
4+
---

content/memos/copywriting-reference.en.md renamed to content/analysis/reference/copywriting.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
2-
title: "Copywriting reference"
2+
title: Copywriting
3+
aliases: /memos/copywriting-reference/
34
---
45

56
# Copywriting reference

0 commit comments

Comments
 (0)