This is an automated email from the ASF dual-hosted git repository.

kamilbregula pushed a commit to branch aip-11
in repository https://gitbox.apache.org/repos/asf/airflow-site.git


The following commit(s) were added to refs/heads/aip-11 by this push:
     new 505decf  Add forbit-tabs lint (#74)
505decf is described below

commit 505decf88ab5ce9f8f70bf152b473da4a2e6e893
Author: Kamil Breguła <mik-...@users.noreply.github.com>
AuthorDate: Fri Oct 11 17:56:31 2019 +0200

    Add forbit-tabs lint (#74)
---
 .gitmodules                               |  4 ++--
 .pre-commit-config.yaml                   |  4 ++++
 landing-pages/.gitmodules                 |  4 ++--
 landing-pages/site/config.toml            | 36 +++++++++++++++----------------
 landing-pages/site/content/en/_index.html | 20 ++++++++---------
 landing-pages/site/content/no/_index.html | 20 ++++++++---------
 6 files changed, 46 insertions(+), 42 deletions(-)

diff --git a/.gitmodules b/.gitmodules
index 55ca2eb..030e750 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -1,3 +1,3 @@
 [submodule "landing-pages/site/themes/docsy"]
-       path = landing-pages/site/themes/docsy
-       url = https://github.com/google/docsy.git
+    path = landing-pages/site/themes/docsy
+    url = https://github.com/google/docsy.git
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index fd6c2d1..ceeb03e 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -24,6 +24,10 @@ repos:
   - repo: meta
     hooks:
       - id: check-hooks-apply
+  - repo: https://github.com/Lucas-C/pre-commit-hooks
+    rev: v1.1.7
+    hooks:
+      - id: forbid-tabs
   - repo: local
     hooks:
       - id: shellcheck
diff --git a/landing-pages/.gitmodules b/landing-pages/.gitmodules
index 29c209d..b2afb66 100644
--- a/landing-pages/.gitmodules
+++ b/landing-pages/.gitmodules
@@ -1,3 +1,3 @@
 [submodule "site/themes/docsy"]
-       path = site/themes/docsy
-       url = https://github.com/google/docsy.git
+    path = site/themes/docsy
+    url = https://github.com/google/docsy.git
diff --git a/landing-pages/site/config.toml b/landing-pages/site/config.toml
index 20c7dc6..62d9cc0 100644
--- a/landing-pages/site/config.toml
+++ b/landing-pages/site/config.toml
@@ -134,34 +134,34 @@ no = 'Sorry to hear that. Please <a 
href="https://github.com/USERNAME/REPOSITORY
 [params.links]
 # End user relevant links. These will show up on left side of footer and in 
the community page if you have one.
 [[params.links.user]]
-       name = "User mailing list"
-       url = "https://example.org/mail";
-       icon = "fa fa-envelope"
+    name = "User mailing list"
+    url = "https://example.org/mail";
+    icon = "fa fa-envelope"
         desc = "Discussion and help from your fellow users"
 [[params.links.user]]
-       name ="Twitter"
-       url = "https://example.org/twitter";
-       icon = "fab fa-twitter"
+    name ="Twitter"
+    url = "https://example.org/twitter";
+    icon = "fab fa-twitter"
         desc = "Follow us on Twitter to get the latest news!"
 [[params.links.user]]
-       name = "Stack Overflow"
-       url = "https://example.org/stack";
-       icon = "fab fa-stack-overflow"
+    name = "Stack Overflow"
+    url = "https://example.org/stack";
+    icon = "fab fa-stack-overflow"
         desc = "Practical questions and curated answers"
 # Developer relevant links. These will show up on right side of footer and in 
the community page if you have one.
 [[params.links.developer]]
-       name = "GitHub"
-       url = "https://github.com/google/docsy";
-       icon = "fab fa-github"
+    name = "GitHub"
+    url = "https://github.com/google/docsy";
+    icon = "fab fa-github"
         desc = "Development takes place here!"
 [[params.links.developer]]
-       name = "Slack"
-       url = "https://example.org/slack";
-       icon = "fab fa-slack"
+    name = "Slack"
+    url = "https://example.org/slack";
+    icon = "fab fa-slack"
         desc = "Chat with other project developers"
 [[params.links.developer]]
-       name = "Developer mailing list"
-       url = "https://example.org/mail";
-       icon = "fa fa-envelope"
+    name = "Developer mailing list"
+    url = "https://example.org/mail";
+    icon = "fa fa-envelope"
         desc = "Discuss development issues around the project"
 
diff --git a/landing-pages/site/content/en/_index.html 
b/landing-pages/site/content/en/_index.html
index 213f9af..dbdcffd 100644
--- a/landing-pages/site/content/en/_index.html
+++ b/landing-pages/site/content/en/_index.html
@@ -6,16 +6,16 @@ linkTitle = "Goldydocs"
 
 {{< blocks/cover title="Welcome to Goldydocs: A Docsy Example Project!" 
image_anchor="top" height="full" color="orange" >}}
 <div class="mx-auto">
-       <a class="btn btn-lg btn-primary mr-3 mb-4" href="{{< relref "/docs" 
>}}">
-               Learn More <i class="fas fa-arrow-alt-circle-right ml-2"></i>
-       </a>
-       <a class="btn btn-lg btn-secondary mr-3 mb-4" 
href="https://github.com/google/docsy-example";>
-               Download <i class="fab fa-github ml-2 "></i>
-       </a>
-       <p class="lead mt-5">Porridge temperature assessment - in the cloud!</p>
-       <div class="mx-auto mt-5">
-               {{< blocks/link-down color="info" >}}
-       </div>
+    <a class="btn btn-lg btn-primary mr-3 mb-4" href="{{< relref "/docs" >}}">
+        Learn More <i class="fas fa-arrow-alt-circle-right ml-2"></i>
+    </a>
+    <a class="btn btn-lg btn-secondary mr-3 mb-4" 
href="https://github.com/google/docsy-example";>
+        Download <i class="fab fa-github ml-2 "></i>
+    </a>
+    <p class="lead mt-5">Porridge temperature assessment - in the cloud!</p>
+    <div class="mx-auto mt-5">
+        {{< blocks/link-down color="info" >}}
+    </div>
 </div>
 {{< /blocks/cover >}}
 
diff --git a/landing-pages/site/content/no/_index.html 
b/landing-pages/site/content/no/_index.html
index 19125eb..34fa971 100644
--- a/landing-pages/site/content/no/_index.html
+++ b/landing-pages/site/content/no/_index.html
@@ -6,16 +6,16 @@ linkTitle = "TechOS"
 
 {{< blocks/cover title="Dette er TechOS!" image_anchor="top" height="full" >}}
 <div class="mx-auto">
-       <a class="btn btn-lg btn-primary mr-3 mb-4" href="{{< relref "/docs" 
>}}">
-               Dokumentasjon <i class="fas fa-arrow-alt-circle-right ml-2"></i>
-       </a>
-       <a class="btn btn-lg btn-secondary mr-3 mb-4" 
href="https://github.com/bep";>
-               Last ned <i class="fab fa-github ml-2 "></i>
-       </a>
-       <p class="lead mt-5">TechOS kan nå lastes ned i <a 
href="#">AppStore!</a></p>
-       <div class="mx-auto mt-5">
-               {{< blocks/link-down color="info" >}}
-       </div>
+    <a class="btn btn-lg btn-primary mr-3 mb-4" href="{{< relref "/docs" >}}">
+        Dokumentasjon <i class="fas fa-arrow-alt-circle-right ml-2"></i>
+    </a>
+    <a class="btn btn-lg btn-secondary mr-3 mb-4" 
href="https://github.com/bep";>
+        Last ned <i class="fab fa-github ml-2 "></i>
+    </a>
+    <p class="lead mt-5">TechOS kan nå lastes ned i <a 
href="#">AppStore!</a></p>
+    <div class="mx-auto mt-5">
+        {{< blocks/link-down color="info" >}}
+    </div>
 </div>
 {{< /blocks/cover >}}
 

Reply via email to