From ec303abb4cd8973021f21ab402bccf23b3869e48 Mon Sep 17 00:00:00 2001 From: Jan Kuparinen Date: Fri, 5 Mar 2021 19:50:18 +0200 Subject: [PATCH] Fix preview script --- docs/LICENSE => LICENSE | 0 README.md | 11 +++++++++++ docs/build.sh => build.sh | 0 docs/modules/ROOT/nav.adoc | 2 +- docs/nginx.conf => nginx.conf | 0 docs/preview.sh => preview.sh | 0 docs/site.yml => site.yml | 1 + 7 files changed, 13 insertions(+), 1 deletion(-) rename docs/LICENSE => LICENSE (100%) rename docs/build.sh => build.sh (100%) rename docs/nginx.conf => nginx.conf (100%) rename docs/preview.sh => preview.sh (100%) rename docs/site.yml => site.yml (94%) diff --git a/docs/LICENSE b/LICENSE similarity index 100% rename from docs/LICENSE rename to LICENSE diff --git a/README.md b/README.md index fb0ca6c..6ad5de8 100644 --- a/README.md +++ b/README.md @@ -8,5 +8,16 @@ This repository is used by [Server working group]( http://fedoraproject.org/wiki * Tickets (issues) for the Server group. +### Previewing docs: + +To build and preview docs, run: + +``` +$ ./build.sh && ./preview.sh +``` + +The result will be available at http://localhost:8080 + + diff --git a/docs/build.sh b/build.sh similarity index 100% rename from docs/build.sh rename to build.sh diff --git a/docs/modules/ROOT/nav.adoc b/docs/modules/ROOT/nav.adoc index 2701742..a6bd5cb 100644 --- a/docs/modules/ROOT/nav.adoc +++ b/docs/modules/ROOT/nav.adoc @@ -1,6 +1,6 @@ * xref:index.adoc[Welcome] * xref:mission.adoc[Mission] * xref:communicating.adoc[Getting in Touch] -* xref:community.adoc[Gaming Community] +* xref:community.adoc[Server Community] * xref:faq.adoc[FAQ] diff --git a/docs/nginx.conf b/nginx.conf similarity index 100% rename from docs/nginx.conf rename to nginx.conf diff --git a/docs/preview.sh b/preview.sh similarity index 100% rename from docs/preview.sh rename to preview.sh diff --git a/docs/site.yml b/site.yml similarity index 94% rename from docs/site.yml rename to site.yml index 8101ac8..3978db7 100644 --- a/docs/site.yml +++ b/site.yml @@ -5,6 +5,7 @@ content: sources: - url: . branches: HEAD + start_path: docs ui: bundle: url: https://asamalik.fedorapeople.org/ui-bundle.zip