Skip to content

Commit

Permalink
Merge branch 'mg/texinfo-5'
Browse files Browse the repository at this point in the history
Strip @anchor elements in the texinfo output of the documentation,
as a single document created by concatenating our entire manual set
will produce many duplicates that makes newer texinfo unhappy.

* mg/texinfo-5:
  Documentation: Strip texinfo anchors to avoid duplicates
  • Loading branch information
Junio C Hamano committed Apr 7, 2013
2 parents 8a2decf + cbfd124 commit cd5123d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Documentation/cat-texi.perl
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
push @menu, $1;
}
s/\(\@pxref{\[(URLS|REMOTES)\]}\)//;
s/\@anchor\{[^{}]*\}//g;
print TMP;
}
close TMP;
Expand Down

0 comments on commit cd5123d

Please sign in to comment.