1
0
mirror of https://github.com/minio/docs.git synced 2025-08-08 01:43:18 +03:00

Fix anchor links, bump to Sphinx 3.5

Make anchor link float on the left side

Fixing extension issue related to whitespaces (hack)
This commit is contained in:
ravindk89
2021-02-22 10:36:20 -05:00
parent cf00b0ca1a
commit 4bfececb2d
7 changed files with 47 additions and 7 deletions

View File

@@ -118,6 +118,11 @@ class MinioMCObject(ObjectDescription):
member, alias = sig.split(',', 1)
member = member.strip()
alias = alias.strip()
elif ' ' in sig:
# For subcommands with spaces
# Need to find a better way of specifying aliases, this is very hacky
member = sig.replace(' ', '-')
alias = None
else:
member = sig
alias = None