Simplify removal of next/prev buttons

As documented on how to override template blocks:

https://www.mkdocs.org/user-guide/customizing-your-theme/#overriding-template-blocks

This is a big diff. I tested it by generating docs before and after the
change, and they were functionally identical.
This commit is contained in:
Bryan Richter
2023-02-17 12:08:49 +02:00
parent 2afe5858cb
commit e798037d80
2 changed files with 4 additions and 201 deletions

4
docs/overrides/main.html Normal file
View File

@@ -0,0 +1,4 @@
{% extends "base.html" %}
<!-- Get rid of the next/prev buttons -->
{% block next_prev %}
{% endblock %}