okf/index-scope
index.md lists its own directory’s contents (OKF §8): each entry points within the directory.
An index.md enumerates its own directory’s contents (§8), so a person or agent reading sales/index.md expects what’s in sales/. An entry may point into a subdirectory, as a root index often lists a few key pages deeper down, but not outside the directory: a page elsewhere belongs in its own directory’s index, and a “see also” belongs in a concept, as a link. An entry left outside is often what moving a page leaves behind.
Example
Section titled “Example”This file breaks the rule:
# Sales
* [Playbook](playbook.md) - How we sell.* [Plans](../pricing/plans.md) - What we charge.okforest validate reports:
sales/index.md 4:3 warning Index entries list this directory's contents (OKF §8): `../pricing/plans.md` is outside it. Link to it from a concept instead. okf/index-scopeFixed:
# Sales
* [Playbook](playbook.md) - How we sell.