Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,16 @@ jobs:
run: |
pip install -r .github/workflows/requirements/docs.txt

- name: Install Gnuplot
run: |
sudo apt update
sudo apt install -y gnuplot

- name: Build with sphinx
run: |
cd docs
make html WORKSPACE_PATH=/tmp/workspace
# make html WORKSPACE_PATH=/tmp/workspace
./build_doc.py --html

- name: Check for Typos using Codespell
run: |
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/requirements/docs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ pyarrow==3.0.0;python_version<="3.6"
google-cloud-bigquery
tqdm
deprecation
matplotlib
4 changes: 2 additions & 2 deletions docs/build_doc.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ def _build_pdf(self):
self.logger.info("Building PDF...")

run_app(self.logger, ["sphinx-build", "-b", "latex", ".", "_build"])
run_app(self.logger, ["make", "latexpdf"])
run_app(self.logger, ["make", "latexpdf", "WORKSPACE_PATH=/tmp/workspace"])

def _build_html(self):
"""This builds the documentation with exporting to HTML."""
Expand All @@ -317,7 +317,7 @@ def _build_html(self):
self.logger.info("Building HTML...")

run_app(self.logger, ["sphinx-build", "-b", "html", ".", "_build"])
run_app(self.logger, ["make", "html"])
run_app(self.logger, ["make", "html", "WORKSPACE_PATH=/tmp/workspace"])

def build_doc(self):
"""This builds the documentation."""
Expand Down
Loading