Skip to main content

A documentation generator using Gemini and MkDocs.

Project description

Meowdoc

Meowdoc is a tool to generate documentation so that you don't have to :3. Read the documentation to find more!

Getting Started

This section provides a quick overview of how to get started with meowdoc.

Installation

pip install meowdoc

Usage

make a config.toml file.

[main]
mkdocs_dir = "docs"
docs_dir_name = "docs"
input_path = "meowdoc" # or any directory such as `src/`
create_mkdocs = false

[project]
name = "Meowdoc"
description = "Meow! Meowdoc is a tool to generate documentation so that you don't have to :3. Read the documentation to find more!"
repo_url = "https://github.com/re-masashi/meowdoc"

[ignore]
patterns = [
    ".venv",
    "venv",
    "node_modules",
    ".git",
    "__pycache__",
    ".env",
    "requirements.txt"
]

[llm]
provider = "gemini"  # Options: gemini, openai, ollama, etc.
api_key_file = "secrets/gemini_api_key.txt"  # Path to the file containing the API key
# base_url = "http://localhost:11434"  # Required for Ollama
model = "gemini-2.0-flash-exp"  # Model name

Then run

python -m meowdoc.cli

You should see your docs succesfully created Then, run

cd docs # or the folder of ur docs
mkdocs serve

Contributing to Meowdoc

We welcome contributions to Meowdoc! Whether you're fixing a bug, adding a new feature, improving documentation, or suggesting ideas, we appreciate your help. Please take a moment to review this guide before contributing.

How to Contribute

Here are several ways you can contribute to Meowdoc:

  • Report Bugs: If you find a bug, please open an issue on its GitHub issue tracker. Be as descriptive as possible, including steps to reproduce the bug, the expected behavior, and the actual behavior.

  • Suggest Features: Have an idea for a new feature? Open an issue on its GitHub issue tracker and describe your suggestion in detail. Explain why you think this feature would be valuable and how it could be implemented.

  • Improve Documentation: Good documentation is crucial. If you find errors, omissions, or areas where the documentation could be improved, please submit a pull request with your suggested changes.

  • Submit Code: We encourage you to submit code contributions to fix bugs or add new features. Please follow the guidelines below.

Coding Style

We adhere to the following coding style guidelines:

  • Python: We follow the PEP 8 style guide. Use flake8 and black to format your code. Pre-commit should catch most style violations.
  • [Other Languages/Frameworks Used]: (Describe coding style for other relevant languages or frameworks)

Conventional Commits

We use the Conventional Commits specification for commit messages. This helps us automate releases and generate changelogs.

A commit message should be structured as follows:

<type>(<scope>): <description>

[optional body]

[optional footer(s)]

Examples:

  • feat(ui): add dark mode toggle
  • fix(auth): prevent unauthorized access
  • docs: update contributing guidelines
  • chore: update dependencies
  • test: add unit tests for parser
  • ci: configure github actions

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

meowdoc-0.1.0.tar.gz (31.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

meowdoc-0.1.0-py3-none-any.whl (13.5 kB view details)

Uploaded Python 3

File details

Details for the file meowdoc-0.1.0.tar.gz.

File metadata

  • Download URL: meowdoc-0.1.0.tar.gz
  • Upload date:
  • Size: 31.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.32.3

File hashes

Hashes for meowdoc-0.1.0.tar.gz
Algorithm Hash digest
SHA256 bb7d1f881992e0fb95d1526fe143022a61acc47b1fe95dce788b5b9cff501ce3
MD5 b4cec4b0bff9b13218d6b953c9701d56
BLAKE2b-256 685207a1c450505d73bfee3d78edebb906c3d20ba890ece564eff98135f8138e

See more details on using hashes here.

File details

Details for the file meowdoc-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: meowdoc-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 13.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.32.3

File hashes

Hashes for meowdoc-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d2dbdff73890b2f292a43cd0faace7d38b80c9180545a9f82fd129c3583d5a24
MD5 dee82b12b5ed93f02c8eb39427a8042c
BLAKE2b-256 41491908e1cf139823de29076d44a61af667b09b37ef116b1ce5fd90a2b036ca

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page