Skip to content

Commit bb029e0

Browse files
authored
Merge pull request #370 from GetStream/theming-v2
Theming v2
2 parents c42182b + f47654c commit bb029e0

File tree

119 files changed

+3276
-1752
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

119 files changed

+3276
-1752
lines changed

β€Ž.github/workflows/workflow.ymlβ€Ž

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,14 @@ on:
44
branches:
55
- master
66
- beta
7+
- theming-v2
78
pull_request:
89
branches:
910
- master
1011
- beta
12+
- theming-v2
1113
jobs:
12-
test:
14+
workflow:
1315
runs-on: ubuntu-latest
1416
strategy:
1517
matrix:
@@ -55,6 +57,8 @@ jobs:
5557
GH_TOKEN: ${{ secrets.GH_TOKEN }}
5658
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
5759
run: npx semantic-release
60+
- name: Copy docs from stream-chat-css
61+
run: npm run copy-css-docs
5862
- name: Generate docs
5963
run: |
6064
npm run generate-docs

β€Ž.gitignoreβ€Ž

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ testem.log
4444
temp-service-docs
4545
temp-component-docs
4646
docusaurus/docs/Angular/services/*.mdx
47+
docusaurus/docs/Angular/theming/*
48+
docusaurus/docs/Angular/assets/stream-chat-css*
4749

4850
# System Files
4951
.DS_Store

β€Žcopy-css-docs.shβ€Ž

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
#!/usr/bin/env bash
2+
3+
usage() {
4+
echo "Missing path to stream-chat-css directory"
5+
echo "Usage: $(basename $0) <path_to_stream-chat-css_directory>"
6+
}
7+
8+
main() {
9+
if [ $# -eq 0 ]; then
10+
usage
11+
exit 0
12+
fi
13+
14+
STREAM_CHAT_CSS_DOCS_PATH=$1;
15+
cp -r "$STREAM_CHAT_CSS_DOCS_PATH"/* ./docusaurus/docs/Angular;
16+
}
17+
18+
19+
main $*
20+
exit 0
41.8 KB
Loading
-966 KB
Loading
-1.43 MB
Loading
512 KB
Loading
7.43 KB
Loading
600 KB
Loading
-1.54 MB
Loading

0 commit comments

Comments
Β (0)