Skip to content

Latest commit

 

History

History
62 lines (42 loc) · 1.18 KB

README.md

File metadata and controls

62 lines (42 loc) · 1.18 KB

EBook Generator

Convert PDFs to interactive eBooks rendered using Material for MkDocs.

Setup

  1. Clone the repository:

    git clone https://github.com/Ananya2003Gupta/EBookGenerator
  2. Navigate to the repository directory:

    cd EBookGenerator
  3. Create a Python virtual environment:

    python -m venv env
  4. Activate the virtual environment:

    • On Windows:

      env\Scripts\activate
    • On macOS and Linux:

      source env/bin/activate
  5. Install the required dependencies:

    pip install -r requirements.txt
  6. Run the main script to test the example:

    python main.py
  7. Navigate to the ebookgenerator directory:

     cd ebookgenerator
  8. Execute the below command to render ebook

     mkdocs serve

PDF to Markdown Generation

The process of converting PDFs to Markdown files was implemented using the guidance provided in this article.