Fix display font and static text ref (#2618)

This commit is contained in:
Jesse Hills 2023-01-24 14:35:06 +13:00 committed by GitHub
parent f858439867
commit 4171ba1fb4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 3 deletions

View File

@ -56,7 +56,7 @@ Google Fonts
:ghuser:`OttoWinter` has given everyone a way to use Google Fonts in their YAML and displays without having to manually download
TTF font files. The example below will automatically download and cache the Roboto TTF font file required so you can utilise it.
See the :ref:`display-static_text` documentation for more details.
See the :ref:`display-fonts` documentation for more details.
.. code-block:: yaml

View File

@ -141,7 +141,7 @@ Additionally, you have access to two helper methods which will fetch the width a
You can view the full API documentation for the rendering engine in the "API Reference" in the See Also section.
.. _display-static_text:
.. _display-fonts:
Fonts
*****
@ -226,6 +226,8 @@ Configuration variables:
to install it using
``pip install pillow``.
.. _display-static_text:
Drawing Static Text
*******************
@ -415,7 +417,7 @@ RGB displays use red, green, and blue, while grayscale displays may use white.
Graph Component
***************
You can display a graph of a sensor value(s) using this component. The states used for the graph are stored in
You can display a graph of a sensor value(s) using this component. The states used for the graph are stored in
memory at the time the sensor updates and will be lost when the device reboots.
Examples: