Skip to content

Commit

Permalink
docs: use makefile on CI to fix sphinx dates
Browse files Browse the repository at this point in the history
  • Loading branch information
gforsyth authored and cpcloud committed Jan 12, 2022
1 parent 6a8f424 commit 9a451d3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ibis-docs-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:

- name: build docs
working-directory: ibis
run: nix-shell --pure --run 'sphinx-build -b html docs/source docs/web/docs -W -T'
run: nix-shell --pure --run 'make -C docs html BUILDDIR=web/docs'

- name: build website
working-directory: ibis
Expand Down
6 changes: 3 additions & 3 deletions docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#

# You can set these variables from the command line.
SPHINXOPTS =
SPHINXOPTS = -W -T -j auto
SPHINXBUILD = sphinx-build
PAPER =
BUILDDIR = build
Expand Down Expand Up @@ -52,9 +52,9 @@ clean:
rm -rf source/generated

html:
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)
@echo
@echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
@echo "Build finished. The HTML pages are in $(BUILDDIR)."

dirhtml:
$(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml
Expand Down

0 comments on commit 9a451d3

Please sign in to comment.