darkexplosiveqwx
45065d711f
macvendor.py: use raw strings for regex
...
This prevents the following warning message:
[...]/tools/macvendor.py:67: SyntaxWarning: "\s" is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\\s"? A raw string is also an option.
cols = re.split("\s\s+|\t", line)
Signed-off-by: darkexplosiveqwx <101737077+darkexplosiveqwx@users.noreply.github.com >
2026-06-25 13:10:31 +02:00
darkexplosiveqwx
647f99e06b
macvendor.py: handle some more errors
...
Signed-off-by: darkexplosiveqwx <101737077+darkexplosiveqwx@users.noreply.github.com >
2026-06-25 13:02:42 +02:00
darkexplosiveqwx
46d53bff5e
Allow using local manufs to generate macvendor.db
...
Signed-off-by: darkexplosiveqwx <101737077+darkexplosiveqwx@users.noreply.github.com >
2026-06-25 12:55:36 +02:00
Adam Warner and Dominik
c008972320
fix: update CLI documentation to wrap array values in single quotes
...
Signed-off-by: Adam Warner <me@adamwarner.co.uk >
2025-12-14 20:30:51 +01:00
57b44f1de0
Update tools/pihole_toml_to_markdown.py
...
Co-authored-by: Dominik <DL6ER@users.noreply.github.com >
Signed-off-by: Adam Warner <github@adamwarner.co.uk >
2025-12-13 10:11:59 +00:00
Adam Warner
d99c008d36
Enhance documentation generation by adding array parsing and example extraction from comments
...
Signed-off-by: Adam Warner <me@adamwarner.co.uk >
2025-12-12 22:52:50 +00:00
RD WebDesign and GitHub
c4a24f65b4
Do not use equal sign with pihole-FTL --config command
...
Fix the function that creates the CLI examples to use a space instead of an equal sign.
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br >
2025-12-09 22:45:33 -03:00
RD WebDesign
b067c1187e
Replace dots with underscores when creating env var examples
...
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br >
2025-10-27 01:04:46 -03:00
yubiuser
407f8a71bf
Add warning to the config markdown
...
Signed-off-by: yubiuser <github@yubiuser.dev >
2025-07-22 16:20:59 +02:00
RD WebDesign and Adam Warner
f3fa047e29
Force line breaks after values if bullet is in "Allowed values" section
...
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br >
2025-07-16 21:56:30 +01:00
RD WebDesign and Adam Warner
c076b1bb39
Fix indentation for multiline values
...
- multiline "default values" section: add 2 spaces on the first line
- use `.strip()` to remove unneeded initial spaces from TOML example tab
- adjust the indentation size for TOML and YAML example tabs
- remove trailing spaces
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br >
2025-07-16 21:56:30 +01:00
Adam Warner
1eaa2b322b
Add Python script to parse pihole.toml and convert it into a markdown formatted file.
...
This script is then used as part of the build process to create a pull request on the docs repo if the config has been updated when a new version of Pi-hole is released
Signed-off-by: Adam Warner <me@adamwarner.co.uk >
2025-07-16 21:56:02 +01:00
DL6ER
7db4483c82
Update macvendor script
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2024-05-31 13:20:12 +02:00
DL6ER
59463db321
Modify arch-tests, refine how we detect an already running pihole-FTL process and how we get other processes names from proc (the existing method didn't work on alpine:arm) and remove the obsolete struct size checking
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2023-05-31 21:13:27 +02:00
DL6ER
064ac81fca
Add SSL/TLS support (mbedTLS)
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2023-03-08 21:10:12 +01:00
DL6ER
a57b959595
Fix outdated link to Wireshark manufacturer database
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2022-05-21 22:55:33 +02:00
DL6ER and GitHub
8fd09cd584
Merge pull request #739 from MichaIng/patch-1
...
Use /run instead of /var/run for FTL runtime files
2020-05-25 21:27:33 +02:00
Dan Schaper and GitHub
fe42790f00
Add User-Agent to macvendor.py
2020-05-13 12:20:01 -07:00
MichaIng
0fd1e341da
Use /run instead of /var/run for FTL runtime files
...
Compare with: https://github.com/pi-hole/pi-hole/pull/3248#issuecomment-620752054
Signed-off-by: MichaIng <micha@dietpi.com >
2020-05-01 12:41:33 +02:00
DL6ER
1ca652bdec
Fix using wrong index when looking for comments in the downloaded file.
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2019-08-09 19:45:17 +02:00
DL6ER
e365364f72
Move all source files into new subdirectory "src". Put compiled objects into new subdirectory "build".
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2019-07-02 00:18:56 +02:00