summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRonny <ronny@apache.org>2022-10-14 17:48:30 +0200
committerGitHub <noreply@github.com>2022-10-14 17:48:30 +0200
commitf602d6183361de0cb26795813b623a00464bd0bf (patch)
treef7286500052b17479e410bf7ae045757d8d90d08
parentbdf8acd6c8a89990e35cef0012ec501551b34e8e (diff)
downloadcouchdb-f602d6183361de0cb26795813b623a00464bd0bf.tar.gz
Fixing API Quick Reference (#4208)
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>