Skip to content

Commit 47625e9

Browse files
authored
Rocqnavi: 📖 🐛 fix tooltip bug of make html (#1794)
1 parent 6477f1f commit 47625e9

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

Makefile.common

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,8 @@ endif
104104

105105
DOCDIR=html
106106

107+
GIT_HASH = $(shell git rev-parse --short HEAD)
108+
107109
$(DOCDIR)/dependency_graph.pre:
108110
mkdir -p $(DOCDIR)
109111
coqdep -f _CoqProject | perl etc/builddoc_dependency_dot.pl > $(DOCDIR)/dependency_graph.pre
@@ -114,8 +116,13 @@ $(DOCDIR)/dependency_graph.dot: $(DOCDIR)/dependency_graph.pre
114116
html: build $(DOCDIR)/dependency_graph.dot
115117
etc/rocqnavi_generate-hierarchy-graph.sh $(DOCDIR)/hierarchy_graph.dot
116118
find . -name "*.v" -or -name "*.glob" | grep -v "/\." | grep -v "_opam/" | xargs rocqnavi \
117-
-title "Mathcomp Analysis" \
118-
-d $(DOCDIR) -base mathcomp -Q theories analysis \
119+
-title "Mathcomp Analysis $(GIT_HASH)" \
120+
-d $(DOCDIR) -Q theories mathcomp.analysis \
121+
-Q classical mathcomp.classical \
122+
-Q reals mathcomp.reals \
123+
-Q reals_stdlib mathcomp.reals_stdlib \
124+
-Q experimental_reals mathcomp.experimental_reals \
125+
-Q analysis_stdlib mathcomp.analysis_stdlib \
119126
-coqlib https://rocq-prover.org/doc/V8.20.1/stdlib/ \
120127
-dependency-graph $(DOCDIR)/dependency_graph.dot \
121128
-hierarchy-graph $(DOCDIR)/hierarchy_graph.dot \

0 commit comments

Comments
 (0)