質問

The word Release appears on the first page and in pages' headers.

I've commented out release and version lines in conf.py file, but it only removed number of release from the pages.

Is there a way to tell sphinx not to put Release in any place of the document? I must not have it in document I am making.

I have checked sphinx documentation many times and tried to google the case, but I did not succeed.

I have also asked at #sphinx-doc at freenode, but no one answered so far.

I will supply more details if there are important ones I have missed.

役に立ちましたか?

解決

I have found the answer in another question, which I couldn't reach before:
How do I get rid of the "Release 1" in the Page Header of the Sphinx Latex Output?

ddbecik has answered the question with following code:

release = ''
latex_elements = { 'releasename': '' }

So, for saying it literally, I was supposed to put empty string into release variable and to add releasename directive in the latex_elements section, also containing empty string.

It works like a charm, therefore I am sorry for doubling question and I hope it will be easier for other to find answer in future.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top