security-doc/tools/build-all-rst.sh
Andreas Jaeger 720a9db05d Add marker files
Add marker files in the root of each document.

This is needed for publishing in the future:
This is so that we can create a list of directories to ignore when we
rsync documentation builds to a publishing site. Some builds are
published as subdirectories underneath the results of superior builds.

This allows those superior builds to be rsynced without removing the
other builds that were published under them.

Change-Id: Id0f63749e767c9e9db9619d2cb9320b1a20f5995
2016-09-14 20:50:23 +02:00

14 lines
477 B
Bash
Executable File

#!/bin/bash -e
mkdir -p publish-docs
# This marker is needed for infra publishing
MARKER_TEXT="Project: $ZUUL_PROJECT Ref: $ZUUL_REFNAME Build: $ZUUL_UUID"
doc-tools-build-rst security-guide --build build \
--target security-guide
echo $MARKER_TEXT > publish-docs/security-guide/.root-marker
doc-tools-build-rst security-threat-analysis --build build \
--target security-threat-analysis
echo $MARKER_TEXT > publish-docs/security-threat-analysis/.root-marker