Sync with Fedora Docs template changes
See https://gitlab.com/fedora/docs/templates/fedora-docs-template
This commit is contained in:
parent
f7327a1dfc
commit
ef87f56bae
2 changed files with 5 additions and 5 deletions
4
build.sh
4
build.sh
|
|
@ -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
|
||||
|
|
|
|||
6
site.yml
6
site.yml
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue