website-doc.sh: add hint on API removal

Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:
Nicolas Sebrecht 2017-04-16 01:30:31 +02:00
parent a92b116a4f
commit a4c887e5b1

View File

@ -55,6 +55,8 @@ function api () {
echo "Building Jekyll data: $VERSIONS_YML" echo "Building Jekyll data: $VERSIONS_YML"
# Erase previous content. # Erase previous content.
echo "$HEADER" > "$VERSIONS_YML" echo "$HEADER" > "$VERSIONS_YML"
echo "# However, it's correct to /remove/ old API docs here."
echo "# While at it, don't forget to adjust the _doc/versions directory."
for version in $(ls "$DESTBASE" -1 | sort -nr) for version in $(ls "$DESTBASE" -1 | sort -nr)
do do
echo "- $version" echo "- $version"