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
|
ARG PYTHON_VERSION=3.9
|
||||||
FROM python:${PYTHON_VERSION}
|
FROM python:${PYTHON_VERSION}
|
||||||
|
|
||||||
|
ENV FORCE_COLOR=1
|
||||||
|
|
||||||
WORKDIR /code/eland
|
WORKDIR /code/eland
|
||||||
RUN python -m pip install nox
|
RUN python -m pip install nox
|
||||||
|
|
||||||
|
@ -1,15 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/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 build --file .buildkite/Dockerfile --tag elastic/eland --build-arg PYTHON_VERSION=${PYTHON_VERSION} .
|
docker run \
|
||||||
# docker run \
|
--name doc_build \
|
||||||
# --name doc_build \
|
--rm \
|
||||||
# --rm \
|
elastic/eland \
|
||||||
# elastic/eland \
|
bash -c "apt-get update && apt-get install --yes pandoc && nox -s docs"
|
||||||
# apt-get update && \
|
|
||||||
# sudo apt-get install --yes pandoc && \
|
|
||||||
# nox -s docs
|
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
# docs and example
|
# docs and example
|
||||||
docs/*
|
|
||||||
example/*
|
example/*
|
||||||
|
|
||||||
# Git
|
# Git
|
||||||
@ -18,9 +17,6 @@ dist/
|
|||||||
# Build folder
|
# Build folder
|
||||||
build/
|
build/
|
||||||
|
|
||||||
# docs
|
|
||||||
docs/*
|
|
||||||
|
|
||||||
# pytest results
|
# pytest results
|
||||||
tests/dataframe/results/*csv
|
tests/dataframe/results/*csv
|
||||||
result_images/
|
result_images/
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
eland.DataFrame.to\_json
|
eland.DataFrame.to\_json
|
||||||
=======================
|
========================
|
||||||
|
|
||||||
.. currentmodule:: eland
|
.. currentmodule:: eland
|
||||||
|
|
||||||
|
@ -17,6 +17,7 @@
|
|||||||
~MLModel.delete_model
|
~MLModel.delete_model
|
||||||
~MLModel.exists_model
|
~MLModel.exists_model
|
||||||
~MLModel.export_model
|
~MLModel.export_model
|
||||||
|
~MLModel.import_ltr_model
|
||||||
~MLModel.import_model
|
~MLModel.import_model
|
||||||
~MLModel.predict
|
~MLModel.predict
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user