Update Makefile and footer

This commit is contained in:
Dan Bader
2018-07-25 16:51:25 -07:00
parent 89f78160d1
commit 4b16a1eba7
3 changed files with 15 additions and 2 deletions
+3
View File
@@ -181,3 +181,6 @@ pseudoxml:
$(SPHINXBUILD) -b pseudoxml $(ALLSPHINXOPTS) $(BUILDDIR)/pseudoxml
@echo
@echo "Build finished. The pseudo-XML files are in $(BUILDDIR)/pseudoxml."
serve:
cd $(BUILDDIR)/dirhtml && python3 -m http.server 8005
+10
View File
@@ -40,3 +40,13 @@
ga('send', 'pageview');
</script>
{% endblock %}
{%- block footer %}
<div class="footer">
<div class="bodywrapper" style="display:block;position:relative;">
<div style="display:block;width:100%;padding-top:25%;"></div>
<div class="rpad" data-unit="4x1" style="position:absolute;left:0;top:0;right:0;bottom:0;overflow:hidden;"></div>
</div>
{% if show_copyright %}<p>&copy;{{ copyright }}</p>{% endif %}
</div>
{% endblock %}
+2 -2
View File
@@ -46,7 +46,7 @@ master_doc = 'index'
# General information about the project.
project = u'pythonguide'
copyright = u'2016. A <a href="http://kennethreitz.com/pages/open-projects.html">Kenneth Reitz</a> Project. <a href="http://creativecommons.org/licenses/by-nc-sa/3.0/">CC BY-NC-SA 3.0</a>'
copyright = u'20112018 <a href="http://kennethreitz.com/pages/open-projects.html">Kenneth Reitz</a> &amp; <a href="https://realpython.com">Real Python</a>. <a href="http://creativecommons.org/licenses/by-nc-sa/3.0/">CC BY-NC-SA 3.0</a>'
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
@@ -241,7 +241,7 @@ man_pages = [
epub_title = u'pythonguide'
epub_author = u'Kenneth Reitz'
epub_publisher = u'Kenneth Reitz'
epub_copyright = u'2016, Kenneth Reitz'
epub_copyright = u'20112018, Kenneth Reitz & Real Python'
# The language of the text. It defaults to the language option
# or en if the language is not set.