Skip to content

Commit 9546e30

Browse files
committed
2 parents 29250bd + c3f3d6a commit 9546e30

File tree

13 files changed

+21
-23
lines changed

13 files changed

+21
-23
lines changed

.circleci/base_config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ jobs:
391391
default: $CIRCLE_BRANCH
392392
url:
393393
type: string
394-
default: "https://<< pipeline.parameters.deploy-url >>--docs-hugo.netlify.app"
394+
default: "https://<< pipeline.parameters.deploy-url >>--docs-hugo.netlify.app/"
395395
machine:
396396
image: default
397397
resource_class: large
@@ -602,7 +602,7 @@ workflows:
602602
when: { equal: [ release, << pipeline.parameters.workflow >> ] }
603603
jobs:
604604
- plain-build:
605-
url: https://docs.arango.ai
605+
url: https://docs.arango.ai/
606606
- deploy:
607607
deploy-args: "--prod"
608608
requires:

.circleci/generate_config.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ def workflow_release_arangodb(config):
295295
def workflow_generate_launch_command(config):
296296
shell = "\
297297
export ENV=\"circleci\"\n \
298-
export HUGO_URL=https://<< pipeline.parameters.deploy-url >>--docs-hugo.netlify.app\n \
298+
export HUGO_URL=https://<< pipeline.parameters.deploy-url >>--docs-hugo.netlify.app/\n \
299299
export HUGO_ENV=examples\n \
300300
export OVERRIDE=<< pipeline.parameters.override >>\n \
301301
export GENERATORS='<< parameters.generators >>'\n"
@@ -389,7 +389,7 @@ def workflow_commit_generated_download_data(config):
389389
def workflow_release_launch_command(config):
390390
shell = "\
391391
export ENV=\"circleci\"\n \
392-
export HUGO_URL=https://docs.arango.ai\n \
392+
export HUGO_URL=https://docs.arango.ai/\n \
393393
export HUGO_ENV=release\n \
394394
export GENERATORS=''\n"
395395

site/config/_default/config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
baseURL: "https://docs.arango.ai"
1+
baseURL: "https://docs.arango.ai/"
22
languageCode: "en-us"
33
title: "Arango Documentation"
44
theme: "arangodb-docs-theme"

site/themes/arangodb-docs-theme/layouts/404.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{{/* Should match baseof.html but have breadcrumbs, toc, and main block removed */ -}}
22
{{ partial "shortcodes/version.html" (dict "page" .Page) -}}
3-
{{ $isProduction := eq site.BaseURL "https://docs.arango.ai" -}}
3+
{{ $isProduction := eq site.BaseURL "https://docs.arango.ai/" -}}
44

55
<!DOCTYPE html>
66
<html lang="{{ .Page.Language | default "en" }}">

site/themes/arangodb-docs-theme/layouts/_default/_markup/render-link.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
{{- $isRemote := ne $url.Scheme "" }}
1212

1313
{{- if $isRemote }}
14-
{{- $isProduction := eq site.BaseURL "https://docs.arango.ai" }}
14+
{{- $isProduction := eq site.BaseURL "https://docs.arango.ai/" }}
1515
{{- if and (not $isProduction) (eq .Destination "https://dashboard.arangodb.cloud/home?utm_source=docs&utm_medium=cluster_pages&utm_campaign=docs_traffic") }}
1616
{{- $permalink = "https://dashboard.arangodb.cloud/home" }}
1717
{{- else }}

site/themes/arangodb-docs-theme/layouts/_default/baseof.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{ partial "shortcodes/version.html" (dict "page" .Page) -}}
2-
{{ $isProduction := eq site.BaseURL "https://docs.arango.ai" -}}
2+
{{ $isProduction := eq site.BaseURL "https://docs.arango.ai/" -}}
33

44
<!DOCTYPE html>
55
<html lang="{{ .Page.Language | default "en" }}">

site/themes/arangodb-docs-theme/layouts/partials/head.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<head>
2-
{{ $isProduction := eq site.BaseURL "https://docs.arango.ai" -}}
2+
{{ $isProduction := eq site.BaseURL "https://docs.arango.ai/" -}}
33
{{ if $isProduction -}}
44
{{ partialCached "tracking/head-start.html" . -}}
55
{{ end -}}

site/themes/arangodb-docs-theme/layouts/robots.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
User-agent: Algolia Crawler
44
Disallow:
55

6-
{{ $isProduction := eq .Site.BaseURL "https://docs.arango.ai" -}}
6+
{{ $isProduction := eq .Site.BaseURL "https://docs.arango.ai/" -}}
77
{{ if $isProduction -}}
88
User-agent: *
99
Disallow: /nav.html

toolchain/docker/amd64/docker-compose.plain-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ services:
1010
volumes:
1111
- ../../../:/home/
1212
environment:
13-
HUGO_URL: ${HUGO_URL:-http://localhost}
13+
HUGO_URL: ${HUGO_URL:-http://localhost/}
1414
HUGO_ENV: ${HUGO_ENV:-frontend}
1515
ENV: ${ENV:-local}
1616

@@ -24,7 +24,7 @@ services:
2424
volumes:
2525
- ../../../:/home/
2626
environment:
27-
HUGO_URL: ${HUGO_URL:-http://localhost}
27+
HUGO_URL: ${HUGO_URL:-http://localhost/}
2828
HUGO_ENV: ${HUGO_ENV:-frontend}
2929
ENV: ${ENV:-local}
3030

toolchain/docker/amd64/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ services:
1212
- /var/run/docker.sock:/var/run/docker.sock
1313
environment:
1414
ENV: ${ENV:-local}
15-
HUGO_URL: ${HUGO_URL:-http://localhost}
15+
HUGO_URL: ${HUGO_URL:-http://localhost/}
1616
HUGO_ENV: ${HUGO_ENV:-development}
1717
GENERATORS: ${GENERATORS}
1818
OVERRIDE: ${OVERRIDE}

0 commit comments

Comments
 (0)