You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ro...@apache.org on 2022/10/14 12:34:53 UTC

[couchdb] 01/01: Fixing API Quick Reference

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

ronny pushed a commit to branch fix-api-quick-ref
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit 1ab9129c96389b4e41bfdc439ebfb97b58129e86
Author: Ronny Berndt <ro...@apache.org>
AuthorDate: Fri Oct 14 14:34:35 2022 +0200

    Fixing API Quick Reference
    
    Some internal changes after upgrading httpdomain to sphinxcontrib.httpdomain
---
 src/docs/src/conf.py                | 4 ++++
 src/docs/templates/layout.html      | 2 +-
 src/docs/templates/pages/index.html | 2 +-
 3 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/docs/src/conf.py b/src/docs/src/conf.py
index 2c84f615f..c6c583a07 100644
--- a/src/docs/src/conf.py
+++ b/src/docs/src/conf.py
@@ -77,6 +77,10 @@ html_context = {
     "rtd_ver": os.environ.get("READTHEDOCS_VERSION_NAME") or "latest",
 }
 
+http_index_shortname = 'API Reference'
+
+http_index_localname = "API Quick Reference"
+
 text_newlines = "native"
 
 latex_documents = [("index", "CouchDB.tex", project, "", "manual", True)]
diff --git a/src/docs/templates/layout.html b/src/docs/templates/layout.html
index 3840a61d3..942080af4 100644
--- a/src/docs/templates/layout.html
+++ b/src/docs/templates/layout.html
@@ -17,7 +17,7 @@ specific language governing permissions and limitations under the License.
 {{ super() }}
 <h2>Quick Reference Guides</h2>
 <ul>
-<li><a href="{{ pathto('http-api') }}">API Quick Reference</a></li>
+<li><a href="{{ pathto('http-routingtable') }}">API Quick Reference</a></li>
 <li><a href="{{ pathto('config-ref') }}">Configuration Quick Reference</a></li>
 </ul>
 
diff --git a/src/docs/templates/pages/index.html b/src/docs/templates/pages/index.html
index 0506b60ff..bc46b0c05 100644
--- a/src/docs/templates/pages/index.html
+++ b/src/docs/templates/pages/index.html
@@ -187,7 +187,7 @@ specific language governing permissions and limitations under the License.
 <table class="contentstable" align="center"><tr>
   <td>
     <p class="biglink"><a class="biglink" href="https://couchdb.apache.org/#download">Download CouchDB</a></p>
-    <p class="biglink"><a class="biglink" href="{{ pathto("http-api") }}">HTTP API Quick Reference</a></p>
+    <p class="biglink"><a class="biglink" href="{{ pathto("http-routingtable") }}">HTTP API Quick Reference</a></p>
     <p class="biglink"><a class="biglink" href="{{ pathto("config-ref") }}">Configuration Quick Reference</a></p>
   </td></tr>
 </table>