Skip to contentSkip to conversation

doc: provide clone commands for the pre-built docs

PATCH In review [email protected] 2 participants 2 messages Jun 13, 2025 – Jun 14, 2025 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 doc: provide clone commands for the pre-built docs

From: Kristoffer Haugsbakk <[email protected]>

These repositories need to have these specific names. You could end up cloning the “git” organization htmldocs repository[1] which is named “htmldocs”. So you would need to provide git-htmldocs as the second argument. But it’s easier to clone the GitHub “gitster” user repositories since they have the expected names.

The aforementioned “git” repository also uses gh-pages instead of master. Which means that the quick-install-html target will fail since it expects master (GIT_MAN_REF).

[1]: https://github.com/git/htmldocs

---

Notes (series):
Spaces used for indentation here inside the comment. I don’t know if that is correct.

 Documentation/Makefile | 5 +++++
 1 file changed, 5 insertions(+)
Documentation/Makefile +5 -0
index b109d25e9c8..0493a38684f 100644
@@ -439,6 +439,11 @@ install-webdoc : html
 
 # You must have a clone of 'git-htmldocs' and 'git-manpages' repositories
 # next to the 'git' repository itself for the following to work.
+#
+#     # From this directory
+#     cd ../..
+#     git clone https://github.com/gitster/git-htmldocs/
+#     git clone https://github.com/gitster/git-manpages/
 
 quick-install: quick-install-man
 

base-commit: b07857f7dcffee4d3b428df8dce6c9b49a57c9c1

Signature · 1 line
kh/v2.50.0-rc2
#1 lore raw
Quoted 7 lines · [email protected] writes:

From: Kristoffer Haugsbakk <[email protected]>

These repositories need to have these specific names. You could end up cloning the “git” organization htmldocs repository[1] which is named “htmldocs”. So you would need to provide git-htmldocs as the second argument. But it’s easier to clone the GitHub “gitster” user repositories since they have the expected names.

I'd rather not see people do that.