[PATCH] Use pathto() on the genindex URL to make it relative.

chrisj at rtems.org chrisj at rtems.org
Thu Feb 14 09:37:01 UTC 2019


From: Chris Johns <chrisj at rtems.org>

---
 bsp-howto/index.rst           | 2 --
 c-user/index.rst              | 2 --
 common/_templates/layout.html | 2 +-
 cpu-supplement/index.rst      | 2 --
 develenv/index.rst            | 2 --
 eclipse/index.rst             | 2 --
 eng/index.rst                 | 2 --
 filesystem/index.rst          | 2 --
 networking/index.rst          | 2 --
 porting/index.rst             | 2 --
 posix-compliance/index.rst    | 2 --
 posix-users/index.rst         | 2 --
 rtemsconfig/index.rst         | 5 -----
 shell/index.rst               | 2 --
 user/index.rst                | 2 --
 15 files changed, 1 insertion(+), 32 deletions(-)

diff --git a/bsp-howto/index.rst b/bsp-howto/index.rst
index 730693f..f035817 100644
--- a/bsp-howto/index.rst
+++ b/bsp-howto/index.rst
@@ -38,5 +38,3 @@ RTEMS BSP and Driver Guide (|version|).
 	ata
 	ide_controller
 	command
-
-* :ref:`genindex`
diff --git a/c-user/index.rst b/c-user/index.rst
index 6675747..19f50a5 100644
--- a/c-user/index.rst
+++ b/c-user/index.rst
@@ -63,5 +63,3 @@ RTEMS Classic API Guide (|version|).
 	example_application
 	glossary
 	zreferences
-
-* :ref:`genindex`
diff --git a/common/_templates/layout.html b/common/_templates/layout.html
index 7a66d8a..ee91611 100644
--- a/common/_templates/layout.html
+++ b/common/_templates/layout.html
@@ -6,7 +6,7 @@
 {% endblock %}
 {% block menu %}
   {{ super() }}
-  <a class="reference internal" href="genindex.html">Index</a>
+  <a class="reference internal" href="{{ pathto("genindex") }}"><b>Index</b></a>
 {% endblock %}
 {# Custom CSS overrides #}
 {% set css_files = ['_static/my-styles.css'] %}
diff --git a/cpu-supplement/index.rst b/cpu-supplement/index.rst
index 06232c9..614a746 100644
--- a/cpu-supplement/index.rst
+++ b/cpu-supplement/index.rst
@@ -40,5 +40,3 @@ RTEMS CPU Architecture Supplement (|version|).
 	sparc
 	sparc64
 	zreferences
-
-* :ref:`genindex`
diff --git a/develenv/index.rst b/develenv/index.rst
index d56a73f..be34086 100644
--- a/develenv/index.rst
+++ b/develenv/index.rst
@@ -21,5 +21,3 @@ RTEMS Development Environment Guide (|version|).
 	sample
 	utilities
 	command
-
-* :ref:`genindex`
diff --git a/eclipse/index.rst b/eclipse/index.rst
index 78ecf84..81b915b 100644
--- a/eclipse/index.rst
+++ b/eclipse/index.rst
@@ -25,5 +25,3 @@ RTEMS Eclipse Manual (|version|).
 	rtems
 
 	glossary
-
-* :ref:`genindex`
diff --git a/eng/index.rst b/eng/index.rst
index b3a0ca3..5e7f934 100644
--- a/eng/index.rst
+++ b/eng/index.rst
@@ -30,5 +30,3 @@ RTEMS Software Engineering Handbook (|version|)
         appendix-a
 	function_and_variable
 	concept
-
-* :ref:`genindex`
diff --git a/filesystem/index.rst b/filesystem/index.rst
index 62fe51e..4e89330 100644
--- a/filesystem/index.rst
+++ b/filesystem/index.rst
@@ -26,5 +26,3 @@ RTEMS Filesystem Design Guide (|version|).
 	minature_in-memory
 	trivial_ftp
 	command_and_variable
-
-* :ref:`genindex`
diff --git a/networking/index.rst b/networking/index.rst
index 0062248..6ffec38 100644
--- a/networking/index.rst
+++ b/networking/index.rst
@@ -27,5 +27,3 @@ RTEMS Network User Manual (|version|).
 	network_servers
 	dec_21140
 	command
-
-* :ref:`genindex`
diff --git a/porting/index.rst b/porting/index.rst
index 7c48549..953af2d 100644
--- a/porting/index.rst
+++ b/porting/index.rst
@@ -28,5 +28,3 @@ RTEMS Porting Guide (|version|).
 	code_tuning
 	miscellanous
 	command
-
-* :ref:`genindex`
diff --git a/posix-compliance/index.rst b/posix-compliance/index.rst
index 43b0040..10b48d4 100644
--- a/posix-compliance/index.rst
+++ b/posix-compliance/index.rst
@@ -22,5 +22,3 @@ RTEMS POSIX 1003.1 Compliance Guide (|version|).
         posix-compliance
         glossary
         zreferences
-
-* :ref:`genindex`
diff --git a/posix-users/index.rst b/posix-users/index.rst
index dc30405..619080b 100644
--- a/posix-users/index.rst
+++ b/posix-users/index.rst
@@ -43,5 +43,3 @@ RTEMS POSIX API Guide (|version|).
 	devctl
 	status_of_implementation
 	command
-
-* :ref:`genindex`
diff --git a/rtemsconfig/index.rst b/rtemsconfig/index.rst
index 2d721f2..98298d5 100644
--- a/rtemsconfig/index.rst
+++ b/rtemsconfig/index.rst
@@ -13,8 +13,3 @@ Table of Contents
 
 	rtemsconfig
 	option
-
-
-*   :ref:`genindex`
-*   :ref:`search`
-
diff --git a/shell/index.rst b/shell/index.rst
index 5bc6eab..bcb3da2 100644
--- a/shell/index.rst
+++ b/shell/index.rst
@@ -30,5 +30,3 @@ RTEMS Shell Guide (|version|).
 	network_commands
 	function_and_variable
 	concept
-
-* :ref:`genindex`
diff --git a/user/index.rst b/user/index.rst
index 31895b4..d7baeef 100644
--- a/user/index.rst
+++ b/user/index.rst
@@ -41,5 +41,3 @@ RTEMS User Manual (|version|).
     rsb/index
 
     glossary/index
-
-* :ref:`genindex`
-- 
2.19.1



More information about the devel mailing list