π¦ indexMD β Markdown-Based Documentation Generator¶
A lightweight documentation generator powered by MkDocs and custom scripts to automate README-based documentation deployment.
π Full Documentation β Wiki¶
Need step-by-step guides on installation, usage, customization, or contributions?
Explore the official project Wiki for complete technical documentation:
β‘οΈ View the Wiki
π€ π Maintained and regularly updated for all user levels: beginners, contributors, and advanced users.
Features¶
- π Markdown-based documentation
- π¦ MkDocs for static site generation
- π Custom HTML overrides
- π Customizable themes and styles
- π Multi-section support (About, Contact, Privacy, Termsβ¦)
- π Important links section
Clone the Repository¶
To get started, clone this repository to your local machine using Git:
git clone https://github.com/TamerOnline/indexMD.git
cd indexMD
- Make sure you have Git installed: https://git-scm.com
π½οΈ Quick Clone of the indexMD repository in action
Quick Start¶
Create Virtual Environment¶
# Windows
py -3.12 -m venv venv
.\venv\Scripts\Activate
π½οΈ Quick setup of indexMD on Windows in action
# macOS / Linux
python3 -m venv venv
source venv/bin/activate
Optional: Upgrade pip (recommended)¶
Before installing dependencies, it's recommended to upgrade pip
to the latest version to avoid compatibility issues.
python -m pip install --upgrade pip
π½οΈ Upgrading pip on Windows (recommended)
Install Dependencies¶
pip install -r requirements.txt
π½οΈ Quick install of the index MD Tools in action
indexMD Control Panel¶
py cli.py
π§ A simple yet powerful command-line interface to manage your documentation workflow easily:
Build, Prepare, Serve, Deploy, or just Check version β all in one menu!
CLI Options Explained¶
Option | Description |
---|---|
1. Build Documentation |
Generates the static site using mkdocs build . |
2. Prepare README |
Converts the README.md into index.md for homepage. |
3. Serve Locally |
Launches a local dev server using mkdocs serve . |
4. Deploy |
Deploys the site to GitHub Pages using mkdocs gh-deploy . |
5. Check Version |
Displays current versions of key tools like MkDocs. |
6. Exit |
Exits the CLI interface. |
Project Structure¶
The following is the structure of the main project directory:
./
βββ π docs/
β βββ π sections/
β β βββ about.md
β β βββ contact.md
β β βββ important-links.md
β β βββ privacy.md
β β βββ terms.md
β βββ π stylesheets/
β β βββ extra.css
β βββ index.md
βββ π overrides/
β βββ π partials/
β βββ footer.html
β βββ header.html
βββ .gitignore
βββ LICENSE
βββ README.md
βββ build_all.py
βββ cli.py
βββ mkdocs.yml
βββ prepare_docs.py
βββ requirements.txt
π¦ Install via pip (coming soon)¶
This project will soon be available on PyPI for easy installation.
Once published, you will be able to install it using:
```bash pip install indexmd