docs
docs copied to clipboard
conan.io reStructuredText documentation
The current [migration guide](https://docs.conan.io/en/latest/conan_v2.html) covers most of important parts, but the migration is not totally clear about environment variables. Some recipes, they collect external environment variables, and so far [tools.get_env](https://docs.conan.io/en/latest/reference/tools.html#tools-get-env)...
In https://docs.conan.io/en/1.51/reference/conanfile/tools/env/envvars.html#creating-environment-files, it is explained how to aggregate calls of scripts in `conanbuild` script with `scope="build"`, or in `conanrun` script with `scope="run"`. Actually in https://github.com/conan-io/conan-center-index/pull/12598, I wanted to inject some...
Fix errors related to lack of language while building the docs Without conf.py having a defualt language sphinx shows this: ```py sphinx-build -W -b html -d _build/doctrees . _build/html Running...
Happens at least in conan 1.51.3 / 1.51.2 / 1.51.1 / 1.50.2 / 1.50.1 / 1.50.0 ``` (conan) λ python Python 3.10.2 (tags/v3.10.2:a58ebcc, Jan 17 2022, 14:12:15) [MSC v.1929 64...
https://docs.conan.io/en/latest/uploading_packages/running_your_server.html mentions > Conan has implemented an extensible storage backend based on the abstract class StorageAdapter. Currently, the server only supports storage on disk. The folder in which the uploaded...
tried my best to capture the suggestions in https://cpplang.slack.com/archives/C41CWV9HA/p1660400359989449 //cc @SpaceIm
Several functions & classes exposed in `conan.tools` are not documented: `conan.tools.build.valid_min_cppstd` (available since conan 1.50.0) `conan.tools.cmake.CMakeFileAPI` (available since conan 1.39.0) `conan.tools.files.collect_libs` (available since conan 1.46.0) `conan.tools.files.CppPackage` (available since conan 1.39.0)...
Indeed, I've tested during migration of a recipe to conan v2 to pass a `CMAKE_POLICY_DEFAULT_CMP` with `variables` and it was just ignored by CMake. I had to use `cache_variables`. So...
Related with https://github.com/conan-io/conan/issues/11768
Minor documentation fixup - This reflects the current version equivalences as they are in the code: https://github.com/conan-io/conan/blob/develop/conans/client/tools/win.py#L112-L121