Skip to content

docs: fix get_docs_utils.sh for macOS/BSD (POSIX [[:space:]])#38

Merged
jack-champagne merged 1 commit into
mainfrom
fix/get-docs-utils-macos
Jul 4, 2026
Merged

docs: fix get_docs_utils.sh for macOS/BSD (POSIX [[:space:]])#38
jack-champagne merged 1 commit into
mainfrom
fix/get-docs-utils-macos

Conversation

@jack-champagne

Copy link
Copy Markdown
Member

Bring docs/get_docs_utils.sh in line with Piccolo.jl / NamedTrajectories.jl / DirectTrajOpt.jl (whose main already carries this fix).

\s is a GNU extension not honored by BSD grep/sed (macOS). On macOS the old regex fails to strip the trailing # Change this... comment, so DOC_TEMPLATE_VERSION becomes v0.7.0" # Change this to the specific tag version you want and the local docs build breaks. POSIX [[:space:]] works on both GNU and BSD.

CI is unaffected (GNU grep on ubuntu parses both identically); this only fixes local docs builds on macOS.

@jack-champagne jack-champagne merged commit 679f1d8 into main Jul 4, 2026
4 checks passed
@jack-champagne jack-champagne deleted the fix/get-docs-utils-macos branch July 4, 2026 04:51
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.

1 participant