Skip to content

Commit 5edd3e5

Browse files
committed
Merge branch 'feat/policies-and-docs' of github.com:better-together-solutions/community-engine-rails into feat/policies-and-docs
2 parents db20943 + 70aae98 commit 5edd3e5

25 files changed

+16349
-385
lines changed

Dockerfile.docs

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# syntax=docker/dockerfile:1.7
2+
3+
# Minimal toolchain for generating the documentation PDF (pandoc + LaTeX).
4+
FROM debian:12-slim
5+
6+
ARG DEBIAN_FRONTEND=noninteractive
7+
8+
RUN set -eux; \
9+
apt-get update -qq; \
10+
apt-get install -y --no-install-recommends \
11+
ca-certificates \
12+
curl \
13+
lmodern \
14+
fonts-noto-core \
15+
fonts-noto-mono \
16+
fonts-noto-cjk \
17+
fonts-noto-color-emoji \
18+
pandoc \
19+
texlive-latex-base \
20+
texlive-latex-recommended \
21+
texlive-fonts-recommended \
22+
texlive-xetex \
23+
fontconfig \
24+
fonts-dejavu-core; \
25+
rm -rf /var/lib/apt/lists/*
26+
27+
# Drop root for runtime safety
28+
RUN groupadd --system docs \
29+
&& useradd --system --create-home --gid docs --shell /bin/bash docs
30+
31+
WORKDIR /workspace
32+
USER docs
33+
34+
ENV LANG=C.UTF-8 \
35+
LC_ALL=C.UTF-8

app/views/better_together/event_invitations_mailer/invite.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030

3131
<% if @event.description.present? %>
3232
<div style="margin: 12px 0;">
33-
<%= simple_format(@event.description) %>
33+
<%= simple_format(@event.description.to_plain_text) %>
3434
</div>
3535
<% end %>
3636
</div>

build/docs/combined.md

Lines changed: 10064 additions & 0 deletions
Large diffs are not rendered by default.
38.4 KB
Binary file not shown.
19.7 KB
Binary file not shown.
354 KB
Binary file not shown.
37.3 KB
Binary file not shown.
19.3 KB
Binary file not shown.
42.5 KB
Binary file not shown.
19.8 KB
Binary file not shown.

0 commit comments

Comments
 (0)