Implement pandoc installation in setup script#136
Implement pandoc installation in setup script#136pierzchala-m wants to merge 5 commits intomasterfrom
Conversation
Add installation steps for pandoc based on OS detection. Signed-off-by: Monika <162727606+pierzchala-m@users.noreply.github.com>
|
👋 @pierzchala-m, Your documentation has been pushed to https://docs-qa.med-web.com/136-merge/ for commit 97f5869 |
There was a problem hiding this comment.
Pull request overview
Adds pandoc installation to setup.sh so local/dev/CI environments can render documentation that uses pandoc-based markup.
Changes:
- Detects whether
pandocis installed and installs it if missing. - Adds OS-specific installation branches (Cloudflare Pages/apt, macOS/brew, Linux/apt|yum, Windows/manual note).
setup.sh
Outdated
| if [[ -e /usr/bin/apt-get ]] | ||
| then | ||
| sudo apt-get update && sudo apt-get install -y pandoc | ||
| else | ||
| sudo yum install -y pandoc | ||
| fi |
There was a problem hiding this comment.
Linux package-manager detection uses a hard-coded path check (/usr/bin/apt-get) and falls back to yum without verifying it exists. This can select the wrong branch on some distros (and it's inconsistent with the earlier /bin/apt-get check in this script). Prefer command -v apt-get / command -v yum (or similar) and fail with a helpful message if neither is available.
Deploying eh-docs with
|
| Latest commit: |
503cf68
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://64dd5da2.eh-docs.pages.dev |
| Branch Preview URL: | https://pierzchala-m-patch-1.eh-docs.pages.dev |
Deploying wc-docs with
|
| Latest commit: |
503cf68
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://2ca35c81.wc-docs.pages.dev |
| Branch Preview URL: | https://pierzchala-m-patch-1.wc-docs.pages.dev |
Add installation check for pandoc in build script Signed-off-by: Monika <162727606+pierzchala-m@users.noreply.github.com>
Removed pandoc installation checks from setup script. Signed-off-by: Monika <162727606+pierzchala-m@users.noreply.github.com>
|
👋 @pierzchala-m, Your documentation has been pushed to https://docs-qa.med-web.com/136-merge/ for commit a1e129d |
|
👋 @pierzchala-m, Your documentation has been pushed to https://docs-qa.med-web.com/136-merge/ for commit 52c0599 |
Added installation step for Pandoc in the workflow. Signed-off-by: Monika <162727606+pierzchala-m@users.noreply.github.com>
Removed pandoc installation check from build script. Signed-off-by: Monika <162727606+pierzchala-m@users.noreply.github.com>
|
👋 @pierzchala-m, Your documentation has been pushed to https://docs-qa.med-web.com/136-merge/ for commit 01b7acb |
|
👋 @pierzchala-m, Your documentation has been pushed to https://docs-qa.med-web.com/136-merge/ for commit a6c0cd2 |
Add installation steps for pandoc based on OS detection.