mirror of https://github.com/zulip/zulip.git
docs: Follow Sphinx 4 rename of master_doc to root_doc.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
817146c28b
commit
0dcb84a2e8
|
@ -2,7 +2,7 @@
|
|||
|
||||
{% block sidebartitle %}
|
||||
{%- if logo and theme_logo_only %}
|
||||
<a href="{{ pathto(master_doc) }}">
|
||||
<a href="{{ pathto(root_doc) }}">
|
||||
<img src="{{ pathto('_static/' + logo, 1) }}" class="logo" alt="{{ _('Logo') }}"/>
|
||||
</a>
|
||||
{%- endif %}
|
||||
|
|
10
docs/conf.py
10
docs/conf.py
|
@ -44,8 +44,8 @@ templates_path = ["_templates"]
|
|||
# The encoding of source files.
|
||||
# source_encoding = 'utf-8-sig'
|
||||
|
||||
# The master toctree document.
|
||||
master_doc = "index"
|
||||
# The root toctree document.
|
||||
root_doc = "index"
|
||||
|
||||
# General information about the project.
|
||||
project = "Zulip"
|
||||
|
@ -234,7 +234,7 @@ latex_elements: Dict[str, str] = {
|
|||
# (source start file, target name, title,
|
||||
# author, documentclass [howto, manual, or own class]).
|
||||
latex_documents = [
|
||||
(master_doc, "zulip-contributor-docs.tex", "Zulip Documentation", "The Zulip Team", "manual"),
|
||||
(root_doc, "zulip-contributor-docs.tex", "Zulip Documentation", "The Zulip Team", "manual"),
|
||||
]
|
||||
|
||||
# The name of an image file (relative to this directory) to place at the top of
|
||||
|
@ -263,7 +263,7 @@ latex_documents = [
|
|||
# One entry per manual page. List of tuples
|
||||
# (source start file, name, description, authors, manual section).
|
||||
man_pages = [
|
||||
(master_doc, "zulip-contributor-docs", "Zulip Documentation", [author], 1),
|
||||
(root_doc, "zulip-contributor-docs", "Zulip Documentation", [author], 1),
|
||||
]
|
||||
|
||||
# If true, show URL addresses after external links.
|
||||
|
@ -277,7 +277,7 @@ man_pages = [
|
|||
# dir menu entry, description, category)
|
||||
texinfo_documents = [
|
||||
(
|
||||
master_doc,
|
||||
root_doc,
|
||||
"zulip-contributor-docs",
|
||||
"Zulip Documentation",
|
||||
author,
|
||||
|
|
Loading…
Reference in New Issue