janet-lang / janet-lang.org

Website for janet
https://janet-lang.org
MIT License
91 stars 58 forks source link

Example in "Installing a module" points at archived repository #174

Open sogaiu opened 1 year ago

sogaiu commented 1 year ago

Currently in the Installing a module portion of the docs, there is the following:

Using jpm, the path module can be installed like so from the command line:

sudo jpm install https://github.com/janet-lang/path.git

...

If you are not using jpm, you can place the file path.janet from the repository in your current directory, and Janet will be able to import it as well.

Since the path repository has been archived, may be it's worth choosing another one for the example.

May be spork isn't a bad choice? Though I guess that's more than one file, so since the text near the end of what's quoted refers to a single file, updating it as well might be worth considering. However, doing that might lead to losing this valuable tip:

If you are not using jpm, you can place the file path.janet from the repository in your current directory, and Janet will be able to import it as well.

I looked around for a suitable single-file replacement that lived under janet-lang at github but came up empty-handed...