Create full directory path for testing docs (#62004)

* Create full directory path for testing docs

The previous command was useless as the old image already had the
/hugo/content/docs/grafana directory. The old image also had the
/hugo/content/docs/grafana/latest directory but the new image does
not.

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>

* Modify a documentation file to to trigger docs PR tests

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>

* Sentence case description

Co-authored-by: Ursula Kallio <ursula.kallio@grafana.com>

---------

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
Co-authored-by: Ursula Kallio <ursula.kallio@grafana.com>
This commit is contained in:
Jack Baldry
2023-02-21 13:41:39 +00:00
committed by GitHub
parent 7ace44c8b5
commit e2af8aa53b
3 changed files with 5 additions and 5 deletions

View File

@@ -985,7 +985,7 @@ steps:
image: grafana/build-container:v1.7.1
name: lint-docs
- commands:
- mkdir -p /hugo/content/docs/grafana
- mkdir -p /hugo/content/docs/grafana/latest
- cp -r docs/sources/* /hugo/content/docs/grafana/latest/
- cd /hugo && make prod
image: grafana/docs-base:latest
@@ -1102,7 +1102,7 @@ steps:
image: grafana/build-container:v1.7.1
name: lint-docs
- commands:
- mkdir -p /hugo/content/docs/grafana
- mkdir -p /hugo/content/docs/grafana/latest
- cp -r docs/sources/* /hugo/content/docs/grafana/latest/
- cd /hugo && make prod
image: grafana/docs-base:latest
@@ -6660,6 +6660,6 @@ kind: secret
name: aws_secret_access_key
---
kind: signature
hmac: 57537bd164fcf56d24efb3972e06dc7af094546bf70052a2efd026a018059479
hmac: 1847568b29364d0ba065b1f65d6536f24f636dbf36ce2cdccf05e8f80e2b9caf
...

View File

@@ -3,7 +3,7 @@ aliases:
- /docs/grafana/v1.1/
- /docs/grafana/v3.1/
- guides/reference/admin/
description: Guides, Installation and Feature Documentation
description: Guides, installation, and feature documentation
keywords:
- grafana
- installation

View File

@@ -940,7 +940,7 @@ def build_docs_website_step():
# Use latest revision here, since we want to catch if it breaks
"image": "grafana/docs-base:latest",
"commands": [
"mkdir -p /hugo/content/docs/grafana",
"mkdir -p /hugo/content/docs/grafana/latest",
"cp -r docs/sources/* /hugo/content/docs/grafana/latest/",
"cd /hugo && make prod",
],