Technical-writing questions that are specific to documenting software. See further guidance in the wiki.
For questions that apply to all technical writing and not just software, use technical-writing. If you have a spare tag slot, go ahead and tag software-doc questions with technical-writing too, so that people searching the broader tag will find them.
For questions about API documentation (a type of software doc), use api-documentation.
Software documentation often includes examples.