docs: simpler echo to file, remove temp file.
(cherry picked from commit c0b6d5ef616910291557b2cb0c0c846aa17b3bd6)
docs: document #foo.id syntax
(cherry picked from commit 2699a1bacd1ae9a8691b8233ef3c449b7313fce3)