Skip to content

Implement pandoc installation in setup script#136

Open
pierzchala-m wants to merge 5 commits intomasterfrom
pierzchala-m-patch-1
Open

Implement pandoc installation in setup script#136
pierzchala-m wants to merge 5 commits intomasterfrom
pierzchala-m-patch-1

Conversation

@pierzchala-m
Copy link
Collaborator

Add installation steps for pandoc based on OS detection.

Add installation steps for pandoc based on OS detection.

Signed-off-by: Monika <162727606+pierzchala-m@users.noreply.github.com>
@github-actions
Copy link

github-actions bot commented Mar 6, 2026

👋 @pierzchala-m, Your documentation has been pushed to https://docs-qa.med-web.com/136-merge/ for commit 97f5869

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 pandoc is 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
Comment on lines +43 to +48
if [[ -e /usr/bin/apt-get ]]
then
sudo apt-get update && sudo apt-get install -y pandoc
else
sudo yum install -y pandoc
fi
Copy link

Copilot AI Mar 6, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copilot uses AI. Check for mistakes.
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Mar 6, 2026

Deploying eh-docs with  Cloudflare Pages  Cloudflare Pages

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

View logs

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Mar 6, 2026

Deploying wc-docs with  Cloudflare Pages  Cloudflare Pages

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

View logs

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>
@github-actions
Copy link

github-actions bot commented Mar 6, 2026

👋 @pierzchala-m, Your documentation has been pushed to https://docs-qa.med-web.com/136-merge/ for commit a1e129d

@github-actions
Copy link

github-actions bot commented Mar 6, 2026

👋 @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>
@github-actions
Copy link

github-actions bot commented Mar 6, 2026

👋 @pierzchala-m, Your documentation has been pushed to https://docs-qa.med-web.com/136-merge/ for commit 01b7acb

@github-actions
Copy link

github-actions bot commented Mar 6, 2026

👋 @pierzchala-m, Your documentation has been pushed to https://docs-qa.med-web.com/136-merge/ for commit a6c0cd2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Published page Query ODG Integration is not what Google Drive version looks like and I cannot publish any edits to same page

2 participants