mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-22 12:04:39 +08:00
docs: Unbreak sphinx' man directories
Apparently new sphinxen want to create an *additional* section directory, so things end up in /usr/share/fish/man/man1/1, instead of /usr/share/fish/man/man1 Why? No idea. I can't reproduce it but I'm told this section fixes it. Fixes #7996
This commit is contained in:
parent
678fa2e6a9
commit
240fb9fd45
|
@ -210,6 +210,9 @@ def get_command_description(path, name):
|
|||
return desc.strip()
|
||||
raise SphinxWarning("No description in file %s" % os.path.basename(path))
|
||||
|
||||
# Newer sphinxen apparently create another subdirectory which breaks our man lookup.
|
||||
# Unbreak it (#7996)
|
||||
man_make_section_directory = False
|
||||
|
||||
# One entry per manual page. List of tuples
|
||||
# (source start file, name, description, authors, manual section).
|
||||
|
|
Loading…
Reference in New Issue
Block a user