Fixing API Quick Reference (#4208)
Some internal changes after upgrading httpdomain to sphinxcontrib.httpdomain
diff --git a/src/docs/src/conf.py b/src/docs/src/conf.py
index 2c84f61..c6c583a 100644
--- a/src/docs/src/conf.py
+++ b/src/docs/src/conf.py
@@ -77,6 +77,10 @@
"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 3840a61..942080a 100644
--- a/src/docs/templates/layout.html
+++ b/src/docs/templates/layout.html
@@ -17,7 +17,7 @@
{{ 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 0506b60..bc46b0c 100644
--- a/src/docs/templates/pages/index.html
+++ b/src/docs/templates/pages/index.html
@@ -187,7 +187,7 @@
<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>