Skip to content

Commit

Permalink
docs: improve the introduction page (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaLicense authored Mar 5, 2024
1 parent 960e071 commit ac618fa
Show file tree
Hide file tree
Showing 12 changed files with 61 additions and 21 deletions.
5 changes: 5 additions & 0 deletions docs/app/_category_.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"label": "App",
"position": 20,
"collapsed": false
}
1 change: 1 addition & 0 deletions docs/app/overview.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Overview
3 changes: 3 additions & 0 deletions docs/assets/languages/docker.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions docs/assets/languages/markdown.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions docs/assets/languages/php.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions docs/assets/languages/terraform.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions docs/assets/languages/typescript.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions docs/infrastructure/_category_.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"label": "Infra",
"position": 30,
"collapsed": false
}
1 change: 1 addition & 0 deletions docs/infrastructure/overview.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Overview
14 changes: 11 additions & 3 deletions docs/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,16 @@ sidebar_position: 1
slug: /
---

# Overview
# Introduction

The VOL application documentation. This is a work-in-progress.
The Vehicle Operator Licence (VOL) application documentation.

The epic to create documentation is [here](https://dvsa.atlassian.net/browse/VOL-4970).
This repository is a mono-repository, and contains the following:

- ![PHP](./assets/languages/php.svg) Application code (`/app`)
- ![Markdown](./assets/languages/markdown.svg) Documentation (`/docs`)
- ![Docker](./assets/languages/docker.svg) Application containers (`/infra/docker`)
- ![Terraform](./assets/languages/terraform.svg) Infrastructure As Code (`/infra/terraform`)
- ![TypeScript](./assets/languages/typescript.svg) Static site hosting the documentation (`/website`)

The epic to expand documentation is [here](https://dvsa.atlassian.net/browse/VOL-4970).
37 changes: 19 additions & 18 deletions docs/rfc/rfc-001-mono-repository.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,23 +35,24 @@ GitHub Action workflows will be designed to execute only on sub-projects with de

- Create a new repository named `vol-app`.
- Adopt a directory structure similar to the following:
```
|__ `.github`
| |__ `workflows/`
| |__ `ci.yaml`
| |__ `cd.yaml`
|__ `app`
|__ `api/`
|__ `internal/`
|__ `selfserve/`
|__ `infra` (optional)
|__ `terraform/`
|__ `vendor-bin/`
|__ `phpcs`
|__ `phpstan`
|__ `psalm`
|__ `.editorconfig`
|__ `docker-compose.yaml`
|__ ...
```js
|-- `.github`
| |-- `workflows/`
| | |-- `ci.yaml`
| | |-- `cd.yaml`
|-- `app`
| |-- `api/`
| |-- `internal/`
| |-- `selfserve/`
|-- `infra`
| |-- `terraform/` (Optional)
| |-- `docker/`
|-- `vendor-bin/`
| |-- `phpcs`
| |-- `phpstan`
| |-- `psalm`
|-- `.editorconfig`
|-- `docker-compose.yaml`
|-- ...
```
- Import repositories while retaining their git history for relevant commits during the merge.
4 changes: 4 additions & 0 deletions website/src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,7 @@
[data-theme="dark"] .docusaurus-highlight-code-line {
background-color: rgba(0, 0, 0, 0.3);
}

img {
vertical-align: middle;
}

0 comments on commit ac618fa

Please sign in to comment.