Skip to content

Commit e2512a0

Browse files
Merge pull request #60 from sameeragunarathne/hotfix-quickstart-changes
Fix issues on the healthcare doc site styling
2 parents 98aeb07 + a5ba192 commit e2512a0

4 files changed

Lines changed: 8 additions & 4 deletions

File tree

.github/workflows/pr_build_check.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ jobs:
3131
set -o pipefail
3232
npm run build 2>&1 | tee build.log
3333
env:
34-
BASE_URL: /open-healthcare-docs/
34+
# Match the published site, which is served from the domain root.
35+
BASE_URL: /
3536

3637
- name: Report broken-link warnings
3738
if: always()

.github/workflows/publish_docs.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,13 @@ jobs:
3131
run: npm run build
3232
working-directory: en
3333
env:
34-
BASE_URL: /open-healthcare-docs/
34+
# The site is served from the root of https://healthcare.docs.wso2.com,
35+
# not from a /open-healthcare-docs/ sub-path.
36+
BASE_URL: /
3537

3638
- name: Deploy to GitHub Pages
3739
uses: peaceiris/actions-gh-pages@v4
3840
with:
3941
github_token: ${{ secrets.GITHUB_TOKEN }}
4042
publish_dir: en/build
43+
cname: healthcare.docs.wso2.com

en/docusaurus.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const config = {
1717
title: 'Healthcare Solution Documentation',
1818
tagline: 'Documentation for WSO2 Open Healthcare Accelerator',
1919
favicon: 'img/favicon.svg',
20-
url: 'https://oh.docs.wso2.com',
20+
url: 'https://healthcare.docs.wso2.com',
2121
baseUrl,
2222
organizationName: 'wso2',
2323
projectName: 'open-healthcare-docs',

en/docusaurus.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const config: Config = {
1919
title: 'Healthcare Solution Documentation',
2020
tagline: 'Documentation for WSO2 Open Healthcare Accelerator',
2121
favicon: 'img/favicon.svg',
22-
url: 'https://oh.docs.wso2.com',
22+
url: 'https://healthcare.docs.wso2.com',
2323
baseUrl,
2424
organizationName: 'wso2',
2525
projectName: 'open-healthcare-docs',

0 commit comments

Comments
 (0)