Remove firstapp guide

The firstapp document has been removed:
* Remove links to firstapp document
* Remove tooling for building it, remove also tooling for
  separate distribution install-guide, this is not done anymore.
  This includes removing tooling for building with tags.

Change-Id: I5de578590237aefe31546dd7c1dce56f30e98774
This commit is contained in:
Andreas Jaeger 2019-07-22 11:49:57 +02:00
parent da8b4d3544
commit f0ce9fb0d3
3 changed files with 7 additions and 41 deletions

View File

@ -17,7 +17,6 @@ DIRECTORY=$1
if [ -z "$DIRECTORY" ] ; then
echo "usage $0 DIRECTORY options"
echo "Options are:"
echo "--tag TAG: Use given tag for building"
echo "--target TARGET: Copy files to publish-docs/$TARGET"
echo "--build BUILD: Name of build directory"
echo "--linkcheck: Check validity of links instead of building"
@ -26,8 +25,6 @@ if [ -z "$DIRECTORY" ] ; then
fi
TARGET=""
TAG=""
TAG_OPT=""
BUILD=""
LINKCHECK=""
PDF=""
@ -42,11 +39,6 @@ while [[ $# > 0 ]] ; do
--linkcheck)
LINKCHECK=1
;;
--tag)
TAG="$2"
TAG_OPT="-t $2"
shift
;;
--target)
TARGET="$2"
shift
@ -60,13 +52,8 @@ done
if [ -z "$BUILD" ] ; then
if [ -z "$TAG" ] ; then
BUILD_DIR="$DIRECTORY/build/html"
BUILD_DIR_PDF="$DIRECTORY/build/pdf"
else
BUILD_DIR="$DIRECTORY/build-${TAG}/html"
BUILD_DIR_PDF="$DIRECTORY/build-${TAG}/pdf"
fi
BUILD_DIR="$DIRECTORY/build/html"
BUILD_DIR_PDF="$DIRECTORY/build/pdf"
else
BUILD_DIR="$DIRECTORY/$BUILD/html"
BUILD_DIR_PDF="$DIRECTORY/$BUILD/pdf"
@ -74,30 +61,26 @@ fi
DOCTREES="${BUILD_DIR}.doctrees"
if [ -z "$TAG" ] ; then
echo "Checking $DIRECTORY..."
else
echo "Checking $DIRECTORY with tag $TAG..."
fi
echo "Checking $DIRECTORY..."
if [ "$LINKCHECK" = "1" ] ; then
# Show sphinx-build invocation for easy reproduction
set -x
sphinx-build -E -W -d $DOCTREES -b linkcheck \
$TAG_OPT $DIRECTORY/source $BUILD_DIR
$DIRECTORY/source $BUILD_DIR
set +x
else
# Show sphinx-build invocation for easy reproduction
set -x
sphinx-build -E -W -d $DOCTREES -b html \
$TAG_OPT $DIRECTORY/source $BUILD_DIR
$DIRECTORY/source $BUILD_DIR
set +x
# PDF generation
if [ "$PDF" = "1" ] ; then
set -x
sphinx-build -E -W -d $DOCTREES -b latex \
$TAG_OPT $DIRECTORY/source $BUILD_DIR_PDF
$DIRECTORY/source $BUILD_DIR_PDF
make -C $BUILD_DIR_PDF
cp $BUILD_DIR_PDF/*.pdf $BUILD_DIR/
set +x

View File

@ -59,15 +59,7 @@ fi
rm -f ${DIRECTORY}/source/locale/$DOCNAME.pot
# We need to extract all strings, so add all supported tags
TAG=""
if [ ${DOCNAME} = "install-guide" ] ; then
TAG="-t obs -t rdo -t ubuntu -t debian"
fi
if [ ${DOCNAME} = "firstapp" ] ; then
TAG="-t libcloud -t dotnet -t fog -t pkgcloud -t shade"
fi
sphinx-build -j $NUMBER_OF_CORES -b gettext $TAG ${DIRECTORY}/source/ \
sphinx-build -j $NUMBER_OF_CORES -b gettext ${DIRECTORY}/source/ \
${DIRECTORY}/source/locale/
if [[ "$REPOSITORY" = "openstack-manuals" && "$DOCNAME" = "common" ]] ; then

View File

@ -71,15 +71,6 @@
API Guides</h3>
<p>OpenStack API Dokumentation</p>
<a href="https://developer.openstack.org/de/api-guide/quick-start/">API Guide</a>
<p>Schreiben Sie Ihre erste OpenStack Anwendung (FirstApp)</p>
<!-- The original version of these guides is still in draft, so we do not publish them yet
<a href="https://developer.openstack.org/de/firstapp-dotnet/">mit Dotnet</a>|
<a href="https://developer.openstack.org/de/firstapp-fog/">mit Fog</a>|
<a href="https://developer.openstack.org/de/firstapp-openstacksdk/">mit OpenStackSDK</a>|
<a href="https://developer.openstack.org/de/firstapp-pkgcloud/">mit Pkgcloud</a>|
-->
<a href="https://developer.openstack.org/de/firstapp-libcloud/">mit Libcloud</a>|
<a href="https://developer.openstack.org/de/firstapp-shade/">mit Shade</a>
</div>
</div>
<div class="col-lg-6 col-md-6 col-sm-6">