diff --git a/README.md b/README.md index 1367c97362..72b8754d29 100755 --- a/README.md +++ b/README.md @@ -42,6 +42,10 @@ To build the documentation for RH-SSO go into the directory of the specific guid cd target asciidoctor master.adoc +On Linux you can also run build-product.sh DIR. For example: + + ./build-product.sh server_admin + You can then view the documentation by opening server_admin/target/master.html This will not create documentation that looks exactly as the official Red Hat Single Sign-On documentation, but the content will be the same. diff --git a/authorization_services/build.sh b/build-product.sh old mode 100755 new mode 100644 similarity index 71% rename from authorization_services/build.sh rename to build-product.sh index fc1e19f7fb..5ae14d81bf --- a/authorization_services/build.sh +++ b/build-product.sh @@ -1,7 +1,9 @@ #!/bin/bash -cd $(readlink -f `dirname $0`) +GUIDE=$1 +cd $GUIDE python gitlab-conversion.py cd target asciidoctor master.adoc + diff --git a/getting_started/build.sh b/getting_started/build.sh deleted file mode 100755 index fc1e19f7fb..0000000000 --- a/getting_started/build.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/bash - -cd $(readlink -f `dirname $0`) - -python gitlab-conversion.py -cd target -asciidoctor master.adoc diff --git a/securing_apps/build.sh b/securing_apps/build.sh deleted file mode 100755 index fc1e19f7fb..0000000000 --- a/securing_apps/build.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/bash - -cd $(readlink -f `dirname $0`) - -python gitlab-conversion.py -cd target -asciidoctor master.adoc diff --git a/server_admin/build.sh b/server_admin/build.sh deleted file mode 100755 index fc1e19f7fb..0000000000 --- a/server_admin/build.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/bash - -cd $(readlink -f `dirname $0`) - -python gitlab-conversion.py -cd target -asciidoctor master.adoc diff --git a/server_development/build.sh b/server_development/build.sh deleted file mode 100755 index fc1e19f7fb..0000000000 --- a/server_development/build.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/bash - -cd $(readlink -f `dirname $0`) - -python gitlab-conversion.py -cd target -asciidoctor master.adoc diff --git a/server_installation/build.sh b/server_installation/build.sh deleted file mode 100755 index fc1e19f7fb..0000000000 --- a/server_installation/build.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/bash - -cd $(readlink -f `dirname $0`) - -python gitlab-conversion.py -cd target -asciidoctor master.adoc