Skip to content

Commit

Permalink
Docs: Minor improvements
Browse files Browse the repository at this point in the history
- Add main document title, to not call it "Support"
- Better configure HTTP docs
- Adjust index links shown in footer, remove search page (see #4552)
  • Loading branch information
nijel committed Sep 21, 2020
1 parent 1b87fb5 commit 7cf48c3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
5 changes: 5 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ def setup(app):
"sphinx.ext.graphviz",
"sphinx.ext.intersphinx",
"sphinx-jsonschema",
"sphinx_rtd_theme",
]

# Add any paths that contain templates here, relative to this directory.
Expand Down Expand Up @@ -217,3 +218,7 @@ def setup(app):
linkcheck_retries = 10
linkcheck_timeout = 10
linkcheck_ignore = ["http://127.0.0.1:8080/"]

# HTTP docs
http_index_ignore_prefixes = ["/api/"]
http_strict_mode = True
5 changes: 4 additions & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. title:: Weblate Documentation

.. include:: ../README.rst

.. include:: toc-user.rst
Expand All @@ -12,4 +14,5 @@ Indices and tables
------------------

* :ref:`genindex`
* :ref:`search`
* :ref:`http-routingtable`
* :ref:`py-modindex`

0 comments on commit 7cf48c3

Please sign in to comment.