[python-users] Sphinx hasdoc(copyright)

Jan Ulrich Hasecke juhasecke at googlemail.com
Mi Mai 5 08:57:57 CEST 2010


Hallo,

im Template steht 

{%- block footer %}
    <div class="footer">
    {%- if hasdoc('copyright') %}
      {% trans path=pathto('copyright'), copyright=copyright|e %}© <a href="{{ path }}">Copyright</a> {{ copyright }}.{% endtrans %}
    {%- else %}
      {% trans copyright=copyright|e %}© Copyright {{ copyright }}.{% endtrans %}
    {%- endif %}
    {%- 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.pocoo.org/">Sphinx</a> {{ sphinx_version }}.{% endtrans %}
    {%- endif %}
    </div>
{%- endblock %}

Ich schließe daraus, dass man eine Copyright-Datei anlegen kann, in der zum Beispiel die ellenlangen CC-Bestimmungen aufgeführt sind. Nur wo und wie muss ich die Datei anlegen?

juh

-------------- nächster Teil --------------
Ein Dateianhang mit Binärdaten wurde abgetrennt...
Dateiname   : smime.p7s
Dateityp    : application/pkcs7-signature
Dateigröße  : 2295 bytes
Beschreibung: nicht verfügbar
URL         : <http://lists.uni-koeln.de/pipermail/python-users/attachments/20100505/753187c5/attachment.p7s>


Mehr Informationen über die Mailingliste python-users