Convert PDFs to interactive eBooks rendered using Material for MkDocs.
-
Clone the repository:
git clone https://github.com/Ananya2003Gupta/EBookGenerator
-
Navigate to the repository directory:
cd EBookGenerator
-
Create a Python virtual environment:
python -m venv env
-
Activate the virtual environment:
-
On Windows:
env\Scripts\activate
-
On macOS and Linux:
source env/bin/activate
-
-
Install the required dependencies:
pip install -r requirements.txt
-
Run the main script to test the example:
python main.py
-
Navigate to the ebookgenerator directory:
cd ebookgenerator
-
Execute the below command to render ebook
mkdocs serve
The process of converting PDFs to Markdown files was implemented using the guidance provided in this article.