You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a bit of an edge case, but documenting it here for the benefit of any future folks who may run into this issue.
If build_docs is pointed at an ascii-doc index file in a linked git worktree, it fails to identify the correct root directory for the git repo, leading to cascading failures.
STR
clone Kibana
from within the Kibana root directory, run git worktree add ../linked-kibana-worktree
This is a bit of an edge case, but documenting it here for the benefit of any future folks who may run into this issue.
If
build_docs
is pointed at an ascii-doc index file in a linked git worktree, it fails to identify the correct root directory for the git repo, leading to cascading failures.STR
git worktree add ../linked-kibana-worktree
cd ../linked-kibana-worktree
path/to/docs/repo/build_docs --doc ./docs/index.asciidoc
Result
Under the hood, the
rev-parse
command is failing with the following error (which is silenced in the current script).This causes
$toplevel
to be empty and the script makes an incorrect guess and fails.The text was updated successfully, but these errors were encountered: