mirror of
https://github.com/elastic/eland.git
synced 2025-07-11 00:02:14 +08:00
Build documentation using Docker again (#746)
This commit is contained in:
parent
7774a506ae
commit
f99adce23f
@ -1,6 +1,8 @@
|
||||
ARG PYTHON_VERSION=3.9
|
||||
FROM python:${PYTHON_VERSION}
|
||||
|
||||
ENV FORCE_COLOR=1
|
||||
|
||||
WORKDIR /code/eland
|
||||
RUN python -m pip install nox
|
||||
|
||||
|
@ -1,15 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y pandoc python3 python3-pip
|
||||
python3 -m pip install nox
|
||||
/opt/buildkite-agent/.local/bin/nox -s docs
|
||||
|
||||
# I couldn't make this work, for some reason pandoc is not found in the docker container repository:
|
||||
# docker build --file .buildkite/Dockerfile --tag elastic/eland --build-arg PYTHON_VERSION=${PYTHON_VERSION} .
|
||||
# docker run \
|
||||
# --name doc_build \
|
||||
# --rm \
|
||||
# elastic/eland \
|
||||
# apt-get update && \
|
||||
# sudo apt-get install --yes pandoc && \
|
||||
# nox -s docs
|
||||
docker build --file .buildkite/Dockerfile --tag elastic/eland --build-arg PYTHON_VERSION=${PYTHON_VERSION} .
|
||||
docker run \
|
||||
--name doc_build \
|
||||
--rm \
|
||||
elastic/eland \
|
||||
bash -c "apt-get update && apt-get install --yes pandoc && nox -s docs"
|
||||
|
@ -1,5 +1,4 @@
|
||||
# docs and example
|
||||
docs/*
|
||||
example/*
|
||||
|
||||
# Git
|
||||
@ -18,9 +17,6 @@ dist/
|
||||
# Build folder
|
||||
build/
|
||||
|
||||
# docs
|
||||
docs/*
|
||||
|
||||
# pytest results
|
||||
tests/dataframe/results/*csv
|
||||
result_images/
|
||||
|
@ -1,5 +1,5 @@
|
||||
eland.DataFrame.to\_json
|
||||
=======================
|
||||
========================
|
||||
|
||||
.. currentmodule:: eland
|
||||
|
||||
|
@ -17,6 +17,7 @@
|
||||
~MLModel.delete_model
|
||||
~MLModel.exists_model
|
||||
~MLModel.export_model
|
||||
~MLModel.import_ltr_model
|
||||
~MLModel.import_model
|
||||
~MLModel.predict
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user