mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-13 22:54:42 -04:00
Add markdown renderer for motd (#1840)
* Add markdown renderer for motd Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
parent
21c12fafba
commit
57cb6f5b15
15 changed files with 102 additions and 55 deletions
|
@ -1,10 +1,4 @@
|
|||
<!--
|
||||
SPDX-FileCopyrightText: 2021 The HedgeDoc developers (see AUTHORS file)
|
||||
|
||||
SPDX-License-Identifier: CC-BY-SA-4.0
|
||||
-->
|
||||
|
||||
:::warning
|
||||
:::info
|
||||
What you see is an UI-Test! It's filled with dummy data, not connected to a backend and no data will be saved.
|
||||
:::
|
||||
|
||||
|
|
6
netlify/motd.md
Normal file
6
netlify/motd.md
Normal file
|
@ -0,0 +1,6 @@
|
|||
This demo is hosted by [netlify](https://netlify.com).
|
||||
Please check their [privacy policy](https://netlify.com/privacy) as well as [our privacy policy](https://hedgedoc.org/privacy-policy).
|
||||
|
||||
:::info
|
||||
What you see is an UI-Test! It's filled with dummy data, not connected to a backend and no data will be saved.
|
||||
:::
|
3
netlify/motd.md.license
Normal file
3
netlify/motd.md.license
Normal file
|
@ -0,0 +1,3 @@
|
|||
SPDX-FileCopyrightText: 2021 The HedgeDoc developers (see AUTHORS file)
|
||||
|
||||
SPDX-License-Identifier: CC0-1.0
|
|
@ -1,2 +0,0 @@
|
|||
This demo is hosted by netlify.
|
||||
Please check their privacy policy (https://netlify.com/privacy) as well as ours (https://hedgedoc.org/privacy-policy).
|
|
@ -7,8 +7,8 @@ set -e
|
|||
|
||||
echo 'Patch intro.md to include netlify banner.'
|
||||
cp netlify/intro.md public/mock-backend/public/intro.md
|
||||
echo 'Patch motd.txt to include privacy policy.'
|
||||
cp netlify/motd.txt public/mock-backend/public/motd.txt
|
||||
echo 'Patch motd.md to include privacy policy.'
|
||||
cp netlify/motd.md public/mock-backend/public/motd.md
|
||||
echo 'Patch version.json to include git hash'
|
||||
jq ".version = \"0.0.0+${GITHUB_SHA:0:8}\"" src/version.json > src/_version.json
|
||||
mv src/_version.json src/version.json
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue