We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Assuming we want to display: ©️ Copyright 2017, A ©️ Copyright 2018, B
It seems impossible to display these lines under each other. The best behavior can be achieved using:
copyright = u'2017, A, \xA9 Copyright 2018, B'
which outputs: ©️ Copyright 2017, A, ©️ Copyright 2018, B but this is hacky and still renders in the same line!
Either to allow copyright variable being a list:
copyright
copyright = [u'2017, A', u'2018, B']
which should generate the two lines properly
Or at least to allow HTML embedding:
copyright = u'2017, A<br />© Copyright 2018, B'
which still hacky anyway!
The text was updated successfully, but these errors were encountered:
+0: I can accept if anybody send a PR for this to us.
As a workaround, you can customize the footer manually. Please put a following file onto your project as named _templates/layout.html:
_templates/layout.html
{%- block footer %} <div class="footer" role="contentinfo"> © Copyright Copyright 2017, A.<br /> © Copyright Copyright 2018, B. {%- if last_updated %} {% trans last_updated=last_updated|e %}Last updated on {{ last_updated }}.{% endtrans %} {%- endif %} {%- if show_sphinx %} {% trans sphinx_version=sphinx_version|e %}Created using <a href="http://sphinx-doc.org/">Sphinx</a> {{ sphinx_version }}.{% endtrans %} {%- endif %} </div> {%- endblock %}
(I just used <br /> to fold the line after first copyright. But you can use other tags as you like).
<br />
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Problem
How to reproduce
Assuming we want to display:
©️ Copyright 2017, A
©️ Copyright 2018, B
It seems impossible to display these lines under each other. The best behavior can be achieved using:
which outputs: ©️ Copyright 2017, A, ©️ Copyright 2018, B
but this is hacky and still renders in the same line!
Expected behaviour
Either to allow
copyright
variable being a list:which should generate the two lines properly
Or at least to allow HTML embedding:
which still hacky anyway!
The text was updated successfully, but these errors were encountered: