Files
apis.cardplayersunited.com/docs/readme.md

58 lines
1.7 KiB
Markdown
Raw Normal View History

2026-02-19 00:45:05 -05:00
# Lorem Ipsum Ebook Starter
2026-02-09 11:06:47 -05:00
2026-02-19 00:45:05 -05:00
This repository is a professional boilerplate for creating searchable, high-quality ebooks and documentation sites using **MkDocs**. It is pre-configured to support local development via Docker and automated PDF generation.
2026-02-09 11:06:47 -05:00
2026-02-19 00:45:05 -05:00
![Lorem Ipsum Ebook](cover.png)
2026-02-09 11:06:47 -05:00
2026-02-19 00:45:05 -05:00
## 🚀 Features
2026-02-09 11:06:47 -05:00
2026-02-19 00:45:05 -05:00
* **Documentation Site**: Powered by MkDocs with the `readthedocs` theme.
2026-02-09 11:06:47 -05:00
2026-02-19 00:45:05 -05:00
* **PDF Export**: Built-in support for generating professional PDF versions of your content.
2026-02-09 11:06:47 -05:00
2026-02-19 00:45:05 -05:00
* **Dockerized**: Simple deployment and local testing using Docker Compose.
2026-02-09 11:06:47 -05:00
2026-02-19 00:45:05 -05:00
* **Syntax Highlighting**: Pre-configured for YAML and Rust.
2026-02-09 11:06:47 -05:00
2026-02-19 00:45:05 -05:00
* **Custom Styling**: Integrated CSS support for branding and layout adjustments.
2026-02-09 11:06:47 -05:00
2026-02-19 00:45:05 -05:00
## 📂 Project Structure
2026-02-09 11:06:47 -05:00
2026-02-19 00:45:05 -05:00
* `pages/`: Contains the Markdown source files for your ebook.
2026-02-09 11:06:47 -05:00
2026-02-19 00:45:05 -05:00
* `pdf/`: The output directory for generated PDF files (ignored by git).
2026-02-09 11:06:47 -05:00
2026-02-19 00:45:05 -05:00
* `mkdocs.yml`: The main configuration file for project metadata, themes, and plugins.
2026-02-09 11:06:47 -05:00
2026-02-19 00:45:05 -05:00
* `compose.yaml`: Defines the Docker services for serving the site locally.
2026-02-09 11:06:47 -05:00
2026-02-19 00:45:05 -05:00
* `compose.bash`: A helper script to quickly rebuild and restart the Docker environment.
2026-02-09 11:06:47 -05:00
2026-02-19 00:45:05 -05:00
## 🛠️ Getting Started
2026-02-09 11:06:47 -05:00
2026-02-19 00:45:05 -05:00
### Prerequisites
2026-02-09 11:06:47 -05:00
2026-02-19 00:45:05 -05:00
* Docker and Docker Compose installed on your machine.
### Local Development
To launch the project locally and view your ebook in a browser:
1. Run the setup script:
```bash
./compose.bash
[cite_start]``` [cite: 31744]
```
2. Access the site at `http://localhost:8000`.
## PDF Generation
The project uses the `to-pdf` plugin to automatically generate a document titled `lorem-ipsum-101.pdf`. Ensure your assets (like `assets/images/cover.jpg`) are in place to include a cover page in the export.
## 📄 License
This project is licensed under the Apache License, Version 2.0.