From 0fbfdf030b8bc8509bb33e850ef2748bae9c62c4 Mon Sep 17 00:00:00 2001 From: Rachael Sewell Date: Fri, 24 Sep 2021 14:32:01 -0700 Subject: [PATCH] revert alignment back to pre-prettified format (#21735) --- .prettierignore | 1 + includes/graphql-enum.html | 13 ++++++----- includes/graphql-interface.html | 40 ++++++++++++++++----------------- includes/graphql-mutation.html | 11 +++++---- includes/graphql-scalar.html | 5 +++-- 5 files changed, 38 insertions(+), 32 deletions(-) diff --git a/.prettierignore b/.prettierignore index 2c7f8078b6..a6304997cf 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1 +1,2 @@ translations/ +includes/ \ No newline at end of file diff --git a/includes/graphql-enum.html b/includes/graphql-enum.html index 2d8c0e93a8..878fe67557 100644 --- a/includes/graphql-enum.html +++ b/includes/graphql-enum.html @@ -8,13 +8,14 @@
- {% include graphql-preview %} {% include graphql-deprecation %} + {% include graphql-preview %} + {% include graphql-deprecation %} -

{% data ui.products.graphql.reference.values %}

- {% for value in item.values %} -

{{ value.name }}

-

{{ value.description }}

- {% endfor %} +

{% data ui.products.graphql.reference.values %}

+ {% for value in item.values %} +

{{ value.name }}

+

{{ value.description }}

+ {% endfor %}

diff --git a/includes/graphql-interface.html b/includes/graphql-interface.html index e997e0f896..3e4b30dfe6 100644 --- a/includes/graphql-interface.html +++ b/includes/graphql-interface.html @@ -8,28 +8,28 @@
- {% include graphql-preview %} {% include graphql-deprecation %} + {% include graphql-preview %} + {% include graphql-deprecation %} - - -

{% data ui.products.graphql.reference.implemented_by %}

- + + +

{% data ui.products.graphql.reference.implemented_by %}

+ - {% if item.fields %} -

{% data ui.products.graphql.reference.fields %}

- {% assign fields = item.fields %} {% include graphql-fields %} {% endif %} + {% if item.fields %} +

{% data ui.products.graphql.reference.fields %}

+ {% assign fields = item.fields %} + {% include graphql-fields %} + {% endif %}

diff --git a/includes/graphql-mutation.html b/includes/graphql-mutation.html index 6824f56685..3324a8cde1 100644 --- a/includes/graphql-mutation.html +++ b/includes/graphql-mutation.html @@ -4,13 +4,16 @@ {% include doctocat-link-icon %} {{- item.name -}} - {{ item.description }} + {{ item.description }}
- {% include graphql-preview %} {% include graphql-deprecation %} {% assign - inputFields = item.inputFields %} {% assign returnFields = item.returnFields - %} {% include graphql-input-fields %} {% include graphql-return-fields %} + {% include graphql-preview %} + {% include graphql-deprecation %} + {% assign inputFields = item.inputFields %} + {% assign returnFields = item.returnFields %} + {% include graphql-input-fields %} + {% include graphql-return-fields %}

diff --git a/includes/graphql-scalar.html b/includes/graphql-scalar.html index 4516d9195d..0d8857671a 100644 --- a/includes/graphql-scalar.html +++ b/includes/graphql-scalar.html @@ -5,8 +5,9 @@ {{- item.name -}} - {{ item.description }} {% include graphql-preview %} {% include - graphql-deprecation %} + {{ item.description }} + {% include graphql-preview %} + {% include graphql-deprecation %}