From: John Haugabook <[email protected]>

This patch adds the section about reproducing the site locally in section 3 as 
this seems most relevant to the resource section of the faq. The question is 
"What if I want to contribute to the website; how do I reproduce the site 
locally?", 
and the answer is a brief outline of the essentials on running the site 
locally, 
but with no expansion on the details, or how to get the doc/preview html files.

Signed-off-by: John Haugabook <[email protected]>
---
 winsup/doc/faq-resources.xml | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/winsup/doc/faq-resources.xml b/winsup/doc/faq-resources.xml
index 35cb68976..9b8439b4c 100644
--- a/winsup/doc/faq-resources.xml
+++ b/winsup/doc/faq-resources.xml
@@ -52,4 +52,21 @@ and an API Reference at
 <para>Comprehensive information about reporting problems with Cygwin can be 
found at <ulink url="https://cygwin.com/problems.html"/>.
 </para>
 </answer></qandaentry>
+
+<qandaentry id="faq.reproduce.local.site">
+<question><para>What if I want to contribute to the website; how do I 
reproduce the site locally?</para></question>
+<answer>
+<para>First, clone the <literal>cygwin-htdocs</literal> website repository.
+</para>
+
+<para>Next, ensure you have a server program capable of creating a local
+host using a <filename>httpd.conf</filename> file e.g.
+<literal>httpd</literal>. If you're on Windows, you can install
+<literal>httpd</literal> using <command>winget install 
ApacheLounge.httpd</command>,
+which works well for this purpose, then create and configure the
+<filename>httpd.conf</filename> file in the site root. You can also
+use software like <literal>XAMPP</literal> or <literal>AMPPS</literal>,
+and configure the default <filename>httpd.conf</filename> accordingly.
+</para>
+</answer></qandaentry>
 </qandadiv>
-- 
2.49.0.windows.1

Reply via email to