Skip to content

Commit

Permalink
Add data folder to built docs
Browse files Browse the repository at this point in the history
These `.json` files are not currently copied to the output directory.
This seems to be a problem with the way recommonmark handles links with
extensions.

See also readthedocs/recommonmark#130 (comment)
  • Loading branch information
stefanv committed Jul 15, 2020
1 parent afe0d70 commit 4cb58ed
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 5 additions & 0 deletions doc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,8 @@ help:
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
%: Makefile
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

html:
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
cp -r data _build/html
touch _build/html/.nojekyll
1 change: 0 additions & 1 deletion fritz
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,6 @@ def test(args):

def doc(args):
subprocess.run(["make", "html"], cwd="doc", check=True)
Path("doc/_build/html/.nojekyll").touch()

if args.upload:
subprocess.run(
Expand Down

0 comments on commit 4cb58ed

Please sign in to comment.