rngen is a Python project that converts a Committed Backlog document, extracted from a Google Doc in markdown format using the "Docs To Markdown" extension, into Release Notes.
To use rngen, you need to have Python and pipenv installed on your system. Follow these steps to get started:
-
Clone the rngen repository from GitHub:
git clone https://github.com/kimjisena/rngen.git
-
Navigate to the rngen directory:
cd rngen
-
Install the required dependencies using pipenv:
pipenv install
-
Copy
.env.example
to.env
and add your OpenAI API key
usage: main.py [-h] -i INPUT -o OUTPUT
Process input files and generate output files.
options:
-h, --help show this help message and exit
-i INPUT, --input INPUT
Path to the input directory
-o OUTPUT, --output OUTPUT
Path to the output directory
-
Ensure that you have the Committed Backlog document in markdown format, extracted from a Google Doc using the "Docs To Markdown" extension. Save the document(s) anywhere in your filesystem.
-
Activate the virtual environment:
pipenv shell
-
Run the
main.py
script to convert the Committed Backlog document to Release Notes:For instance:
python src/main.py -i ./inputs -o ./outputs
-
After the script finishes executing, the Release Notes will be generated and saved as
output.md
in theoutputs
directory.
Note: You can modify the input document by replacing the content of input.md
in the inputs
directory with your own Committed Backlog document in markdown format.
If you encounter any issues or have suggestions for improvement, please feel free to open an issue on the rngen GitHub repository. We welcome your feedback and contributions to make this project even better!
- Add support for other input/output formats such as
docx
andpdf