From 3517710c7098fcde51e2d2b6750786b1a88a44e1 Mon Sep 17 00:00:00 2001 From: leha-bot Date: Wed, 15 Jan 2025 23:44:37 +0300 Subject: [PATCH] Add doxygen-awesome-css Due to its nature it should be used with Conan deployers. The deployed files should be added to Doxyfile. See https://docs.conan.io/2.0/examples/extensions/deployers/custom_deployers.html for deployers and https://jothepro.github.io/doxygen-awesome-css/ for upstream docs. --- recipes/doxygen-awesome-css/all/conandata.yml | 4 ++++ recipes/doxygen-awesome-css/all/conanfile.py | 23 +++++++++++++++++++ recipes/doxygen-awesome-css/config.yml | 3 +++ 3 files changed, 30 insertions(+) create mode 100644 recipes/doxygen-awesome-css/all/conandata.yml create mode 100644 recipes/doxygen-awesome-css/all/conanfile.py create mode 100644 recipes/doxygen-awesome-css/config.yml diff --git a/recipes/doxygen-awesome-css/all/conandata.yml b/recipes/doxygen-awesome-css/all/conandata.yml new file mode 100644 index 0000000000000..1d00a62c0160a --- /dev/null +++ b/recipes/doxygen-awesome-css/all/conandata.yml @@ -0,0 +1,4 @@ +sources: + "2.3.4": + url: "https://github.com/jothepro/doxygen-awesome-css/archive/refs/tags/v2.3.4.zip" + sha256: "cb684b29f6be9e63300de56f26c13a04c298af8937a15ce87390fb5a601022a3" diff --git a/recipes/doxygen-awesome-css/all/conanfile.py b/recipes/doxygen-awesome-css/all/conanfile.py new file mode 100644 index 0000000000000..fb4f56ac5a347 --- /dev/null +++ b/recipes/doxygen-awesome-css/all/conanfile.py @@ -0,0 +1,23 @@ +from conan import ConanFile +from conan.tools.files import copy, get +import os + +required_conan_version = ">=2.4" + + +class DoxygenAwesomeCssConan(ConanFile): + name = "doxygen-awesome-css" + description = "Custom CSS theme for doxygen html-documentation with lots of customization parameters." + topics = ("documentation", "theme") + homepage = "https://jothepro.github.io/doxygen-awesome-css/" + license = "MIT" + url = "https://github.com/jothepro/doxygen-awesome-css" + package_type = "unknown" + settings = () + + def source(self): + get(self, **self.conan_data["sources"][self.version], strip_root=True) + + def package(self): + copy(self, "LICENSE", src=self.source_folder, dst=os.path.join(self.package_folder, "licenses")) + copy(self, "doxygen-awesome-**", src=self.source_folder, dst=self.package_folder) diff --git a/recipes/doxygen-awesome-css/config.yml b/recipes/doxygen-awesome-css/config.yml new file mode 100644 index 0000000000000..690f82114a112 --- /dev/null +++ b/recipes/doxygen-awesome-css/config.yml @@ -0,0 +1,3 @@ +versions: + "2.3.4": + folder: "all"