Skip to content

Commit ee2fd5b

Browse files
authored
Add contributing file (#134)
* Add contributing file * Rewrite and point at matrix-appservice-bridge * Add documentation * Ensure we install matrix-appservice-bridge when building docs * Also install for release * changelog * add contrib file * Remove artifact step, it doesn't render so nicely * Update README.md
1 parent 8cf8c8e commit ee2fd5b

File tree

7 files changed

+41
-1
lines changed

7 files changed

+41
-1
lines changed

.github/workflows/docs-latest.yml

+8
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,14 @@ jobs:
99
steps:
1010
- uses: actions/checkout@v2
1111

12+
- name: Use Node.js
13+
uses: actions/setup-node@v1
14+
with:
15+
node-version: 16
16+
17+
# We want to install matrix-appservice-bridge, which we depend on.
18+
- run: yarn --ignore-scripts
19+
1220
- name: Setup mdBook
1321
uses: peaceiris/actions-mdbook@v1
1422
with:

.github/workflows/docs-release.yml

+8
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,14 @@ jobs:
1010
steps:
1111
- uses: actions/checkout@v2
1212

13+
- name: Use Node.js
14+
uses: actions/setup-node@v1
15+
with:
16+
node-version: 16
17+
18+
# We want to install matrix-appservice-bridge, which we depend on.
19+
- run: yarn --ignore-scripts
20+
1321
- name: Get release tag
1422
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
1523

CONTRIBUTING.md

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
Hi there! Please read the [CONTRIBUTING.md](https://github.com/matrix-org/matrix-appservice-bridge/blob/develop/CONTRIBUTING.md) guide for all matrix.org bridge
2+
projects.
3+
4+
## Hookshot Guidelines
5+
6+
- Hookshot presently uses the `main` branch as the default branch (instead of `develop`).
7+
- Since Hookshot caters to a range of services, we have additional tags such as `GitHub`, `GitLab`
8+
which help us determine which services are affected by an issue.
9+
- In addition to Typescript, Hookshot makes use of [Rust](https://rust-lang.org). You will need to setup Rust in order to build the project. https://rustup.rs/ is a good option for most people.
10+
- The official hookshot support/development room is [#hookshot:half-shot.uk](https://matrix.to/#/#hookshot:half-shot.uk)
11+

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,4 @@ sensible-browser book/index.html
4242

4343
## Contact
4444

45-
We have a bridge support room you can drop into at [#hookshot:half-shot.uk](https://matrix.to/#/#hookshot:half-shot.uk), or you can reach me at [@Half-Shot:half-shot.uk](https://matrix.to/#/@Half-Shot:half-shot.uk)
45+
We have a bridge support room you can drop into at [#hookshot:half-shot.uk](https://matrix.to/#/#hookshot:half-shot.uk).

changelog.d/134.doc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add CONTRIBUTING.md guide.

docs/SUMMARY.md

+3
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@
1717
- [GitLab Project](./usage/room_configuration/gitlab_project.md)
1818
- [📊 Metrics](./metrics.md)
1919

20+
# 🧑‍💻 Development
21+
- [Contributing](./contributing.md)
22+
2023
# 🥼 Advanced
2124

2225
- [Provisioning](./advanced/provisioning.md)

docs/contributing.md

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Contributing
2+
3+
## Matrix.org Bridges
4+
5+
{{#include ../node_modules/matrix-appservice-bridge/CONTRIBUTING.md}}
6+
7+
## Hookshot
8+
9+
{{#include ../CONTRIBUTING.md}}

0 commit comments

Comments
 (0)