https://github.com/speedie1337/docpp
C++17 library for generating HTML, CSS and SGML-like documents.
https://github.com/speedie1337/docpp
c-plus-plus cpp cpp17 cross-platform css html lgplv3 library modern-cpp oop sgml stl wrapper xml
Last synced: 6 months ago
JSON representation
C++17 library for generating HTML, CSS and SGML-like documents.
- Host: GitHub
- URL: https://github.com/speedie1337/docpp
- Owner: speedie1337
- License: lgpl-3.0
- Created: 2024-10-27T15:13:52.000Z (12 months ago)
- Default Branch: master
- Last Pushed: 2024-10-27T15:14:54.000Z (12 months ago)
- Last Synced: 2024-10-27T17:17:53.527Z (12 months ago)
- Language: C++
- Size: 355 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# docpp

C++17 library for generating HTML, CSS and SGML-like documents.
## Features
- HTML and CSS document generation and deserialization
- Sensible indentation for pretty-formatting.
- Modern C++ API
- No dependencies, other than the standard library
- Windows, macOS, Linux and *BSD support
- LGPL license## Not yet implemented
- HTML/CSS serialization (parsing from e.g. file)
## Installation
To install the library, you can utilize the provided CMakeLists.txt file:
```sh
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
cmake --build .
cmake --install . --prefix /usr
```This will install the library to /usr/lib and the headers to /usr/include/docpp.
```sh
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
cmake --build .
makepkg -si
```## Usage
Just include the appropriate headers in your project and link against the library.
If you are not sure which header(s) are appropriate, you can include all of them by
including docpp.hpp. Examples can be found in the examples directory.## Contributing
See [CONTRIBUTING.md](CONTRIBUTING.md) for details on how to contribute to this project.
## License
This project is licensed under the GNU Lesser General Public License v3.0 - see the [LICENSE](LICENSE) file for details.
## Code of Conduct
None. Just don't blow up my house. And, don't ask me to rewrite it in Rust.