Skip to content

Commit 5e00439

Browse files
Thomas Ackermannpeff
authored andcommitted
Documentation: build html for all files in technical and howto
These files were recently revised to be valid asciidoc, so there is no reason not to build html versions. Signed-off-by: Thomas Ackermann <[email protected]> Signed-off-by: Jeff King <[email protected]>
1 parent 1797e5c commit 5e00439

File tree

1 file changed

+24
-2
lines changed

1 file changed

+24
-2
lines changed

Documentation/Makefile

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,30 @@ SP_ARTICLES = user-manual
2424
SP_ARTICLES += howto/revert-branch-rebase
2525
SP_ARTICLES += howto/using-merge-subtree
2626
SP_ARTICLES += howto/using-signed-tag-in-pull-request
27+
SP_ARTICLES += howto/use-git-daemon
28+
SP_ARTICLES += howto/update-hook-example
29+
SP_ARTICLES += howto/setup-git-server-over-http
30+
SP_ARTICLES += howto/separating-topic-branches
31+
SP_ARTICLES += howto/revert-a-faulty-merge
32+
SP_ARTICLES += howto/recover-corrupted-blob-object
33+
SP_ARTICLES += howto/rebuild-from-update-hook
34+
SP_ARTICLES += howto/rebuild-from-update-hook
35+
SP_ARTICLES += howto/rebase-from-internal-branch
36+
SP_ARTICLES += howto/maintain-git
2737
API_DOCS = $(patsubst %.txt,%,$(filter-out technical/api-index-skel.txt technical/api-index.txt, $(wildcard technical/api-*.txt)))
2838
SP_ARTICLES += $(API_DOCS)
39+
40+
TECH_DOCS = technical/index-format
41+
TECH_DOCS += technical/pack-format
42+
TECH_DOCS += technical/pack-heuristics
43+
TECH_DOCS += technical/pack-protocol
44+
TECH_DOCS += technical/protocol-capabilities
45+
TECH_DOCS += technical/protocol-common
46+
TECH_DOCS += technical/racy-git
47+
TECH_DOCS += technical/send-pack-pipeline
48+
TECH_DOCS += technical/shallow
49+
TECH_DOCS += technical/trivial-merge
50+
SP_ARTICLES += $(TECH_DOCS)
2951
SP_ARTICLES += technical/api-index
3052

3153
DOC_HTML += $(patsubst %,%.html,$(ARTICLES) $(SP_ARTICLES))
@@ -231,7 +253,7 @@ clean:
231253
$(RM) *.texi *.texi+ *.texi++ git.info gitman.info
232254
$(RM) *.pdf
233255
$(RM) howto-index.txt howto/*.html doc.dep
234-
$(RM) technical/api-*.html technical/api-index.txt
256+
$(RM) technical/*.html technical/api-index.txt
235257
$(RM) $(cmds_txt) *.made
236258
$(RM) manpage-base-url.xsl
237259

@@ -264,7 +286,7 @@ technical/api-index.txt: technical/api-index-skel.txt \
264286
$(QUIET_GEN)cd technical && '$(SHELL_PATH_SQ)' ./api-index.sh
265287

266288
technical/%.html: ASCIIDOC_EXTRA += -a git-relative-html-prefix=../
267-
$(patsubst %,%.html,$(API_DOCS) technical/api-index): %.html : %.txt
289+
$(patsubst %,%.html,$(API_DOCS) technical/api-index $(TECH_DOCS)): %.html : %.txt
268290
$(QUIET_ASCIIDOC)$(ASCIIDOC) -b xhtml11 -f asciidoc.conf \
269291
$(ASCIIDOC_EXTRA) -agit_version=$(GIT_VERSION) $*.txt
270292

0 commit comments

Comments
 (0)