(minor doc fixes for next commit)

This commit is contained in:
Sitaram Chamarty 2011-01-26 06:52:09 +05:30
parent 6bcb5c162d
commit 12f75cdc41
5 changed files with 9 additions and 36 deletions

View file

@ -1,9 +1,11 @@
# main README file for gitolite -- start here!
<a name="start"></a> <a name="start"></a>
***IMPORTANT NOTE: v2.0rc1 is out; all development will be on that now. ***IMPORTANT NOTE: v2.0rc1 is out; all development will be on that now.
Please see new doc/developer-notes.mkd*** Please see new doc/developer-notes.mkd***
# gitolite ----
Gitolite is an access control layer on top of git, which allows access control Gitolite is an access control layer on top of git, which allows access control
down to the branch level, including specifying who can and cannot *rewind* a down to the branch level, including specifying who can and cannot *rewind* a

View file

@ -1,35 +0,0 @@
#!/usr/bin/perl -w
use strict;
# filter gitolite's mkd files through this; it's designed to be idempotent of
# course
sub make_anchor {
# make an anchor out of a section heading
my $sh = shift;
$sh =~ s/\W+/_/g;
$sh =~ s/^_//;
return $sh;
}
undef $/;
my $doc = <>;
$doc =~ s/^<a name="_.*"><\/a>\n\n//mg;
$doc =~ s/^<a name="AUTO_.*"><\/a>\n\n//mg;
my @toc = $doc =~ /^###+ .*/mg;
$doc =~ s/^(###+) (.*)/"<a name=\"_" . make_anchor($2) . "\"><\/a>\n\n$1 $2"/mge;
for (@toc) {
s/^(###+) (.*)/' ' x (length($1)-3) . ' * <a href="#_' . make_anchor($2) . "\">$2<\/a>"/e;
}
my $toc = "In this document:\n\n";
$toc .= join("\n", @toc);
$toc .= "\n\n";
$doc =~ s/^In this document:\n\n.*?\n\n/$toc/sm;
print $doc;

View file

@ -1,3 +1,5 @@
# ldap helper programs
These programs were contributed by the Nokia MeeGo folks. These programs were contributed by the Nokia MeeGo folks.
The first 2 are perl and shell verisions of programs meant to be used as The first 2 are perl and shell verisions of programs meant to be used as

2
doc/monkeysphere.mkd Executable file → Normal file
View file

@ -1,3 +1,5 @@
(contributed doc: integrating gitolite with monkeysphere)
This document attempts to describe one way to integrate This document attempts to describe one way to integrate
[Monkeysphere](http://web.monkeysphere.info/) authentication [Monkeysphere](http://web.monkeysphere.info/) authentication
with [gitolite](http://github.com/sitaramc/gitolite). with [gitolite](http://github.com/sitaramc/gitolite).

View file

@ -1,3 +1,5 @@
(master copy of progit chapter on gitolite)
## Gitolite ## ## Gitolite ##
Note: the latest copy of this section of the ProGit book is always available within the [gitolite documentation][gldpg]. The author would also like to humbly state that, while this section is accurate, and *can* (and often *has*) been used to install gitolite without reading any other documentation, it is of necessity not complete, and cannot completely replace the enormous amount of documentation that gitolite comes with. Note: the latest copy of this section of the ProGit book is always available within the [gitolite documentation][gldpg]. The author would also like to humbly state that, while this section is accurate, and *can* (and often *has*) been used to install gitolite without reading any other documentation, it is of necessity not complete, and cannot completely replace the enormous amount of documentation that gitolite comes with.