docs: indentation fix and missing id declaration
Merge pull request #10056 from kadel/doc-state-cmd-small-fixes

docs: indentation fix and missing id declaration