mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Adjust MAX_CITATION_LABEL_LENGTH
This commit is contained in:
parent
996bcb561e
commit
f6259c696b
@ -49,7 +49,7 @@ BEGIN_DOC = r'''
|
||||
'''
|
||||
|
||||
|
||||
MAX_CITATION_LABEL_LENGTH = 16
|
||||
MAX_CITATION_LABEL_LENGTH = 8
|
||||
LATEXSECTIONNAMES = ["part", "chapter", "section", "subsection",
|
||||
"subsubsection", "paragraph", "subparagraph"]
|
||||
|
||||
|
@ -1240,7 +1240,7 @@ def test_latex_thebibliography(app, status, warning):
|
||||
|
||||
result = (app.outdir / 'Python.tex').text(encoding='utf8')
|
||||
print(result)
|
||||
assert ('\\begin{sphinxthebibliography}{AuthorYear}\n'
|
||||
assert ('\\begin{sphinxthebibliography}{AuthorYe}\n'
|
||||
'\\bibitem[AuthorYear]{index:authoryear}\n'
|
||||
'Author, Title, Year\n'
|
||||
'\\end{sphinxthebibliography}\n' in result)
|
||||
|
Loading…
Reference in New Issue
Block a user