Skip to content

Commit

Permalink
fix: broken links (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
ndr-brt authored Nov 7, 2024
1 parent 7ce1998 commit 32945e0
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 72 deletions.
24 changes: 1 addition & 23 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,28 +2,6 @@

This repository contains project-wide documentation.

## GitHub Pages

The documentation files of all EDC repositories are provided with [GitHub Pages](https://docs.github.com/en/pages).

The pages are deployed from the `/docs` subdirectory to <https://eclipse-edc.github.io/docs>.

### Local Deployment

If you want to add content or change configurations, please refer to the [official Docsify documentation](https://docsify.js.org/).

For a local deployment, install [Node.js](https://nodejs.org/), check out this repository, and run Docsify:
```commandline
$ git clone https://github.com/eclipse-edc/docs.git
$ cd docs
$ npm i docsify-cli -g
$ docsify serve docs
```

## Contributing

See [how to contribute](CONTRIBUTING.md).

## Running the website locally

Building and running the site locally requires a recent `extended` version of [Hugo](https://gohugo.io).
Expand All @@ -42,7 +20,7 @@ container, the container runs with a volume bound to the root folder.
1. Build the docker image

```bash
docker compose up --build`
docker compose up --build
```

2. Verify that the service is working.
Expand Down
74 changes: 38 additions & 36 deletions content/en/documentation/for-contributors/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,36 +4,37 @@ weight: 30
---

<!-- TOC -->

- [Contributor Documentation](#contributor-documentation)
- [0. Intended audience](#0-intended-audience)
- [1. Getting started](#1-getting-started)
- [1.1 Prerequisites](#11-prerequisites)
- [1.2 Terminology](#12-terminology)
- [1.3 Architectural and coding principles](#13-architectural-and-coding-principles)
- [2. The control plane](#2-the-control-plane)
- [2.1 Entities](#21-entities)
- [2.2 Programming Primitives](#22-programming-primitives)
- [2.3 Serialization via JSON-LD](#23-serialization-via-json-ld)
- [2.4 Extension model](#24-extension-model)
- [2.5 Dependency injection deep dive](#25-dependency-injection-deep-dive)
- [2.6 Service layers](#26-service-layers)
- [2.7 Policy Monitor](#27-policy-monitor)
- [2.8 Protocol extensions (DSP)](#28-protocol-extensions-dsp)
- [3. (Postgre-)SQL persistence](#3-postgre-sql-persistence)
- [4. The data plane](#4-the-data-plane)
- [4.1 Data plane signaling](#41-data-plane-signaling)
- [4.2 Writing a custom data plane extension (sink/source)](#42-writing-a-custom-data-plane-extension-sinksource)
- [4.3 Writing a custom data plane (using only DPS)](#43-writing-a-custom-data-plane-using-only-dps)
- [5. Development best practices](#5-development-best-practices)
- [5.1 Writing Unit-, Component-, Integration-, Api-, EndToEnd-Tests](#51-writing-unit--component--integration--api--endtoend-tests)
- [5.1 Coding best practices](#51-coding-best-practices)
- [5.2 Testing best practices](#52-testing-best-practices)
- [5.3 Other best practices](#53-other-best-practices)
- [6. Further concepts](#6-further-concepts)
_ [6.2 Autodoc](#61-autodoc)
_ [6.3 Adapting the Gradle build](#62-adapting-the-gradle-build)
<!-- TOC -->
* [0. Intended audience](#0-intended-audience)
* [1. Getting started](#1-getting-started)
* [1.1 Prerequisites](#11-prerequisites)
* [1.2 Terminology](#12-terminology)
* [1.3 Architectural and coding principles](#13-architectural-and-coding-principles)
* [2. The control plane](#2-the-control-plane)
* [2.1 Entities](#21-entities)
* [2.2 Programming Primitives](#22-programming-primitives)
* [2.3 Serialization via JSON-LD](#23-serialization-via-json-ld)
* [2.4 Extension model](#24-extension-model)
* [2.5 Dependency injection deep dive](#25-dependency-injection-deep-dive)
* [2.6 Service layers](#26-service-layers)
* [2.7 Policy Monitor](#27-policy-monitor)
* [2.8 Protocol extensions (DSP)](#28-protocol-extensions-dsp)
* [3. (Postgre-)SQL persistence](#3-postgre-sql-persistence)
* [4. The data plane](#4-the-data-plane)
* [4.1 Data plane signaling](#41-data-plane-signaling)
* [4.2 Writing a custom data plane extension (sink/source)](#42-writing-a-custom-data-plane-extension-sinksource)
* [4.3 Writing a custom data plane (using only DPS)](#43-writing-a-custom-data-plane-using-only-dps)
* [5. Development best practices](#5-development-best-practices)
* [5.1 Writing Unit-, Component-, Integration-, Api-, EndToEnd-Tests](#51-writing-unit--component--integration--api--endtoend-tests)
* [5.1 Coding best practices](#51-coding-best-practices)
* [5.2 Testing best practices](#52-testing-best-practices)
* [5.3 Other best practices](#53-other-best-practices)
* [6. Further concepts](#6-further-concepts)
* [6.1 Autodoc](#61-autodoc)
* [6.2 Adapting the Gradle build](#62-adapting-the-gradle-build)
* [6.3 The EDC Release process](#63-the-edc-release-process)
* [6.3.1 Releasing "core" modules](#631-releasing-core-modules)
* [6.3.2 Releasing "technology" modules](#632-releasing-technology-modules)
<!-- TOC -->

## 0. Intended audience

Expand Down Expand Up @@ -208,14 +209,16 @@ information about it and other topics such as data plane self-registration and p
### 4.2 Writing a custom data plane extension (sink/source)

The EDC Data Plane is build on top of the *Data Plane Framework (DPF)*, which can be used for building custom data planes.
The framework has extensibility points for supporting different data sources and sinks (e.g., S3, HTTP, Kafka) and can perform direct streaming between different source and sink types.
The framework has extensibility points for supporting different data sources and sinks (e.g., S3, HTTP, Kafka) and can
perform direct streaming between different source and sink types.

Detailed documentation about writing a custom data plane extension can be found [here](./data-plane/data-plane-extensions.md).


### 4.3 Writing a custom data plane (using only DPS)

Since the communication between control plane and data plane is well defined in the [DPS](#41-data-plane-signaling) protocol, it's possible to write a data plane from scratch (without using EDC and [DPF](./data-plane/data-plane-extensions.md#2-the-data-plane-framework)) and make it work with the EDC control plane.
Since the communication between control plane and data plane is well-defined in the [DPS](#41-data-plane-signaling) protocol, it's possible
to write a data plane from scratch (without using EDC and [DPF](./data-plane/data-plane-extensions.md#2-the-data-plane-framework)) and make it work with the EDC control plane.

Detailed documentation about writing a custom data plane be found [here](./data-plane/custom-data-plane.md).

Expand All @@ -226,13 +229,12 @@ Detailed documentation about writing a custom data plane be found [here](./data-

test pyramid... Like any other project, EDC has established a set of recommendations and rules that contributors must
adhere to in order to guarantee a smooth collaboration with the project. Note that familiarity with our [formal
contribution guidelines](../../../CONTRIBUTING.md) is assumed. There additional recommendations we have compiled that
contribution guidelines](./guidelines) is assumed. There additional recommendations we have compiled that
are relevant when deploying and administering EDC instances.

### 5.1 Coding best practices

Code should be written to conform with the EDC [style guide](../../contributing/styleguide.md) and our [coding
principles](../../contributing/coding-principles.md).
Code should be written to conform with the EDC [style guide](./guidelines/styleguide).

A frequent subject of critique in pull requests is logging. Spurious and very verbose log lines like "Entering/Leaving
method X" or "Performing action Z" should be avoided because they pollute the log output and don't contribute any value.
Expand All @@ -243,7 +245,7 @@ Please find detailed information about logging [here](logging.md).

Every class in the EDC code base should have a test class that verifies the correct functionality of the code.

Detailed information about testing can be found [here](../../testing.md).
Detailed information about testing can be found [here](./testing.md).

### 5.3 Other best practices

Expand Down
24 changes: 11 additions & 13 deletions content/en/documentation/for-contributors/testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,18 @@ title: Writing tests
weight: 40
---


<!-- TOC -->
* [Writing Tests](#writing-tests)
* [1. Adding EDC test fixtures](#1-adding-edc-test-fixtures)
* [2. Controlling test verbosity](#2-controlling-test-verbosity)
* [3. Definition and distinction](#3-definition-and-distinction)
* [4. Integration Tests](#4-integration-tests)
* [4.1 TL;DR](#41-tldr)
* [4.2 When to use them](#42-when-to-use-them)
* [4.3 Coding Guidelines](#43-coding-guidelines)
* [4.4 Running integration tests locally](#44-running-integration-tests-locally)
* [4.5 Running them in the CI pipeline](#45-running-them-in-the-ci-pipeline)
* [4.6 Do's and Don'ts](#46-dos-and-donts)
* [5. Running an EDC instance from a JUnit test (End2End tests)](#5-running-an-edc-instance-from-a-junit-test-end2end-tests)
* [1. Adding EDC test fixtures](#1-adding-edc-test-fixtures)
* [2. Controlling test verbosity](#2-controlling-test-verbosity)
* [3. Definition and distinction](#3-definition-and-distinction)
* [4. Integration Tests](#4-integration-tests)
* [4.1 TL;DR](#41-tldr)
* [4.2 When to use them](#42-when-to-use-them)
* [4.3 Coding Guidelines](#43-coding-guidelines)
* [4.4 Running integration tests locally](#44-running-integration-tests-locally)
* [4.5 Running them in the CI pipeline](#45-running-them-in-the-ci-pipeline)
* [4.6 Do's and Don'ts](#46-dos-and-donts)
* [5. Running an EDC instance from a JUnit test (End2End tests)](#5-running-an-edc-instance-from-a-junit-test-end2end-tests)
<!-- TOC -->

## 1. Adding EDC test fixtures
Expand Down

0 comments on commit 32945e0

Please sign in to comment.