Skip to content

Commit 7773e52

Browse files
authored
docs(lots)
1 parent 3d73fd8 commit 7773e52

34 files changed

+11246
-10137
lines changed

.github/CODE_OF_CONDUCT.md

Lines changed: 0 additions & 56 deletions
This file was deleted.

.github/CODE_OF_CONDUCT.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../docs/code_of_conduct.md

.github/CONTRIBUTING.md

Lines changed: 0 additions & 29 deletions
This file was deleted.

.github/CONTRIBUTING.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../docs/contributing.md

.github/SECURITY.md

Lines changed: 0 additions & 45 deletions
This file was deleted.

.github/SECURITY.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../docs/security.md

.github/workflows/build.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ jobs:
2020
run: |
2121
sed -i 's!text.0w.nz!xero.github.io/text0wnz!' .env
2222
- name: build application
23-
run: bun bake
23+
run: |
24+
bun bake
25+
cp LICENSE dist/
2426
- name: check build artifacts
2527
run: |
2628
# dirs

.github/workflows/wiki.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,15 @@ jobs:
4343
find wiki -mindepth 1 -maxdepth 1 -not -name '.git' -not -name 'img' -exec rm -rf {} \;
4444
# copy docs to wiki
4545
cp -r repo/docs/* wiki/
46+
cp repo/.github/CONTRIBUTING.md wiki/contributing.md
47+
cp repo/.github/CODE_OF_CONDUCT.md wiki/code_of_conduct.md
48+
cp repo/.github/SECURITY.md wiki/security.md
4649
cd wiki
4750
# rename index file
4851
mv README.md Home.md
49-
# update footer
52+
# update layout
5053
echo "## ▓▒▒░ © 2018-$(date +"%Y") : [teXt0wnz](https://github.com/xero/text0wnz) ░▒▒▓" > _Footer.md
54+
echo -e "## **teXt0wnz wiki**\n\n<img src=https://raw.githubusercontent.com/xero/text0wnz/main/src/img/manifest/web-app-manifest-192x192.png width=96>\n\n### Users / Artists\n- [Editor Client](editor-client)\n- [Interface](interface)\n- [Key Bindings](editor-client#key-bindings--mouse-controls)\n- [PWA Install](docs/install-pwa)\n- [Font Previews](fonts)\n\n### Developers\n- [Architecture](architecture)\n- [Project Structure](project-structure)\n- [Building & Developing](building-and-developing)\n- [Testing Guide](testing)\n- [Code Quality](building-and-developing#linting-and-formatting)\n- [Environment Variables](environment-variables)\n\n### SysAdmins\n- [Webserver Config](webserver-configuration)\n- [Collaboration Server](collaboration-server)\n- [Containerization](docker)\n- [Monitoring](other-tools#monitoring-tools)\n- [CI/CD Pipeline](cicd)\n\n### Policies\n- [Security Policy](security)\n- [Privacy Policy](privacy)\n- [Code of Conduct](code_of_conduct)\n- [Contributing Guide](contributing)\n\n### Tech Specs\n- [SAUCE Format](sauce-format)\n- [XBin Format](xb-format)\n\n### Supplemental\n- [Project Logos](logos)\n- [Other Tools](other-tools)\n\n# https://teXt.0w.nz" > _Sidebar.md
5155
# fix internal markdown linx (remove .md extension)
5256
find . -name "*.md" -exec perl -pi -e 's/\]\((?!https?:\/\/)([^)]+)\.md([#][^)]+)?\)/](\1\2)/g' {} \;
5357
git add .

.prettierignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
dist/
2-
docs/
32
node_modules/
43
sessions/

Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,16 +44,18 @@ RUN rm -rf \
4444
*.config.js \
4545
bun.lock \
4646
Dockerfile \
47-
openrcDockerfile \
4847
docs \
4948
node_modules \
50-
LICENSE.txt \
49+
LICENSE \
5150
OSSMETADATA \
5251
package*.json \
5352
README.md \
5453
tests \
5554
/var/cache/apk/*
5655

56+
# Server only deps
57+
RUN bun i --production
58+
5759
# Create unprivileged user
5860
RUN addgroup -S textart && \
5961
adduser -S -G textart -h /app textart

0 commit comments

Comments
 (0)