Skip to content

Commit

Permalink
Change SPHINXOPTS in doc/makefile (ufs-community#83)
Browse files Browse the repository at this point in the history
* add + to sphinxopts

* remove warning log
  • Loading branch information
chan-hoo authored Mar 28, 2024
1 parent a134f10 commit dadc9fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion .github/workflows/auto_doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ jobs:
uses: ammaraskar/sphinx-action@dev
with:
docs-folder: "doc/"
build-command: "sphinx-build source build"

- name: Upload artifacts
uses: actions/upload-artifact@v3
Expand Down
4 changes: 2 additions & 2 deletions doc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

# You can set these variables from the command line, and also
# from the environment for the first two.
SPHINXOPTS = -a -n #-W
SPHINXOPTS += -a -n
SPHINXBUILD ?= sphinx-build
SOURCEDIR = source
BUILDDIR = build
Expand All @@ -29,4 +29,4 @@ linkcheck:
# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
%: Makefile
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) -w $(BUILDDIR)/warnings.log
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(0)

0 comments on commit dadc9fa

Please sign in to comment.