add docs pages, several fixes for "Embedding Code" page