Skip to content

Commit 67aeb00

Browse files
chore: move markdown files into docs/ directory (firezone#3773)
Apart from the LICENSE, GitHub supports detecting all of these files also within a `docs/` directory. This includes the README!
1 parent 2891481 commit 67aeb00

File tree

13 files changed

+34
-25
lines changed

13 files changed

+34
-25
lines changed

.github/workflows/_static-analysis.yml

+9
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,15 @@ jobs:
2020
exit 1
2121
fi
2222
23+
link-check:
24+
runs-on: ubuntu-22.04
25+
steps:
26+
- uses: actions/checkout@v4
27+
- uses: lycheeverse/[email protected]
28+
with:
29+
fail: true
30+
args: --offline --verbose --no-progress **/*.md
31+
2332
global-linter:
2433
runs-on: ubuntu-22.04
2534
steps:
File renamed without changes.

CONTRIBUTING.md docs/CONTRIBUTING.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ When you want to test every component together the ideal way to go is to use
6565
docker.
6666

6767
To do this you first need a seeded database, for that follow the steps on the
68-
[Elixir's README](elixir/readme#running-control-plane-for-local-development).
68+
[Elixir's README](../elixir/README.md#running-control-plane-for-local-development).
6969
Then you can do:
7070

7171
```sh
@@ -132,7 +132,7 @@ Email: firezone@localhost
132132
Password: Firezone1234
133133
```
134134

135-
The [`docker-compose.yml`](docker-compose.yml) file configures the Docker
135+
The [`docker-compose.yml`](../docker-compose.yml) file configures the Docker
136136
development environment. If you make any changes you feel would benefit all
137137
developers, feel free to open a PR to get them merged!
138138

@@ -167,7 +167,7 @@ setup properly.
167167

168168
While not strictly required, we use [asdf-vm](https://asdf-vm.com) to manage
169169
language versions for Firezone. You'll need to install the language runtimes
170-
according to the versions laid out in the [.tool-versions](.tool-versions) file.
170+
according to the versions laid out in the [.tool-versions](../.tool-versions) file.
171171

172172
If using asdf, simply run `asdf install` from the project root.
173173

@@ -188,17 +188,17 @@ pip: `pip install pre-commit`.
188188
### Elixir Development
189189

190190
If you are interested in contributing to the Web Application/API, please read
191-
the detailed info found in the [Elixir Developer Guide](elixir/README.md)
191+
the detailed info found in the [Elixir Developer Guide](../elixir/README.md)
192192

193193
### Rust Development
194194

195195
If you are interested in contributing to the Gateway, Relay, or client library,
196196
please read the detailed info found in the
197-
[Rust Developer Guide](rust/README.md)
197+
[Rust Developer Guide](../rust/README.md)
198198

199199
### Shell script Development
200200

201-
See [scripts/README](scripts/README.md).
201+
See [scripts/README](../scripts/README.md).
202202

203203
## Reporting Bugs
204204

MAINTAINERS.md docs/MAINTAINERS.md

File renamed without changes.

NOTICE.txt docs/NOTICE.txt

File renamed without changes.

README.md docs/README.md

+13-13
Original file line numberDiff line numberDiff line change
@@ -89,21 +89,21 @@ Firezone is **not:**
8989
This is a monorepo containing the full Firezone product, marketing website, and
9090
product documentation, organized as follows:
9191

92-
- [elixir](./elixir): Control plane and internal Elixir libraries:
93-
- [elixir/apps/web](./elixir/apps/web): Admin UI
94-
- [elixir/apps/api](./elixir/apps/api): API for Clients, Relays and Gateways.
95-
- [rust/](./rust): Data plane and internal Rust libraries:
96-
- [rust/gateway](./rust/gateway): Gateway - Tunnel server based on WireGuard
92+
- [elixir](../elixir): Control plane and internal Elixir libraries:
93+
- [elixir/apps/web](../elixir/apps/web): Admin UI
94+
- [elixir/apps/api](../elixir/apps/api): API for Clients, Relays and Gateways.
95+
- [rust/](../rust): Data plane and internal Rust libraries:
96+
- [rust/gateway](../rust/gateway): Gateway - Tunnel server based on WireGuard
9797
and deployed to your infrastructure.
98-
- [rust/relay](./rust/relay): Relay - STUN/TURN server to facilitate
98+
- [rust/relay](../rust/relay): Relay - STUN/TURN server to facilitate
9999
holepunching.
100-
- [rust/linux-client](./rust/linux-client): Linux client.
101-
- [rust/windows-client](./rust/windows-client): Windows client.
102-
- [swift/](./swift/apple): macOS / iOS clients.
103-
- [kotlin/](./kotlin/android): Android / ChromeOS clients.
104-
- [website/](./website): Marketing website and product documentation.
105-
- [terraform/](./terraform): Terraform files for our cloud infrastructure:
106-
- [terraform/modules/gateway-google-cloud-compute](./terraform/modules/gateway-google-cloud-compute):
100+
- [rust/linux-client](../rust/linux-client): Linux CLI client.
101+
- [rust/gui-client](../rust/gui-client): Cross-platform GUI client.
102+
- [swift/](../swift/apple): macOS / iOS clients.
103+
- [kotlin/](../kotlin/android): Android / ChromeOS clients.
104+
- [website/](../website): Marketing website and product documentation.
105+
- [terraform/](../terraform): Terraform files for our cloud infrastructure:
106+
- [terraform/modules/gateway-google-cloud-compute](../terraform/modules/gateway-google-cloud-compute):
107107
Example Terraform module for deploying a Gateway to a Google Compute
108108
Regional Instance Group.
109109

SECURITY.md docs/SECURITY.md

File renamed without changes.

elixir/mix.exs

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ defmodule Firezone.MixProject do
1616
],
1717
docs: [
1818
logo: "apps/web/assets/static/images/logo.svg",
19-
extras: ["README.md", "SECURITY.md", "CONTRIBUTING.md"]
19+
extras: ["docs/README.md", "docs/SECURITY.md", "docs/CONTRIBUTING.md"]
2020
],
2121
deps: deps(),
2222
dialyzer: [

rust/connlib/tunnel/src/device_channel/tun_darwin.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ impl Tun {
9393
// by this point. So instead, we iterate through all file descriptors looking for the one corresponding
9494
// to the utun interface we have access to read and write from.
9595
//
96-
// Credit to Jason Donenfeld (@zx2c4) for this technique. See NOTICE.txt for attribution.
96+
// Credit to Jason Donenfeld (@zx2c4) for this technique. See docs/NOTICE.txt for attribution.
9797
// https://github.com/WireGuard/wireguard-apple/blob/master/Sources/WireGuardKit/WireGuardAdapter.swift
9898
for fd in 0..1024 {
9999
tracing::debug!("Checking fd {}", fd);

scripts/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ shellcheck --severity=warning **/*.sh
2323
```
2424

2525
You can achieve this more easily by using `pre-commit`. See
26-
[CONTRIBUTING](../CONTRIBUTING.md#pre-commit).
26+
[CONTRIBUTING](../docs/CONTRIBUTING.md#pre-commit).
2727

2828
### Editor setup
2929

website/src/app/docs/deploy/security-considerations/readme.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,4 @@ the local authentication method.
5858
## Reporting security issues
5959

6060
To report any security-related bugs, see
61-
[our security bug reporting policy ](https://github.com/firezone/firezone/blob/main/SECURITY.md).
61+
[our security bug reporting policy ](https://github.com/firezone/firezone/blob/main/docs/SECURITY.md).

website/src/app/docs/readme.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,4 @@ These docs explain how to deploy, configure, and use Firezone.
5151

5252
We deeply appreciate any and all contributions to the project and do our best to
5353
ensure your contribution is included. To get started, see
54-
[CONTRIBUTING.md](https://github.com/firezone/firezone/blob/main/CONTRIBUTING.md).
54+
[CONTRIBUTING.md](https://github.com/firezone/firezone/blob/main/docs/CONTRIBUTING.md).

website/src/components/FAQ/readme.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -229,4 +229,4 @@ remains inaccessible from the internet, with no visible entry points.
229229

230230
Firezone helps improve organizations’ cybersecurity posture by offering a modern
231231
approach to securing access to sensitive Resources in their private network.
232-
[Read our security disclosure policy](https://github.com/firezone/firezone/blob/main/SECURITY.md)
232+
[Read our security disclosure policy](https://github.com/firezone/firezone/blob/main/docs/SECURITY.md)

0 commit comments

Comments
 (0)