Skip to content

Commit

Permalink
Added pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
roastdeer committed Jan 26, 2023
1 parent c694092 commit 7d38e9d
Show file tree
Hide file tree
Showing 7 changed files with 48 additions and 6 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: pre-commit

on:
pull_request:
push:
branches: [main]

jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
- uses: pre-commit/[email protected]
5 changes: 5 additions & 0 deletions .markdownlint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
default: true
# MD013/line-length - Breaks for HTML blocks
MD013: false
# MD033/no-inline-html - Allow inline HTML
MD033: false
23 changes: 23 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
types: [markdown]
exclude: themes/
- id: trailing-whitespace
types: [markdown]
exclude: themes/
- repo: https://github.com/codespell-project/codespell
rev: v2.2.2
hooks:
- id: codespell
types: [markdown]
exclude: themes/
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.33.0
hooks:
- id: markdownlint-fix
types: [markdown]
exclude: themes/
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
# Managed Tenants SRE Docs

Documentation for Managed Tenants SRE at Red Hat
5 changes: 3 additions & 2 deletions content/en/_index.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@

---
title: "Managed Tenants SRE"
linkTitle: "MT-SRE"
weight: 10
---

{{< blocks/section color="dark" >}}

<div class="cover-section">
<h1 class="display-1">Red Hat Layered Products!</h1>
<p class="lead">Managing managed services on managed OpenShift!</p>
<p class="lead">Managing managed services on managed OpenShift!</p>

<div class="mt-5 animate__animated animate__slideInLeft animate__fast">
<h1>Product Managers / Team Leads</h1>
Expand Down
5 changes: 2 additions & 3 deletions content/en/docs/onboarding/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ description: >
This is a placeholder page that shows you how to use this template site.
{{% /pageinfo %}}


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).
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).

Try answering these questions for your user in this page:

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

## Why do I want it?

Help your user know if your project will help them. Useful information can include:
Help your user know if your project will help them. Useful information can include:

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

Expand Down
1 change: 0 additions & 1 deletion content/en/search.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,3 @@ title: Search Results
layout: search
toc_hide: true
---

0 comments on commit 7d38e9d

Please sign in to comment.