Mesa (master): docs: move gallium specific docs into gallium folder

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Jul 7 11:04:13 UTC 2020


Module: Mesa
Branch: master
Commit: 892fdde23f44df78391eb0ff50ef031c8b978384
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=892fdde23f44df78391eb0ff50ef031c8b978384

Author: Erik Faye-Lund <erik.faye-lund at collabora.com>
Date:   Tue Jun 30 13:01:04 2020 +0200

docs: move gallium specific docs into gallium folder

Reviewed-by: Eric Engestrom <eric at engestrom.ch>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5706>

---

 docs/_exts/redirects.py                 | 5 ++++-
 docs/contents.rst                       | 2 --
 docs/{ => gallium/drivers}/llvmpipe.rst | 0
 docs/gallium/index.rst                  | 1 +
 docs/{ => gallium}/postprocess.rst      | 0
 docs/systems.rst                        | 2 +-
 6 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/docs/_exts/redirects.py b/docs/_exts/redirects.py
index 4eb7b855b58..af53f7f4fde 100644
--- a/docs/_exts/redirects.py
+++ b/docs/_exts/redirects.py
@@ -1,6 +1,9 @@
 import os
 
-redirects = []
+redirects = [
+    ('llvmpipe', 'gallium/drivers/llvmpipe'),
+    ('postprocess', 'gallium/postprocess')
+]
 
 def create_redirect(dst):
     tpl = '<html><head><meta http-equiv="refresh" content="0; url={0}"><script>window.location.replace("{0}")</script></head></html>'
diff --git a/docs/contents.rst b/docs/contents.rst
index 67246e3e014..4403bc0898d 100644
--- a/docs/contents.rst
+++ b/docs/contents.rst
@@ -44,9 +44,7 @@
    debugging
    perf
    extensions
-   llvmpipe
    vmware-guest
-   postprocess
    application-issues
    viewperf
    xlibdriver
diff --git a/docs/llvmpipe.rst b/docs/gallium/drivers/llvmpipe.rst
similarity index 100%
rename from docs/llvmpipe.rst
rename to docs/gallium/drivers/llvmpipe.rst
diff --git a/docs/gallium/index.rst b/docs/gallium/index.rst
index 9688afb2215..29fbefa2eb5 100644
--- a/docs/gallium/index.rst
+++ b/docs/gallium/index.rst
@@ -16,6 +16,7 @@ Contents:
    cso
    distro
    drivers
+   postprocess
    glossary
 
 Indices and tables
diff --git a/docs/postprocess.rst b/docs/gallium/postprocess.rst
similarity index 100%
rename from docs/postprocess.rst
rename to docs/gallium/postprocess.rst
diff --git a/docs/systems.rst b/docs/systems.rst
index b4f7d84191a..334a7667f9d 100644
--- a/docs/systems.rst
+++ b/docs/systems.rst
@@ -31,7 +31,7 @@ Hardware drivers include:
 
 Software drivers include:
 
--  :doc:`llvmpipe <llvmpipe>` - uses LLVM for x86 JIT code generation
+-  :doc:`llvmpipe <gallium/drivers/llvmpipe>` - uses LLVM for x86 JIT code generation
    and is multi-threaded
 -  softpipe - a reference Gallium driver
 -  :doc:`svga <vmware-guest>` - driver for vmware virtual gpu



More information about the mesa-commit mailing list