Conan 2.10 Documentation
detect different default profiles. • Builtin default implementation of extension points as plugins or hooks can also change with every release. Users can provide their own ones for stability. • Output of packages below. 5.4.2 Creating metadata with hooks If there is some common metadata accross recipes, it is possible to capture it without modifying the recipes, using hooks. Let’s say that we have a simpler recipe: ") As we can see, this is not using the metadata folders at all. Let’s define now the following hooks: import os from conan.tools.files import copy def post_export(conanfile): conanfile.output.info("post_export")0 码力 | 803 页 | 5.02 MB | 10 月前3Conan 2.6 Documentation
detect different default profiles. • Builtin default implementation of extension points as plugins or hooks can also change with every release. Users can provide their own ones for stability. • Output of packages below. 5.4.2 Creating metadata with hooks If there is some common metadata accross recipes, it is possible to capture it without modifying the recipes, using hooks. Let’s say that we have a simpler recipe: ") As we can see, this is not using the metadata folders at all. Let’s define now the following hooks: import os from conan.tools.files import copy def post_export(conanfile): conanfile.output.info("post_export")0 码力 | 777 页 | 4.91 MB | 10 月前3Conan 2.9 Documentation
detect different default profiles. • Builtin default implementation of extension points as plugins or hooks can also change with every release. Users can provide their own ones for stability. • Output of packages below. 5.4.2 Creating metadata with hooks If there is some common metadata accross recipes, it is possible to capture it without modifying the recipes, using hooks. Let’s say that we have a simpler recipe: ") As we can see, this is not using the metadata folders at all. Let’s define now the following hooks: import os from conan.tools.files import copy def post_export(conanfile): conanfile.output.info("post_export")0 码力 | 795 页 | 4.99 MB | 10 月前3Conan 2.7 Documentation
detect different default profiles. • Builtin default implementation of extension points as plugins or hooks can also change with every release. Users can provide their own ones for stability. • Output of packages below. 5.4.2 Creating metadata with hooks If there is some common metadata accross recipes, it is possible to capture it without modifying the recipes, using hooks. Let’s say that we have a simpler recipe: ") As we can see, this is not using the metadata folders at all. Let’s define now the following hooks: import os from conan.tools.files import copy def post_export(conanfile): conanfile.output.info("post_export")0 码力 | 779 页 | 4.93 MB | 10 月前3Conan 2.8 Documentation
detect different default profiles. • Builtin default implementation of extension points as plugins or hooks can also change with every release. Users can provide their own ones for stability. • Output of packages below. 5.4.2 Creating metadata with hooks If there is some common metadata accross recipes, it is possible to capture it without modifying the recipes, using hooks. Let’s say that we have a simpler recipe: ") As we can see, this is not using the metadata folders at all. Let’s define now the following hooks: import os from conan.tools.files import copy def post_export(conanfile): conanfile.output.info("post_export")0 码力 | 785 页 | 4.95 MB | 10 月前3Django CMS 2.1.x Documentation
Plugin Processors modules | index next | 3. App Integration 3.1. Menus 3.2. Attach Menus 3.3. App-Hooks 3.4. Navigation Modifiers 3.5. Custom Plugins 4. API References 4.1. cms.plugin_base 4.2. menus.base your app: 1. Menus Static extend the menu entries 2. AttachMenus Attach your menu to a page. 3. App-Hooks Attach whole apps with optional menu to a page. 4. Navigation Modifiers Modify the whole menu tree described above. A base class for this purpose can be found in cms/utils/navigation.py 3.3. App-Hooks With App-Hooks you can attach whole Django applications to pages. For example you have a news app and you0 码力 | 81 页 | 554.09 KB | 6 月前3Django CMS 2.4.x Documentation
2.5. Storing configuration 2.6. Advanced 3. App Integration 3.1. Menus 3.2. Attach Menus 3.3. App-Hooks 3.4. Navigation Modifiers 3.5. Custom Plugins 4. API References 4.1. cms.api 4.2. cms.constants 4 app: 1. Menus Statically extend the menu entries 2. Attach Menus Attach your menu to a page. 3. App-Hooks Attach whole apps with optional menu to a page. 4. Navigation Modifiers Modify the whole menu tree described above. A base class for this purpose can be found in cms/utils/navigation.py 3.3. App-Hooks With App-Hooks you can attach whole Django applications to pages. For example you have a news app and you0 码力 | 156 页 | 727.78 KB | 6 月前3Django CMS 3.11.10 Documentation
Advanced settings of the CMS pages attaching to this apphook. get_urls() method is what actually hooks the application in, returning a list of URL configurations that will be made active wherever the apphook with explaining how to do things than with helping you understand how it works. Plugins Application hooks (“apphooks”) Publishing Serving content in multiple languages Internationalisation Permissions Search preserve_fields save_as save_on_top search_fields show_full_result_count view_on_site Application hooks (“apphooks”) An Application Hook, usually simply referred to as an apphook, is a way of attaching0 码力 | 493 页 | 1.44 MB | 6 月前0.03Conda 25.1.x Documentation
support for confirmation functions for reporter backends plugin hook. (#14244) • Add new plugin hooks (conda_session_headers and conda_request_headers) to add headers to outgoing HTTP requests. (#14325 non-existent environment. (#14174 via #14199) • Add pre-/post-command hooks to activation subcommands (activate, deactivate, reactivate, hooks, and commands). (#14211 via #14212) • Replace extensions from end packages instead of on all packages. (#11545, #13053) • Add new pre-solves and post-solves plugin hooks. (#13053) • Add support for Python 3.12. (#13072) • Check repodata.json.zst for faster repodata0 码力 | 822 页 | 5.20 MB | 7 月前3Conda 24.11.x Documentation
support for confirmation functions for reporter backends plugin hook. (#14244) • Add new plugin hooks (conda_session_headers and conda_request_headers) to add headers to outgoing HTTP requests. (#14325 non-existent environment. (#14174 via #14199) • Add pre-/post-command hooks to activation subcommands (activate, deactivate, reactivate, hooks, and commands). (#14211 via #14212) • Replace extensions from end packages instead of on all packages. (#11545, #13053) • Add new pre-solves and post-solves plugin hooks. (#13053) • Add support for Python 3.12. (#13072) • Check repodata.json.zst for faster repodata0 码力 | 818 页 | 5.21 MB | 7 月前3
共 80 条
- 1
- 2
- 3
- 4
- 5
- 6
- 8