-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* cc/help: RPM spec: Adjust htmldir git-help -w: do not require to be in git repository git.spec.in: remove python_path Documentation: rename git.texi to user-manual.texi Add git-browse-help to .gitignore git-help -i: show info documentation from matching version of git git-help -i: invoke info with document and node name Documentation: add gitman.info target Documentation: describe -w/--web option to "git-help". Use {web,instaweb,help}.browser config options. git-help: add -w|--web option to display html man page in a browser. Documentation: describe -i/--info option to "git-help" git-help: add -i|--info option to display info page.
- Loading branch information
Showing
12 changed files
with
340 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,7 @@ git-archive | |
git-bisect | ||
git-blame | ||
git-branch | ||
git-browse-help | ||
git-bundle | ||
git-cat-file | ||
git-check-attr | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
#!/usr/bin/perl -w | ||
|
||
my @menu = (); | ||
my $output = $ARGV[0]; | ||
|
||
open TMP, '>', "$output.tmp"; | ||
|
||
while (<STDIN>) { | ||
next if (/^\\input texinfo/../\@node Top/); | ||
next if (/^\@bye/ || /^\.ft/); | ||
if (s/^\@top (.*)/\@node $1,,,Top/) { | ||
push @menu, $1; | ||
} | ||
s/\(\@pxref{\[URLS\]}\)//; | ||
print TMP; | ||
} | ||
close TMP; | ||
|
||
printf '\input texinfo | ||
@setfilename gitman.info | ||
@documentencoding us-ascii | ||
@node Top,,%s | ||
@top Git Manual Pages | ||
@documentlanguage en | ||
@menu | ||
', $menu[0]; | ||
|
||
for (@menu) { | ||
print "* ${_}::\n"; | ||
} | ||
print "\@end menu\n"; | ||
open TMP, '<', "$output.tmp"; | ||
while (<TMP>) { | ||
print; | ||
} | ||
close TMP; | ||
print "\@bye\n"; | ||
unlink "$output.tmp"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.