Skip to content

Commit 67f1101

Browse files
committed
Doc: make html does not include dependency libraries
1 parent 096ff50 commit 67f1101

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Makefile.common

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,10 @@ $(DOCDIR)/dependency_graph.dot: $(DOCDIR)/dependency_graph.pre
114114

115115
html: build $(DOCDIR)/dependency_graph.dot
116116
etc/rocqnavi_generate-hierarchy-graph.sh $(DOCDIR)/hierarchy_graph.dot
117+
rm -rf $(DOCDIR) # clean doc dir if exists
117118
mkdir -p $(DOCDIR)
118-
find . -not -path '*/.*' -name "*.v" -or -name "*.glob" | xargs rocqnavi \
119+
find . -not \( -path '*/.*' -or -path "**/_opam/**" \) -name "*.v" -or -name "*.glob"
120+
find . -not \( -path '*/.*' -or -path "**/_opam/**" \) -name "*.v" -or -name "*.glob" | xargs rocqnavi \
119121
-title "Mathcomp Analysis" \
120122
-d $(DOCDIR) -base mathcomp -Q theories analysis \
121123
-coqlib https://rocq-prover.org/doc/V8.20.1/stdlib/ \

0 commit comments

Comments
 (0)