From 7ee94d1b21b9f096d27471e708b2d8be9fc43530 Mon Sep 17 00:00:00 2001
From: Erik Faye-Lund
Date: Thu, 16 Jan 2020 21:11:29 +0100
Subject: [PATCH] docs: fixup indentation
The most canonical indentation-style here is two spaces, which is what
the standard boilerplate in all documents use. So let's normalize to
that.
Reviewed-by: Eric Engestrom
Tested-by: Marge Bot
Part-of:
---
.editorconfig | 4 +++
docs/intro.html | 74 ++++++++++++++++++++++----------------------
docs/sourcetree.html | 14 ++++-----
3 files changed, 48 insertions(+), 44 deletions(-)
diff --git a/.editorconfig b/.editorconfig
index db1f4a95d7f..3f9e475a6ac 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -32,6 +32,10 @@ indent_size = 2
indent_style = space
indent_size = 2
+[*.html]
+indent_style = space
+indent_size = 2
+
[*.patch]
trim_trailing_whitespace = false
diff --git a/docs/intro.html b/docs/intro.html
index 99b58fd1c9c..0afd55c4314 100644
--- a/docs/intro.html
+++ b/docs/intro.html
@@ -357,46 +357,46 @@ features.
- Texture mapping:
-
- - glAreTexturesResident
-
- glBindTexture
-
- glCopyTexImage1D
-
- glCopyTexImage2D
-
- glCopyTexSubImage1D
-
- glCopyTexSubImage2D
-
- glDeleteTextures
-
- glGenTextures
-
- glIsTexture
-
- glPrioritizeTextures
-
- glTexSubImage1D
-
- glTexSubImage2D
-
+
+ - glAreTexturesResident
+
- glBindTexture
+
- glCopyTexImage1D
+
- glCopyTexImage2D
+
- glCopyTexSubImage1D
+
- glCopyTexSubImage2D
+
- glDeleteTextures
+
- glGenTextures
+
- glIsTexture
+
- glPrioritizeTextures
+
- glTexSubImage1D
+
- glTexSubImage2D
+
- Vertex Arrays:
-
- - glArrayElement
-
- glColorPointer
-
- glDrawElements
-
- glEdgeFlagPointer
-
- glIndexPointer
-
- glInterleavedArrays
-
- glNormalPointer
-
- glTexCoordPointer
-
- glVertexPointer
-
+
+ - glArrayElement
+
- glColorPointer
+
- glDrawElements
+
- glEdgeFlagPointer
+
- glIndexPointer
+
- glInterleavedArrays
+
- glNormalPointer
+
- glTexCoordPointer
+
- glVertexPointer
+
- Client state management:
-
- - glDisableClientState
-
- glEnableClientState
-
- glPopClientAttrib
-
- glPushClientAttrib
-
+
+ - glDisableClientState
+
- glEnableClientState
+
- glPopClientAttrib
+
- glPushClientAttrib
+
- Misc:
-
- - glGetPointer
-
- glIndexub
-
- glIndexubv
-
- glPolygonOffset
-
+
+ - glGetPointer
+
- glIndexub
+
- glIndexubv
+
- glPolygonOffset
+
diff --git a/docs/sourcetree.html b/docs/sourcetree.html
index 5ef74d93908..b16d2627abf 100644
--- a/docs/sourcetree.html
+++ b/docs/sourcetree.html
@@ -49,15 +49,15 @@ each directory.
main - The core Mesa code (mainly state management)
drivers - Mesa drivers (not used with Gallium)
- - common - code which may be shared by all drivers
+
- common - code which may be shared by all drivers
- dri - Direct Rendering Infrastructure drivers
- - common - code shared by all DRI drivers
-
- i915 - driver for Intel i915/i945
-
- i965 - driver for Intel i965
-
- radeon - driver for ATI R100
-
- r200 - driver for ATI R200
-
- XXX more
+
- common - code shared by all DRI drivers
+
- i915 - driver for Intel i915/i945
+
- i965 - driver for Intel i965
+
- radeon - driver for ATI R100
+
- r200 - driver for ATI R200
+
- XXX more
- x11 - Xlib-based software driver
- osmesa - off-screen software driver
--
2.30.2