]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Doc: Unfix the stable release version in singlepage doc build master
authorMaria Matejka <mq@ucw.cz>
Wed, 24 Dec 2025 18:24:11 +0000 (19:24 +0100)
committerMaria Matejka <mq@ucw.cz>
Wed, 24 Dec 2025 18:24:11 +0000 (19:24 +0100)
doc/Makefile

index 57844f2e73cf6501d2e4bb7c77371108e4c6b854..12471f84463830a72bdb0e73ff418f114d0fa056 100644 (file)
@@ -36,7 +36,7 @@ $(o)%.md: $(o)%.sgml $(LINUXDOC_PANDOC_PARSER) $(objdir)/.dir-stamp
        $(PANDOC) -f $(LINUXDOC_PANDOC_PARSER) -s -t markdown -o $@ $<
 
 $(o)%-singlepage.html: $(o)%.sgml $(SINGLEPAGE_HTML_TEMPLATE) $(LINUXDOC_PANDOC_PARSER) $(objdir)/.dir-stamp
        $(PANDOC) -f $(LINUXDOC_PANDOC_PARSER) -s -t markdown -o $@ $<
 
 $(o)%-singlepage.html: $(o)%.sgml $(SINGLEPAGE_HTML_TEMPLATE) $(LINUXDOC_PANDOC_PARSER) $(objdir)/.dir-stamp
-       $(PANDOC) -f $(LINUXDOC_PANDOC_PARSER) -t html5 --shift-heading-level-by=1 --section-divs --table-of-contents --toc-depth=3 -M bird_version="2.17" --template=$(SINGLEPAGE_HTML_TEMPLATE) -o $@ $<
+       $(PANDOC) -f $(LINUXDOC_PANDOC_PARSER) -t html5 --shift-heading-level-by=1 --section-divs --table-of-contents --toc-depth=3 -M bird_version="$(VERSION)" --template=$(SINGLEPAGE_HTML_TEMPLATE) -o $@ $<
 
 endif
 
 
 endif