janet-lang / janet-lang.org

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

Remove community example links from some docs #221

Closed sogaiu closed 2 months ago

sogaiu commented 2 months ago

This is an attempt to address #195.

The idea is to not have the community example links show up for jpm and spork docs.

Each jpm and spork file had a line like this:

(setdyn :no-community-examples true)

added. emit-item in gen-docs.janet was modified so that it only adds community example links in certain cases.

(This approach is similar to what is described in this comment, but slightly different. Basic mechanism is the same though.)