App-FuguWeb

 view release on metacpan or  search on metacpan

lib/App/FuguWeb/Check.pod  view on Meta::CPAN

nothing, and it carries no navigation;

=item *

the top-level F<404.html> is a page of the default language, with the
title of the F<404.html> of the default tree, per WEB-TOP-4. Its head
holds the charset, the viewport, the base, the title and the stylesheet
link, in that order, and nothing else, per WEB-TOP-3. Its
C<< <main> >> carries no mark. It holds one C<< <section> >> for each
language, in the order of the declaration, and nothing else, per
WEB-TOP-5. Each section carries the marks of the language of its text.
It holds the body of the F<404.html> of the tree of its language, as
L<App::FuguWeb::Fragment/not_found> fits it: with no id, and with each
relative link from the site root, per WEB-TOP-6;

=item *

no reference uses a C<file:> URL;

=item *

every relative reference resolves to a file of the inventory, a manual
cross-reference included. A directory and a stray file are no file of
the inventory. A reference with a query passes when its path names a
file of the inventory, per WEB-LINKS-3;

=item *

a reference of a page resolves against the directory of that page: a
language tree, a key directory, or the top level. A page with a
C<< <base> >> resolves each reference against the site root, and a
fragment alone names no page there, per WEB-LINKS-3;

=item *

every fragment resolves to an C<id> on the target page;

=item *

each heading of the C<main> element of a tree page of another language
than the default takes the id of the heading at the same position of
its namesake in the default tree, per WEB-OUTLINE-3. It takes no id
when that heading has none, and the page holds the same count of
headings. The check reads each outline through
L<App::FuguWeb::Fragment/outline>, as the build does;

=item *

no relative href reads as a URL scheme, so every local link keeps its
C<./>;

=item *

every page of a language tree is reachable from the entry page of that
tree, except a page that the description marks C<unlinked>. The walk
stays inside the tree, per WEB-LANGUAGE-13;

=item *

the output holds the site and nothing else, at any depth: no staging
directory, no editor backup, no stray source, no tree of a language
that the description does not declare, and no empty directory.

=back

A description with a C<keys> block adds the checks of
L<App::FuguWeb::Keys/THE CHECKS>. They read the source key directory
and not the output. A stray key file and a stale digest are therefore
found whether or not a build has run.

=head2 external

The external links that the last C<run> collected, sorted.

=head1 SEE ALSO

L<App::FuguWeb>, L<App::FuguWeb::Config>, L<App::FuguWeb::Fragment>,
L<App::FuguWeb::Keys>, L<App::FuguWeb::Site>, L<fuguweb(1)>

=head1 AUTHOR

Dick Olsson <hi@senzilla.io>



( run in 2.593 seconds using v1.01-cache-2.11-cpan-99fa8243a42 )