mkdocs_macros_plugin | Create richer and more beautiful pages

 by   fralau Python Version: v0.5.0 License: Non-SPDX

kandi X-RAY | mkdocs_macros_plugin Summary

kandi X-RAY | mkdocs_macros_plugin Summary

mkdocs_macros_plugin is a Python library typically used in Utilities, Ansible, Gatsby, Jekyll applications. mkdocs_macros_plugin has no bugs, it has no vulnerabilities, it has build file available and it has low support. However mkdocs_macros_plugin has a Non-SPDX License. You can install using 'pip install mkdocs_macros_plugin' or download it from GitHub, PyPI.

mkdocs-macros-plugin is a plugin that makes it easier for contributors of an MkDocs website to produce richer and more beautiful pages. It transforms the markdown pages into jinja2 templates that use variables, calls to macros and custom filters. You can also partially replace MkDocs plugins with mkdocs-macros modules, and pluglets (pre-installed modules).
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              mkdocs_macros_plugin has a low active ecosystem.
              It has 197 star(s) with 40 fork(s). There are 5 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 8 open issues and 87 have been closed. On average issues are closed in 48 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of mkdocs_macros_plugin is v0.5.0

            kandi-Quality Quality

              mkdocs_macros_plugin has 0 bugs and 4 code smells.

            kandi-Security Security

              mkdocs_macros_plugin has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              mkdocs_macros_plugin code analysis shows 0 unresolved vulnerabilities.
              There are 1 security hotspots that need review.

            kandi-License License

              mkdocs_macros_plugin has a Non-SPDX License.
              Non-SPDX licenses can be open source with a non SPDX compliant license, or non open source licenses, and you need to review them closely before use.

            kandi-Reuse Reuse

              mkdocs_macros_plugin releases are available to install and integrate.
              Deployable package is available in PyPI.
              Build file is available. You can build the component from source.
              Installation instructions, examples and code snippets are available.
              mkdocs_macros_plugin saves you 252 person hours of effort in developing the same functionality from scratch.
              It has 613 lines of code, 62 functions and 10 files.
              It has high code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed mkdocs_macros_plugin and discovered the below as its top functions. This is intended to give you an instant insight into mkdocs_macros_plugin implemented functionality, and help decide if they suit your requirements.
            • Called when the config is loaded
            • Load a Python module
            • Log a formatted trace
            • Recursively update two dicts
            • Load modules
            • Define the environment
            • Fix urls
            • Return whether the given URL is relative
            • Format a value
            • Render markdown
            • Start watcher
            • Recursively update a dictionary
            Get all kandi verified functions for this library.

            mkdocs_macros_plugin Key Features

            No Key Features are available at this moment for mkdocs_macros_plugin.

            mkdocs_macros_plugin Examples and Code Snippets

            No Code Snippets are available at this moment for mkdocs_macros_plugin.

            Community Discussions

            Trending Discussions on mkdocs_macros_plugin

            QUESTION

            mkdocs: Using a custom python module to complement a plugin
            Asked 2018-Jul-02 at 15:26

            I would like to write a plugin for mkdocs that allows to add a file of custom python code. Here is an example of plugin.

            I would like to put the module in the website's main dir, alongside the mkdocs.yml file, and declare that module in there, e.g.:

            ...

            ANSWER

            Answered 2018-Jun-25 at 17:40

            The answer depends on which version of MkDocs you are using. In #1376 the path was added to the config object as the attribute config.config_file_path. However, that won't be available until the next release (1.0). Regardless, earlier versions include an undocumented config option config['config_file_path'] which holds the location of the file. Be careful however, as any undocumented features are subject to change without notice.

            As for the location of the Markdown file, that is available in various attributes of the page object passed to the plugin event. You have your pick of page.input_path, page.output_path, page.abs_input_path, and page.abs_output_path. Again, these are undocumented and subject to change in a future release without notice. In fact, #1504 proposes changing them to page.file.src_path, page.file.dest_path, page.file.abs_src_path, and page.file.abs_dest_path for the 1.0 release. But that's the risk in working against pre-1.0 software. Things change as the developers try to get it right. The good news is that the 1.0 release will lock these things down going forward.

            Full disclosure: I am a member of the MkDocs development team.

            Source https://stackoverflow.com/questions/51012689

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install mkdocs_macros_plugin

            To install the extra dependencies required for testing the package, run:.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries

            Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular Python Libraries

            public-apis

            by public-apis

            system-design-primer

            by donnemartin

            Python

            by TheAlgorithms

            Python-100-Days

            by jackfrued

            youtube-dl

            by ytdl-org

            Try Top Libraries by fralau

            mkdocs-mermaid2-plugin

            by fralauPython

            xmlshow

            by fralauShell

            repackage

            by fralauPython

            mkdocs-macros-test

            by fralauShell