esp-doxybook


Nameesp-doxybook JSON
Version 0.1.0 PyPI version JSON
download
home_pageNone
SummaryConvert Doxygen XML to a single markdown file for C/C++'
upload_time2023-08-10 07:11:31
maintainerNone
docs_urlNone
authorNone
requires_python>=3.7
licenseNone
keywords doxygen c cpp markdown
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # esp-doxybook

This is a tool that converts Doxygen XML output into a single-file API reference in Markdown format.

## Live Demo

- C Project: https://espressif.github.io/doxybook/c_api/
- C++ Project: https://espressif.github.io/doxybook/cpp_api/

## Requirements

You need to have **python 3.7 or newer** and [Jinja2](http://jinja.pocoo.org/docs/2.10/intro/) package installed.

## Memory usage

Needs up to 100MiB of memory. Parsing super large projects can use up to 0.5GiB of memory. For example, a project consisting of 1000 Doxygen xml files can use 550MiB of memory, but I would be worried more about VuePress or GitBook memory usage while using that many files.

## Installation

**Install using Python Pip: <https://pypi.org/project/esp-doxybook/>**

## Compile the example

```bash
git clone https://github.com/espressif/doxybook.git

cd doxybook

# Install dependencies
python -m venv venv
source venv/bin/activate
pip install flit
flit install -s

# Let's take C project as an example
cd example/c
esp-doxybook -i temp/xml -o ../../docs/c_api.md

# Preview Markdown with MkDocs
cd ../../
mkdocs serve
```

Then go to `http://localhost:8000/c_api/` to see the generated documentation.

## Found a bug or want to request a feature?

[Feel free to do it on GitHub issues](https://github.com/espressif/doxybook/issues)

## Pull requests

[Pull requests are welcome](https://github.com/espressif/doxybook/pulls)

## License

```
MIT License

Copyright (c) 2019 Matus Novak

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Additions Copyright (c) 2022 Espressif Systems (Shanghai) Co. Ltd.
```

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "esp-doxybook",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "Fu Hanxi <fuhanxi@espressif.com>",
    "keywords": "doxygen,c,cpp,markdown",
    "author": null,
    "author_email": "Fu Hanxi <fuhanxi@espressif.com>",
    "download_url": "https://files.pythonhosted.org/packages/45/c3/49af71f57e17e02dbf39ddb66addf8e0c2878912adac1ae0ffd2e9b4e9a3/esp_doxybook-0.1.0.tar.gz",
    "platform": null,
    "description": "# esp-doxybook\n\nThis is a tool that converts Doxygen XML output into a single-file API reference in Markdown format.\n\n## Live Demo\n\n- C Project: https://espressif.github.io/doxybook/c_api/\n- C++ Project: https://espressif.github.io/doxybook/cpp_api/\n\n## Requirements\n\nYou need to have **python 3.7 or newer** and [Jinja2](http://jinja.pocoo.org/docs/2.10/intro/) package installed.\n\n## Memory usage\n\nNeeds up to 100MiB of memory. Parsing super large projects can use up to 0.5GiB of memory. For example, a project consisting of 1000 Doxygen xml files can use 550MiB of memory, but I would be worried more about VuePress or GitBook memory usage while using that many files.\n\n## Installation\n\n**Install using Python Pip: <https://pypi.org/project/esp-doxybook/>**\n\n## Compile the example\n\n```bash\ngit clone https://github.com/espressif/doxybook.git\n\ncd doxybook\n\n# Install dependencies\npython -m venv venv\nsource venv/bin/activate\npip install flit\nflit install -s\n\n# Let's take C project as an example\ncd example/c\nesp-doxybook -i temp/xml -o ../../docs/c_api.md\n\n# Preview Markdown with MkDocs\ncd ../../\nmkdocs serve\n```\n\nThen go to `http://localhost:8000/c_api/` to see the generated documentation.\n\n## Found a bug or want to request a feature?\n\n[Feel free to do it on GitHub issues](https://github.com/espressif/doxybook/issues)\n\n## Pull requests\n\n[Pull requests are welcome](https://github.com/espressif/doxybook/pulls)\n\n## License\n\n```\nMIT License\n\nCopyright (c) 2019 Matus Novak\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\nAdditions Copyright (c) 2022 Espressif Systems (Shanghai) Co. Ltd.\n```\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Convert Doxygen XML to a single markdown file for C/C++'",
    "version": "0.1.0",
    "project_urls": {
        "Source": "https://github.com/espressif/doxybook"
    },
    "split_keywords": [
        "doxygen",
        "c",
        "cpp",
        "markdown"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "190ac793635772eca0bc790e6e8d8673299f781a535ba9a53b050f7e91fb1390",
                "md5": "26e37688eaa2c96a70dcc4ae3df10bc0",
                "sha256": "feb24cef28dc6668bd760324fe5bc855f8948a3ae3524c98e4db5661f0532b41"
            },
            "downloads": -1,
            "filename": "esp_doxybook-0.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "26e37688eaa2c96a70dcc4ae3df10bc0",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 32185,
            "upload_time": "2023-08-10T07:11:29",
            "upload_time_iso_8601": "2023-08-10T07:11:29.715195Z",
            "url": "https://files.pythonhosted.org/packages/19/0a/c793635772eca0bc790e6e8d8673299f781a535ba9a53b050f7e91fb1390/esp_doxybook-0.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "45c349af71f57e17e02dbf39ddb66addf8e0c2878912adac1ae0ffd2e9b4e9a3",
                "md5": "27743e9384dc2a304ddb0d8ddbb79388",
                "sha256": "03e850a3e07cd14425676b3474832026324710668ebfb655c3d9674cb85bdd0a"
            },
            "downloads": -1,
            "filename": "esp_doxybook-0.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "27743e9384dc2a304ddb0d8ddbb79388",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 30053,
            "upload_time": "2023-08-10T07:11:31",
            "upload_time_iso_8601": "2023-08-10T07:11:31.648590Z",
            "url": "https://files.pythonhosted.org/packages/45/c3/49af71f57e17e02dbf39ddb66addf8e0c2878912adac1ae0ffd2e9b4e9a3/esp_doxybook-0.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-08-10 07:11:31",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "espressif",
    "github_project": "doxybook",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "esp-doxybook"
}
        
Elapsed time: 0.09738s