doc: move package.import content higher
This is currently at the end of the doc, it likely should be found
right after the documentation about package.exports
. Refactored the
docs while duplicating content as little as possible.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
documentation is changed or added -
commit message follows commit guidelines