Sync with Fedora Docs template changes

See https://gitlab.com/fedora/docs/templates/fedora-docs-template
This commit is contained in:
Timothée Ravier 2022-09-06 18:36:49 +02:00 • committed by Tomáš Popela
commit ef87f56bae
2 changed files with 5 additions and 5 deletions

View file

@ -1,7 +1,7 @@
#!/bin/sh
image="docker.io/antora/antora"
cmd="--html-url-extension-style=indexify site.yml"
cmd="site.yml"
if uname | grep -iwq darwin; then
# Running on macOS.
@ -19,7 +19,7 @@ elif uname | grep -iq linux; then
# which requires root.
if [ -f /usr/local/bin/antora ]; then
/usr/local/bin/antora "${cmd}"
/usr/local/bin/antora ${cmd}
elif uname -m | grep -iwq aarch64; then
echo "no antora/aarch64 container try just \`npm install -g @antora/cli @antora/site-generator-default\`"
elif [ -f /usr/bin/podman ]; then

View file

@ -7,14 +7,14 @@ content:
branches: HEAD
ui:
bundle:
url: https://asamalik.fedorapeople.org/ui-bundle.zip
url: https://gitlab.com/fedora/docs/docs-website/ui-bundle/-/jobs/artifacts/HEAD/raw/build/ui-bundle.zip?job=bundle-stable
snapshot: true
default_layout: with_menu
output:
clean: true
dir: ./public
destinations:
- provider: archive
runtime:
fetch: true
cache_dir: ./cache
urls:
html_extension_style: indexify