Raku / examples

Many examples of Raku code
https://examples.raku.org/
Artistic License 2.0
294 stars 89 forks source link

Rename file extensions #100

Open coke opened 4 months ago

coke commented 4 months ago

Content here is so old, everything is .pm .pl .p6 - Update to use latest extensions.

There is no need, IMO, to keep the old URLs working (in an ideal world we would, but having the site follow standard and be navigable is more important IMO)

coke commented 4 months ago

renamed internal files in lib/

andinus commented 4 months ago

To make the URLs work I can setup redirects from for ex. .pm -> .rakumod (At webserver level, no changes required here)

Edit: Oh I see that .pl isn't actually used on examples.raku.org but on links to source on github. Well, we can't really do anything about that.

Examples themselves don't seem to have the extension in links: https://examples.raku.org/categories/best-of-rosettacode/copy-a-string.html.

andinus commented 4 months ago

Related:

coke commented 4 months ago

Ah, looks like public facing urls are already .html, so no worries.