This is a sample project to demonstrate the capabilities of the Code-to-Content Generator.
It includes:
- A simple Python application.
- Project metadata in
pyproject.toml. - A command-line tool,
roo.py, for generating content.
The roo.py tool can be used to generate documentation, changelogs, and blog posts from the source code.
To generate documentation, run the following command:
python roo.py generate docsThis will create a generated_docs.md file containing the API documentation.
To generate a changelog, run:
python roo.py generate changelogThis will create a generated_changelog.md file, which will list any new functions added to the project.
To generate a blog post, you can use the following command:
python roo.py generate blogYou can also specify a style for the blog post:
python roo.py generate blog --style technicalThis will create a generated_blog.md file with a blog post about the new features.