]> git.donarmstrong.com Git - perltidy.git/commitdiff
testing web pages with markdown
authorSteve Hancock <perltidy@users.sourceforge.net>
Thu, 15 Nov 2018 20:35:42 +0000 (12:35 -0800)
committerSteve Hancock <perltidy@users.sourceforge.net>
Thu, 15 Nov 2018 20:35:42 +0000 (12:35 -0800)
docs/index.html [new file with mode: 0644]

diff --git a/docs/index.html b/docs/index.html
new file mode 100644 (file)
index 0000000..5411b3e
--- /dev/null
@@ -0,0 +1,72 @@
+<h1>Welcome to Perltidy</h1>
+
+<p>Perltidy is a Perl script which indents and reformats Perl scripts to make them
+easier to read.  If you write Perl scripts, or spend much time
+reading them, you will probably find it useful.</p>
+
+<p>Perltidy is free software released under the GNU General Public
+License -- please see the included file <a href="./COPYING.txt">COPYING</a> for details.</p>
+
+<p>The formatting can be controlled with command line parameters.  The default
+parameter settings approximately follow the suggestions in the
+<a href="https://perldoc.perl.org/perlstyle.md">Perl Style Guide</a>.</p>
+
+<p>Besides reformatting scripts, Perltidy can help in tracking
+down errors with missing or extra braces, parentheses, and square brackets
+because it is very good at localizing errors.</p>
+
+<h2>Documentation</h2>
+
+<ul>
+<li><p><a href="./tutorial.md">A Brief Perltidy Tutorial</a></p></li>
+<li><p><a href="./stylekey.md">Perltidy Style Key</a> will help
+in methodically selecting a set of style parameters.</p></li>
+<li><p><a href="./perltidy.md">The Perltidy man page</a> explains how
+to precisely control the formatting details.</p></li>
+<li><p><a href="./Tidy.md">The Perl::Tidy man page</a> discusses how to use the Perl::Tidy module</p></li>
+<li><p><a href="./ChangeLog.md">Change Log</a></p></li>
+</ul>
+
+<h2>Prerequisites</h2>
+
+<p>Perltidy should run on any system with perl 5.008 or later.
+The total disk space needed after removing the installation directory will be
+about 2 Mb.</p>
+
+<h2>Download</h2>
+
+<ul>
+<li><p>The most recent release is always at <a href="https://metacpan.org/release/Perl-Tidy">CPAN</a></p></li>
+<li><p>The most recent release is also at <a href="https://sourceforge.net/projects/perltidy/">sourceforge</a></p></li>
+<li><p>For related modules search CPAN for <a href="https://metacpan.org/search?q=perltidy">perltidy</a></p></li>
+</ul>
+
+<h2>Installation</h2>
+
+<p>Perl::Tidy can be installed directly from CPAN one of the available methods.</p>
+
+<p>One way is to download a distribution file, unpack it and then 
+test and install using the Makefile.PL:</p>
+
+<pre><code>perl Makefile.PL
+make
+make test
+make install
+</code></pre>
+
+<p>The <a href="./INSTALL.md">INSTALL file</a> has additional installation notes, and tells how
+to use perltidy without doing an installation.</p>
+
+<h2>Links</h2>
+
+<ul>
+<li><a href="https://github.com/perltidy/perltidy">Perl::Tidy source code repository at GitHub</a></li>
+<li><a href="http://sourceforge.net/projects/tidyview">Tidyview</a> is a graphical program for tweaking your .perltidyrc configuration parameters.</li>
+<li><a href="https://github.com/vifo/SublimePerlTidy">A perltidy plugin for Sublime Text 2/3</a></li>
+</ul>
+
+<h2>FEEDBACK / BUG REPORTS</h2>
+
+<p>A list of current bugs and issues can be found at the CPAN site <a href="https://rt.cpan.org/Public/Dist/Display.html?Name=Perl-Tidy">https://rt.cpan.org/Public/Dist/Display.html?Name=Perl-Tidy</a></p>
+
+<p>To report a new bug or problem, use the link on this page .</p>