Skip to content

Commit 4b16a1e

Browse files
committed
Update Makefile and footer
1 parent 89f7816 commit 4b16a1e

File tree

3 files changed

+15
-2
lines changed

3 files changed

+15
-2
lines changed

docs/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,3 +181,6 @@ pseudoxml:
181181
$(SPHINXBUILD) -b pseudoxml $(ALLSPHINXOPTS) $(BUILDDIR)/pseudoxml
182182
@echo
183183
@echo "Build finished. The pseudo-XML files are in $(BUILDDIR)/pseudoxml."
184+
185+
serve:
186+
cd $(BUILDDIR)/dirhtml && python3 -m http.server 8005

docs/_templates/layout.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,13 @@
4040
ga('send', 'pageview');
4141
</script>
4242
{% endblock %}
43+
44+
{%- block footer %}
45+
<div class="footer">
46+
<div class="bodywrapper" style="display:block;position:relative;">
47+
<div style="display:block;width:100%;padding-top:25%;"></div>
48+
<div class="rpad" data-unit="4x1" style="position:absolute;left:0;top:0;right:0;bottom:0;overflow:hidden;"></div>
49+
</div>
50+
{% if show_copyright %}<p>&copy;{{ copyright }}</p>{% endif %}
51+
</div>
52+
{% endblock %}

docs/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646

4747
# General information about the project.
4848
project = u'pythonguide'
49-
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>'
49+
copyright = u'2011–2018 <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>'
5050

5151
# The version info for the project you're documenting, acts as replacement for
5252
# |version| and |release|, also used in various other places throughout the
@@ -241,7 +241,7 @@
241241
epub_title = u'pythonguide'
242242
epub_author = u'Kenneth Reitz'
243243
epub_publisher = u'Kenneth Reitz'
244-
epub_copyright = u'2016, Kenneth Reitz'
244+
epub_copyright = u'2011–2018, Kenneth Reitz & Real Python'
245245

246246
# The language of the text. It defaults to the language option
247247
# or en if the language is not set.

0 commit comments

Comments
 (0)