Skip to content

Commit 7d38e9d

Browse files
committed
Added pre-commit
1 parent c694092 commit 7d38e9d

File tree

7 files changed

+48
-6
lines changed

7 files changed

+48
-6
lines changed

.github/workflows/pre-commit.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: pre-commit
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches: [main]
7+
8+
jobs:
9+
pre-commit:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v3
13+
- uses: actions/setup-python@v3
14+
- uses: pre-commit/[email protected]

.markdownlint.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
default: true
2+
# MD013/line-length - Breaks for HTML blocks
3+
MD013: false
4+
# MD033/no-inline-html - Allow inline HTML
5+
MD033: false

.pre-commit-config.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
repos:
2+
- repo: https://github.com/pre-commit/pre-commit-hooks
3+
rev: v4.4.0
4+
hooks:
5+
- id: check-yaml
6+
- id: end-of-file-fixer
7+
types: [markdown]
8+
exclude: themes/
9+
- id: trailing-whitespace
10+
types: [markdown]
11+
exclude: themes/
12+
- repo: https://github.com/codespell-project/codespell
13+
rev: v2.2.2
14+
hooks:
15+
- id: codespell
16+
types: [markdown]
17+
exclude: themes/
18+
- repo: https://github.com/igorshubovych/markdownlint-cli
19+
rev: v0.33.0
20+
hooks:
21+
- id: markdownlint-fix
22+
types: [markdown]
23+
exclude: themes/

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
# Managed Tenants SRE Docs
2+
23
Documentation for Managed Tenants SRE at Red Hat

content/en/_index.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
1-
21
---
32
title: "Managed Tenants SRE"
43
linkTitle: "MT-SRE"
4+
weight: 10
55
---
66

77
{{< blocks/section color="dark" >}}
8+
89
<div class="cover-section">
910
<h1 class="display-1">Red Hat Layered Products!</h1>
10-
<p class="lead">Managing managed services on managed OpenShift!</p>
11+
<p class="lead">Managing managed services on managed OpenShift!</p>
1112

1213
<div class="mt-5 animate__animated animate__slideInLeft animate__fast">
1314
<h1>Product Managers / Team Leads</h1>

content/en/docs/onboarding/_index.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ description: >
1010
This is a placeholder page that shows you how to use this template site.
1111
{{% /pageinfo %}}
1212

13-
14-
The Overview is where your users find out about your project. Depending on the size of your docset, you can have a separate overview page (like this one) or put your overview contents in the Documentation landing page (like in the Docsy User Guide).
13+
The Overview is where your users find out about your project. Depending on the size of your docset, you can have a separate overview page (like this one) or put your overview contents in the Documentation landing page (like in the Docsy User Guide).
1514

1615
Try answering these questions for your user in this page:
1716

@@ -21,7 +20,7 @@ Introduce your project, including what it does or lets you do, why you would use
2120

2221
## Why do I want it?
2322

24-
Help your user know if your project will help them. Useful information can include:
23+
Help your user know if your project will help them. Useful information can include:
2524

2625
* **What is it good for?**: What types of problems does your project solve? What are the benefits of using it?
2726

content/en/search.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,3 @@ title: Search Results
33
layout: search
44
toc_hide: true
55
---
6-

0 commit comments

Comments
 (0)