Skip to content

Commit 79bfefa

Browse files
committed
test docs
On-behalf-of: @SAP [email protected]
1 parent c88a2b8 commit 79bfefa

File tree

3 files changed

+3
-8
lines changed

3 files changed

+3
-8
lines changed

docs/content/publish-resources/index.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,6 @@ conventions of whatever tooling ultimately processes the resources locally.
139139

140140
This snippet shows the implicit default configuration:
141141

142-
{% raw %}
143142
```yaml
144143
apiVersion: syncagent.kcp.io/v1alpha1
145144
kind: PublishedResource
@@ -151,7 +150,6 @@ spec:
151150
namespace: '{{ .ClusterName }}'
152151
name: '{{ .Object.metadata.namespace | sha3short }}-{{ .Object.metadata.name | sha3short }}'
153152
```
154-
{% endraw %}
155153

156154
This configuration ensures that no collisions will happen: Each workspace in
157155
kcp will create a namespace on the local cluster, with a combination of namespace and name hashes

docs/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
mike==2.1.3
22
mkdocs==1.5.3
33
mkdocs-awesome-pages-plugin==2.9.2
4-
mkdocs-macros-plugin==1.0.5
4+
mkdocs-macros-plugin==1.3.7
55
mkdocs-material==9.5.17
66
mkdocs-material-extensions==1.3.1
77
mkdocs-static-i18n==1.2.2

docs/scripts/deploy-docs.sh

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,7 @@
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
1616

17-
set -o errexit
18-
set -o nounset
19-
set -o pipefail
20-
set -o xtrace
17+
set -euo pipefail
2118

2219
REPO_ROOT=$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)
2320
cd "$REPO_ROOT/docs"
@@ -40,7 +37,7 @@ else
4037
fi
4138
fi
4239

43-
MIKE_OPTIONS=()
40+
MIKE_OPTIONS=(--strict)
4441
MIKE_DEPLOY_OPTIONS=()
4542
MIKE_ALIASES=()
4643

0 commit comments

Comments
 (0)