Just ran through the HelloWorld module creation on version 0.9. Here are some notes that may help with updating the docs.
Downloading and building version 0.9 (default branch, rev 3998)
Building HelloWorld module
1. Generating the module structure
a. feature enable Orchard.CodeGeneration does not work. "No command found matching arguments 'feature enable Orchard.CodeGeneration'. Commands available: setup, help commands, help."
If the application is started and set-up, go into dashboard, then features, enable code generation, then the feature and codegen commands will work.
b. After running 'codegen module HelloWorld', the module is not available in VisualStudio. Need to Add Existing Project to bring HelloWorld module into Solution Explorer.
2. Modifying the manifest.
a. The documentation emphasizes "Note: be careful to use spaces and not tabs to indent this file." This is good. May want to 1) emphasize that if you simply hit enter to add the Category line after description (or any other
line), VisualStudion will automagically add tab(s) so the new line is positioned with the line above, and 2) update module parsing to support spaces or tabs.
3. Adding the new files to the project (when items added within VisualStudio)
a. The <ItemGroup> <Compile> tags are already in the project file and do not need to be added.
b. The <ItemGroup> <Content> tag is already in the project file and does not need to be added.