diff --git a/docs/ftldns/configfile.md b/docs/ftldns/configfile.md index e13b32818..101c67af1 100644 --- a/docs/ftldns/configfile.md +++ b/docs/ftldns/configfile.md @@ -5,3 +5,9 @@ The configuration file can be found at `/etc/pihole/pihole.toml`, all of the opt The file can be edited directly, however you can also use the command line option (`pihole-FTL --config`) or the web interface. There is also an outline of the configuration options in the [api documentation](../api/index.md#accessing-the-api-documentation). + +## Pi-hole configuration file example - `pihole.toml`: + +```toml +--8<-- "https://raw.githubusercontent.com/pi-hole/FTL/refs/heads/master/test/pihole.toml" +``` diff --git a/mkdocs.yml b/mkdocs.yml index e8084aab4..4bb77acee 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -89,6 +89,8 @@ markdown_extensions: - markdown_include.include: base_path: docs - pymdownx.snippets: + # allow include external URL content + url_download: true # auto_append abbreviations.md to every file # https://squidfunk.github.io/mkdocs-material/reference/tooltips/#adding-a-glossary auto_append: