Author: fperrad
Date: Sun Apr 23 23:38:43 2006
New Revision: 12404
Added:
trunk/lib/Parrot/Docs/Section/Compilers.pm
Modified:
trunk/MANIFEST
trunk/lib/Parrot/Docs/Section/Parrot.pm
Log:
adds a section 'Compilers' in documentation.
(and detabify Parrot.pm)
Modified: trunk/MANIFEST
==============================================================================
--- trunk/MANIFEST (original)
+++ trunk/MANIFEST Sun Apr 23 23:38:43 2006
@@ -1647,6 +1647,7 @@
lib/Parrot/Docs/Section.pm [devel]
lib/Parrot/Docs/Section/BigNum.pm [devel]
lib/Parrot/Docs/Section/C.pm [devel]
+lib/Parrot/Docs/Section/Compilers.pm [devel]
lib/Parrot/Docs/Section/Config.pm [devel]
lib/Parrot/Docs/Section/Docs.pm [devel]
lib/Parrot/Docs/Section/DynaPMCs.pm [devel]
Added: trunk/lib/Parrot/Docs/Section/Compilers.pm
==============================================================================
--- (empty file)
+++ trunk/lib/Parrot/Docs/Section/Compilers.pm Sun Apr 23 23:38:43 2006
@@ -0,0 +1,54 @@
+# Copyright: 2006 The Perl Foundation. All Rights Reserved.
+# $Id: Compilers.pm 11501 2006-02-10 18:27:13Z particle $
+
+=head1 NAME
+
+Parrot::Docs::Section::Compilers - Compilers documentation section
+
+=head1 SYNOPSIS
+
+ use Parrot::Docs::Section::Compilers;
+
+=head1 DESCRIPTION
+
+A documentation section describing all compilers in Parrot.
+
+=head2 Class Methods
+
+=over
+
+=cut
+
+package Parrot::Docs::Section::Compilers;
+
+use strict;
+
+use Parrot::Docs::Section;
[EMAIL PROTECTED]::Docs::Section::Compilers::ISA = qw(Parrot::Docs::Section);
+
+use Parrot::Distribution;
+
+=item C<new()>
+
+Returns a new section.
+
+=cut
+
+sub new
+{
+ my $self = shift;
+
+ return $self->SUPER::new(
+ 'Compilers', 'compilers.html', '',
+ $self->new_group( 'AST', '', 'compilers/ast' ),
+ $self->new_group( 'IMCC', '', 'compilers/imcc' ),
+ $self->new_group( 'PGE', '', 'compilers/pge' ),
+ $self->new_group( 'TGE', '', 'compilers/tge' ),
+ );
+}
+
+=back
+
+=cut
+
+1;
Modified: trunk/lib/Parrot/Docs/Section/Parrot.pm
==============================================================================
--- trunk/lib/Parrot/Docs/Section/Parrot.pm (original)
+++ trunk/lib/Parrot/Docs/Section/Parrot.pm Sun Apr 23 23:38:43 2006
@@ -1,4 +1,4 @@
-# Copyright: 2004 The Perl Foundation. All Rights Reserved.
+# Copyright: 2004-2006 The Perl Foundation. All Rights Reserved.
# $Id$
=head1 NAME
@@ -7,9 +7,9 @@
=head1 SYNOPSIS
- use Parrot::Docs::Section::Parrot;
+ use Parrot::Docs::Section::Parrot;
- Parrot::Docs::Section::Parrot->new->write_html;
+ Parrot::Docs::Section::Parrot->new->write_html;
=head1 DESCRIPTION
@@ -42,6 +42,7 @@
use Parrot::Docs::Section::Libs;
use Parrot::Docs::Section::Tools;
use Parrot::Docs::Section::BigNum;
+use Parrot::Docs::Section::Compilers;
use Parrot::Docs::Section::Languages;
use Parrot::Docs::Section::Config;
use Parrot::Docs::Section::Tests;
@@ -55,29 +56,30 @@
sub new
{
- my $self = shift;
-
- return $self->SUPER::new(
- 'Contents',
- 'index.html',
- 'What\'s in the Parrot distribution?',
- Parrot::Docs::Section::Info->new,
- Parrot::Docs::Section::Docs->new,
- Parrot::Docs::Section::Examples->new,
- Parrot::Docs::Section::PMCs->new,
- Parrot::Docs::Section::DynaPMCs->new,
- Parrot::Docs::Section::C->new,
- Parrot::Docs::Section::Ops->new,
- Parrot::Docs::Section::IMCC->new,
- Parrot::Docs::Section::Perl->new,
- Parrot::Docs::Section::Libs->new,
- Parrot::Docs::Section::Tools->new,
- Parrot::Docs::Section::BigNum->new,
- Parrot::Docs::Section::Languages->new,
- Parrot::Docs::Section::Config->new,
- Parrot::Docs::Section::Tests->new,
- Parrot::Docs::Section::EditorPlugins->new,
- );
+ my $self = shift;
+
+ return $self->SUPER::new(
+ 'Contents',
+ 'index.html',
+ 'What\'s in the Parrot distribution?',
+ Parrot::Docs::Section::Info->new,
+ Parrot::Docs::Section::Docs->new,
+ Parrot::Docs::Section::Examples->new,
+ Parrot::Docs::Section::PMCs->new,
+ Parrot::Docs::Section::DynaPMCs->new,
+ Parrot::Docs::Section::C->new,
+ Parrot::Docs::Section::Ops->new,
+ Parrot::Docs::Section::IMCC->new,
+ Parrot::Docs::Section::Perl->new,
+ Parrot::Docs::Section::Libs->new,
+ Parrot::Docs::Section::Tools->new,
+ Parrot::Docs::Section::BigNum->new,
+ Parrot::Docs::Section::Compilers->new,
+ Parrot::Docs::Section::Languages->new,
+ Parrot::Docs::Section::Config->new,
+ Parrot::Docs::Section::Tests->new,
+ Parrot::Docs::Section::EditorPlugins->new,
+ );
}
=back
@@ -107,7 +109,7 @@
$dist->delete_html_docs if $delete;
- $self->write_html($dist, $dist->html_docs_directory, $silent);
+ $self->write_html($dist, $dist->html_docs_directory, $silent);
}
=back
@@ -140,6 +142,8 @@
=item C<Parrot::Docs::Section::BigNum>
+=item C<Parrot::Docs::Section::Compilers>
+
=item C<Parrot::Docs::Section::Languages>
=item C<Parrot::Docs::Section::Config>