Skip to content

Commit 0dabc37

Browse files
committed
Merge branch 'feat/favicon' into 'main'
feat(favicon): [misc] add favicon See merge request integration/ringcentral-integration-docs!7
2 parents 0665ad9 + 4ff44ec commit 0dabc37

3 files changed

Lines changed: 26 additions & 0 deletions

File tree

.github/workflows/github-pages.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Publish documentation
2+
on:
3+
push:
4+
branches:
5+
- main
6+
permissions:
7+
contents: write
8+
jobs:
9+
deploy:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
- uses: actions/setup-python@v4
14+
with:
15+
python-version: 3.11
16+
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
17+
- uses: actions/cache@v3
18+
with:
19+
key: mkdocs-material-${{ env.cache_id }}
20+
path: .cache
21+
restore-keys: |
22+
mkdocs-material-
23+
- run: pip install mkdocs-material
24+
- run: if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
25+
- run: mkdocs gh-deploy --force

docs/img/favicon.png

1.38 KB
Loading

mkdocs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ docs_dir: docs
1111
theme:
1212
name: material
1313
custom_dir: overrides
14+
favicon: img/favicon.png
1415
logo: img/RingCentral_logo_color.png
1516
font:
1617
code: Roboto Mono

0 commit comments

Comments
 (0)