Skip to content

Commit 72264e5

Browse files
committed
fix(workspace): footnote links to architecture docs
1 parent d71162b commit 72264e5

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

‎docs/workspace.md‎

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ A base is a special kind of Polylith _brick_. It is where you would add the entr
2525
It is a bridge between the outside world and the actual features.
2626

2727
## components
28-
> A component is an encapsulated block of code that can be assembled together with a base (it's often just a single base) and a set of components and libraries into services, libraries or tools. Components achieve encapsulation and composability by separating their private implementation from their public interface. [^1]
28+
> A component is an encapsulated block of code that can be assembled together with a base (it's often just a single base) and a set of components and libraries into services, libraries or tools. Components achieve encapsulation and composability by separating their private implementation from their public interface. [^2]
2929
3030
A component is also a _brick_, a building block for a feature.
3131
It can be a "tech" brick, such as containing dictionary filtering helper functions, or a parser.
@@ -51,7 +51,7 @@ development/
5151
```
5252

5353
## projects
54-
> A project is the result of combining one base (or in rare cases several bases) with multiple components and libraries. [^1]
54+
> A project is the result of combining one base (or in rare cases several bases) with multiple components and libraries. [^3]
5555
5656
Each project lives in a subdirectory of the `projects/` directory. A project is the deployable artifact: a microservice, a serverless function, a CLI or any kind of application.
5757

@@ -64,4 +64,6 @@ projects/
6464
In the project-specific directory, you will find a project-specific `pyproject.toml` that defines dependencies, packages and everything needed for the actual project.
6565
It is not recommended to put Python code in here. Just add the necessary project infrastructure, such as Dockerfiles and project-specific deploy scripting.
6666

67-
[^1]: From the official [Polylith Architecture documentation](https://polylith.gitbook.io/polylith/architecture/2.2.-base)
67+
[^1]: From the official Polylith Architecture [documentation about bases](https://polylith.gitbook.io/polylith/architecture/2.2.-base)
68+
[^2]: From the official Polylith Architecture [documentation about components](https://polylith.gitbook.io/polylith/architecture/2.3.-component)
69+
[^3]: From the official Polylith Architecture [documentation about projects](https://polylith.gitbook.io/polylith/architecture/2.6.-project)

0 commit comments

Comments
 (0)