How to read the docs with rakudoc?

122 views Asked by At

I just installed rakudoc with zef. But it doesn't seem to find any doc.

$ rakudoc --version
/home/user/.raku/bin/rakudoc :auth<zef:coke>:api<1>:ver<0.2.6>
$ rakudoc -b
$ rakudoc Map
No results for 'Map'

My operating system is Fedora 38. Zef and rakudoc are not available from my distro's repositories. So I installed the rakudo-pkg package from Cloudsmith. Then I ran install-zef as my non-root user to install zef for my user. Then I ran zef install rakudoc to install rakudoc. I also tried to have it index what seem like where the source is:

rakudoc -b -d /opt/rakudo-pkg/share/perl6
rakudoc -b -d /opt/rakudo-pkg/share/perl6/core
rakudoc -b -d /opt/rakudo-pkg/share/perl6/core/sources

I also tried to install rakudoc in the rakudo-star docker image. In the container I ran:

zef install rakudoc
rakudoc --version
/usr/share/perl6/site/bin/rakudoc :auth<zef:coke>:api<1>:ver<0.2.6>
rakudoc -b

I still got:

No results for 'Map'

So. How do I read the docs on the command line?

0

There are 0 answers