docs/website-doc.sh: minor improvements in comments of versions.yml
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:
parent
4544bb1305
commit
6ef5937a5c
@ -55,9 +55,13 @@ function api () {
|
|||||||
# This let know the website about the available APIs documentations.
|
# This let know the website about the available APIs documentations.
|
||||||
echo "Building Jekyll data: $VERSIONS_YML"
|
echo "Building Jekyll data: $VERSIONS_YML"
|
||||||
# Erase previous content.
|
# Erase previous content.
|
||||||
echo "$HEADER" > "$VERSIONS_YML"
|
echo > "$VERSIONS_YML" <<EOF
|
||||||
echo "# However, it's correct to /remove/ old API docs here."
|
$HEADER
|
||||||
echo "# While at it, don't forget to adjust the _doc/versions directory."
|
# Used to publish the APIs.
|
||||||
|
#
|
||||||
|
# However, it's correct to _remove_ old API docs here. In this case, don't
|
||||||
|
# forget to adjust the _doc/versions directory too.
|
||||||
|
EOF
|
||||||
for version in $(ls "$DESTBASE" -1 | sort -nr)
|
for version in $(ls "$DESTBASE" -1 | sort -nr)
|
||||||
do
|
do
|
||||||
echo "- $version"
|
echo "- $version"
|
||||||
|
Loading…
Reference in New Issue
Block a user