Spelling parser

This commit is contained in:
Xavier Guimard 2017-02-07 14:46:28 +00:00
parent d74550384b
commit 5c421f8b61
4 changed files with 17 additions and 4 deletions

View File

@ -1077,3 +1077,16 @@ install_%_doc_site:
rm -rvf $(DOCLIBSTOREMOVEFORDEBIAN); \ rm -rvf $(DOCLIBSTOREMOVEFORDEBIAN); \
fi && cd - fi && cd -
html_spelling:
@for i in $$(find doc/ -type f -name '*.html'); do \
text=$$(html2text $$i|spellintian --picky); \
if [ "$$text" != "" ]; then echo "### $$i ###"; echo $$text; fi \
done
spelling:
@for i in $$(find * -type f -name '*.pm'); do \
if grep '=head1' $$i >/dev/null; then \
text=$$(pod2text $$i|spellintian --picky); \
if [ "$$text" != "" ]; then echo "### $$i ###"; echo $$text; fi \
fi \
done

View File

@ -474,7 +474,7 @@ Web-SSO configuration.
use Lemonldap::NG::Common::Conf; use Lemonldap::NG::Common::Conf;
# Lemonldap::NG::Common::Conf reads loacl configuration from lemonldap-ng.ini. # Lemonldap::NG::Common::Conf reads loacl configuration from lemonldap-ng.ini.
# Parameters can be overriden in a hash: # Parameters can be overridden in a hash:
my $confAccess = new Lemonldap::NG::Common::Conf( my $confAccess = new Lemonldap::NG::Common::Conf(
{ {
type=>'File', type=>'File',

View File

@ -630,7 +630,7 @@ system.
Lemonldap::NG::Manager::Build is used only to build javascript files and Lemonldap::NG::Manager::Build is used only to build javascript files and
Lemonldap::NG constants Perl files. It has to be launched after each change. Lemonldap::NG constants Perl files. It has to be launched after each change.
=head2 DEVELOPPER CORNER =head2 DEVELOPER CORNER
To add a new parameter, you have to: To add a new parameter, you have to:

View File

@ -53,7 +53,7 @@ declared during initialization.
=head2 Initialization =head2 Initialization
The intialisation process subscribes portal to handler configuration reload and The initialisation process subscribes portal to handler configuration reload and
ask for handler initialization (L<Lemonldap::NG::Portal::Main::Init>). ask for handler initialization (L<Lemonldap::NG::Portal::Main::Init>).
So configuration read is triggered by handler at each reload. So configuration read is triggered by handler at each reload.
@ -82,7 +82,7 @@ methods to call in the process and call do().
do() stores methods to call in $req->steps and launches do() stores methods to call in $req->steps and launches
Lemonldap::NG::Portal::Main::Process::process(). This method removes each method Lemonldap::NG::Portal::Main::Process::process(). This method removes each method
stored in $req->steps and launches it. If the result is PE_OK, proces() stored in $req->steps and launches it. If the result is PE_OK, process()
continues, else it returns the error code. continues, else it returns the error code.
If the request was an Ajax one, do() responds in JSON format else it manages If the request was an Ajax one, do() responds in JSON format else it manages