From 5b249592d26d57c614d0892a8936c91d71d3a953 Mon Sep 17 00:00:00 2001 From: Niels Lohmann Date: Wed, 30 Sep 2026 17:59:35 +0200 Subject: [PATCH] Fix MacPorts CMake example to include its own snippet files The MacPorts "Example: CMake" block included integration/homebrew/example.cpp and integration/homebrew/CMakeLists.txt instead of the MacPorts files right next to it, a copy-paste slip from the Homebrew section. Nothing referenced integration/macports/CMakeLists.txt as a result. The page rendered correctly only because the homebrew, macports and vcpkg/CMakeLists.txt snippets are byte-identical, so a future edit to the MacPorts files would not have shown up on the page. Part of #5718 item 6 Signed-off-by: Niels Lohmann --- docs/mkdocs/docs/integration/package_managers.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/mkdocs/docs/integration/package_managers.md b/docs/mkdocs/docs/integration/package_managers.md index 792a0fa5a..28f95e584 100644 --- a/docs/mkdocs/docs/integration/package_managers.md +++ b/docs/mkdocs/docs/integration/package_managers.md @@ -678,11 +678,11 @@ to install the [nlohmann-json](https://ports.macports.org/port/nlohmann-json/) p 1. Create the following files: ```cpp title="example.cpp" - --8<-- "integration/homebrew/example.cpp" + --8<-- "integration/macports/example.cpp" ``` ```cmake title="CMakeLists.txt" - --8<-- "integration/homebrew/CMakeLists.txt" + --8<-- "integration/macports/CMakeLists.txt" ``` 2. Install the package: