Wiki Documentation Site with Source Control & Release Management : <p>I've been searching for information on available wiki software, using pages such as <a href="https://en.wikipedia.org/wiki/Comparison_of_wiki_software" rel="nofollow">https://en.wikipedia.org/wiki/Comparison_of_wiki_software</a>, and am looking for a solution which will meet a number of requirements, but haven't been able to find anything suitable yet.  I am looking to create a documentation site in a form similar to TechNet, MSDN, or <a href="https://documentation.red-gate.com" rel="nofollow">https://documentation.red-gate.com</a>, and although this could be done with either a SharePoint site or a traditional wiki such as MediaWiki, these are generally for open, community edited content which evolves rapidly, or internal company documentation where the presence of errors and incomplete content is not considered an issue.  In this case the documentation is to be visible to customers online and would only be edited by our staff, so it would be preferable for its content to be in source control and using managed releases to different environments (i.e. a DEV site where our staff edit the content, a TEST site for proof reading and a LIVE site, online for the public) so that half-written content, or content which has not been proof read is not immediately visible as it is in a standard wiki, but the ability to allow staff to edit the documentation quickly in a wiki-style format is also important.</p>

<p>I am aware that projects such as Sandcastle, Document! X and Doxygen, which generate MSDN style documentation directly from the source code, but do not intend this to be a documentation site generated from source code comments, but one containing written articles.  In essence, I am looking for software which provides:</p>

<ul>
<li>The ease of use of a wiki - anyone can log into the DEV site and add/edit content.</li>
<li>Source control of all the content, presumably Markdown files and images, not in a database, where the source control (TFS) is automatically updated/files checked out/checked in, by the aforementioned 'easy edit' wiki capabilities.</li>
<li>As a result of the above, the ability to 'release' the documentation to test and production environments, as you might do with any other web site solution.</li>
</ul>

<p>Additional examples would be sites such as <a href="http://uk.mathworks.com/help" rel="nofollow">http://uk.mathworks.com/help</a> or <a href="https://docs.python.org/3/tutorial/introduction.html" rel="nofollow">https://docs.python.org/3/tutorial/introduction.html</a>.  Can anyone provide information on whether such a solution is available, or an explanation of how sites such as MSDN, TechNet or the RedGate documentation site are managed and the applications used for them?</p>
