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
Fixes building the x-pack reference books with `--doc`. They require a
special directory layout that `build_docs.pl` relied on the user to
build manually. `build_docs` builds the docker filesystem agnostic of
the user's filesystem and without this change would stuff all of the
source repos into `/doc` in the docker image.
For example, the `elasticsearch` and `x-pack-elasticsearch` repo expect
to be layed out like this:
```
+ elasticsearch
\ elasticsearch-extra
+ x-pack-elasticsearch
```
but docker was putting them in `/docs/elasticsearch` and
`/docs/x-pack-elasticsearch`.
This changes how they are mounted in the docker image so they'll build.
Now all repos with names like `x-pack-foo` are mounted in `foo-extra`.
This isn't the cleanest thing in the world, but I expect we can revert
it once we no longer have to support building the docs outside of
docker.
0 commit comments