forked from coil-kt/coil
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeploy_docs.sh
More file actions
executable file
·33 lines (29 loc) · 847 Bytes
/
deploy_docs.sh
File metadata and controls
executable file
·33 lines (29 loc) · 847 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/bin/bash
# Build the Dokka docs.
./assemble_docs.sh
# Copy outside files into the docs folder.
sed -e '/full documentation here/ { N; d; }' < README.md > docs/index.md
cp .github/ISSUE_TEMPLATE/CONTRIBUTING.md docs/contributing.md
cp CHANGELOG.md docs/changelog.md
cp coil-compose-singleton/README.md docs/compose.md
cp coil-gif/README.md docs/gifs.md
cp coil-svg/README.md docs/svgs.md
cp coil-video/README.md docs/videos.md
cp logo.svg docs/logo.svg
cp README-ko.md docs/README-ko.md
cp README-tr.md docs/README-tr.md
cp README-zh.md docs/README-zh.md
# Deploy to Github pages.
mkdocs gh-deploy
# Clean up.
rm docs/index.md \
docs/contributing.md \
docs/changelog.md \
docs/compose.md \
docs/logo.svg \
docs/gifs.md \
docs/svgs.md \
docs/videos.md \
docs/README-ko.md \
docs/README-tr.md \
docs/README-zh.md