Skip to content

Commit

Permalink
remove fediverse link in embedded documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
mmguero committed Nov 30, 2022
1 parent 81124ed commit 935745d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfiles/nginx.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ WORKDIR /site
RUN find /site -type f -name "*.md" -exec sed -i "s/{{[[:space:]]*site.github.build_revision[[:space:]]*}}/$VCS_REVISION/g" "{}" \; && \
( [ -n "${GITHUB_TOKEN}" ] && export JEKYLL_GITHUB_TOKEN="${GITHUB_TOKEN}" || true ) && \
sed -i "s/^\(show_downloads:\).*/\1 false/" /site/_config.yml && \
sed -i -e "/^mastodon:/,+2d" /site/_config.yml && \
docker-entrypoint.sh bundle exec jekyll build && \
find /site/_site -type f -name "*.md" -delete && \
find /site/_site -type f -name "*.html" -exec sed -i "s@/\(docs\|assets\)@/readme/\1@g" "{}" \; && \
Expand Down
1 change: 1 addition & 0 deletions sensor-iso/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ if [ -d "$WORKDIR" ]; then
[[ -f "$SCRIPT_PATH/shared/environment.chroot" ]] && \
. "$SCRIPT_PATH/shared/environment.chroot"
sed -i "s/^\(show_downloads:\).*/\1 false/" "$SCRIPT_PATH"/_config.yml
sed -i -e "/^mastodon:/,+2d" "$SCRIPT_PATH"/_config.yml
bash "$SCRIPT_PATH/docs/documentation_build.sh" -v -r "${VCS_REVSION:-main}" -t "${GITHUB_TOKEN:-}"
mkdir -p ./config/includes.chroot/usr/share/doc
cp -r "$SCRIPT_PATH/_site" ./config/includes.chroot/usr/share/doc/hedgehog
Expand Down

0 comments on commit 935745d

Please sign in to comment.