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 16:45:21 UTC

[couchdb] branch 3.2.2-docs updated: Fixing API Quick Reference (#4208)

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

ronny pushed a commit to branch 3.2.2-docs
in repository https://gitbox.apache.org/repos/asf/couchdb.git


The following commit(s) were added to refs/heads/3.2.2-docs by this push:
     new 64ad2f0e1 Fixing API Quick Reference (#4208)
64ad2f0e1 is described below

commit 64ad2f0e175a709480be590098a018350a4641e9
Author: Ronny <ro...@apache.org>
AuthorDate: Fri Oct 14 17:48:30 2022 +0200

    Fixing API Quick Reference (#4208)
    
    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>