Skip to main content

Documentation assistant will proof read your docs

Project description

Breba Docs · PyPI version

AI documentation validator

workflow

Features

Scans your documentation file and executes commands in the documentation to make sure that it is possible to follow the documentation.

Getting Started

Prerequisites

Docker engine needs to be installed and running. Use docker installation instructions for your system.

Get an OpenAI API Key and set environment variable like this:

export OPENAI_API_KEY=[your_open_ai_api_key]

Install and Run

To install and run breba-docs, run the following commands:

pip install breba-docs
breba-docs new sample_proj
cd sample_proj
breba-docs run

Then you will need to provide location of a documentation file. For example: sample_project/sample.md

The software will then analyze the documentation and run the commands found in the documentation inside a docker container with python installed.

The AI will then provide feedback regarding how it was able to follow the instructions.

Features

  • Create a New Project:
    Run breba-docs new to set up a new project with:

    • data directory
    • prompts directory
    • config.yaml file containing project and model configuration
  • Run the Project:
    Run breba-docs run to load and display your project's configuration.

    When providing a path to file, that file will be copied to the data directory.

    When using a github url, the repo will be cloned inside the data directory.

    The software will then analyze the documentation and run the commands found in the documentation

    Commands will be run inside a docker container with python installed.

    Commands to fix the documentation will run against the documentation in the data directory.

Contributing

For contributing to the project, please refer to Contribution Guide.

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

breba_docs-0.4.0.tar.gz (17.5 kB view details)

Uploaded Source

Built Distribution

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

breba_docs-0.4.0-py3-none-any.whl (25.9 kB view details)

Uploaded Python 3

File details

Details for the file breba_docs-0.4.0.tar.gz.

File metadata

  • Download URL: breba_docs-0.4.0.tar.gz
  • Upload date:
  • Size: 17.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for breba_docs-0.4.0.tar.gz
Algorithm Hash digest
SHA256 33a2d728f94cb9209baae1d16e7daa0f5f17b4814e6e06e930b85bbdadd6cd86
MD5 1db20720793c7fddfc5a635af7602e5d
BLAKE2b-256 6261fb7bc4f3050bd957982db8137904f5aca0c923bf3fd2b0f0cf83f06b4c8a

See more details on using hashes here.

Provenance

The following attestation bundles were made for breba_docs-0.4.0.tar.gz:

Publisher: manual_release.yaml on breba-apps/breba-docs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file breba_docs-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: breba_docs-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 25.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for breba_docs-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0f809b0c25e310dfaff9b342d977c1fcae7c362fa964c9f0843b60380eda8110
MD5 748567a47286f69c185d47b49334ab92
BLAKE2b-256 b6a00af9e89741b1d023a73e6d9b90707f80d2c9666da15eb7e1b3635631054e

See more details on using hashes here.

Provenance

The following attestation bundles were made for breba_docs-0.4.0-py3-none-any.whl:

Publisher: manual_release.yaml on breba-apps/breba-docs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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