Skip to content

Commit

Permalink
Try to fix firedrake_citations.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
JDBetteridge committed Feb 6, 2023
1 parent 108e2b0 commit bb19725
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ help:

TARGETS = html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest gettext

GENERATED_FILES = source/team.rst source/demos source/element_list.csv
GENERATED_FILES = source/team.rst source/demos source/element_list.csv source/firedrake_citations.rst

publish: html
# The raw IP address is used to circumvent some dns fiddling which
Expand Down Expand Up @@ -76,12 +76,14 @@ source/element_list.csv: source/element_list.py
source/team.rst: source/team2.py
cd source; python team2.py; mv AUTHORS.rst ../..

apidoc: $(GENERATED_FILES) copy_demos
sphinx-apidoc -f -T -o source/ ../firedrake ../firedrake/cython/*.so
source/firedrake_citations.rst:
sphinx-apidoc -f -T -o source/ ../firedrake_citations
echo -e ":orphan:\n\n" | cat - source/firedrake_citations.rst > source/firedrake_citations.tmp
mv source/firedrake_citations.tmp source/firedrake_citations.rst

apidoc: $(GENERATED_FILES) copy_demos
sphinx-apidoc -f -T -o source/ ../firedrake ../firedrake/cython/*.so

clean:
-rm -rf $(BUILDDIR)/*
-rm -rf $(GENERATED_FILES)
Expand Down

0 comments on commit bb19725

Please sign in to comment.