Permalink
Browse files

Rewrite Perl 6 documentation scripts according to @moritz hints.

* Add support for generic type information, for example `perl6 Rat`
  will return informations about `Rat` type.
* Add support for class inheritance. You can type `Real.log` and
  you will get information about `Numberic.log`.
* The `output.txt` is now not affected by random hash keys order.
  • Loading branch information...
1 parent e70be23 commit 1417a745f0f4f543efa5eb11c6705ac41ced0274 @xfix committed Aug 2, 2012
Showing with 1,130 additions and 460 deletions.
  1. +2 −1 perl6_doc/fetch.sh
  2. +1,018 −389 perl6_doc/output.txt
  3. +110 −70 perl6_doc/parse.pl
View
@@ -4,5 +4,6 @@
# production usage).
mkdir -p download
cd download
-wget -np -nc -r -l 2 http://doc.perl6.org/
+wget -np -nc -r -l 2 -I /type/ http://doc.perl6.org/type/
+rm doc.perl6.org/type/*.html*
cd ..
Oops, something went wrong.

0 comments on commit 1417a74

Please sign in to comment.