summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRonny <ronny@apache.org>2022-10-14 17:48:30 +0200
committerRonny Berndt <ronny@apache.org>2022-10-14 18:44:46 +0200
commit64ad2f0e175a709480be590098a018350a4641e9 (patch)
tree41a9fe21eefc16015ff32beea98d70ff8c0964ab
parent0e5bd61c392b0db9e37b8712d67f6806fa1f770b (diff)
downloadcouchdb-3.2.2.post3.tar.gz
Fixing API Quick Reference (#4208)3.2.2.post3
Some internal changes after upgrading httpdomain to sphinxcontrib.httpdomain
-rw-r--r--src/docs/src/conf.py4
-rw-r--r--src/docs/templates/layout.html2
-rw-r--r--src/docs/templates/pages/index.html2
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>