Skip to content

csoceanu/upstream-docs-enhancer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

How to Use the Upstream Documentation Enhancer

To use the Upstream Documentation Enhancer, follow these steps:

  1. Add the Enhancer to Your Repository
    Copy the files from the upstream-docs-enhancer repository into your code repository.

  2. Set Up GitHub Actions Secrets
    In your code repository, configure the following secrets:

    • DOCS_REPO_URL: URL of your upstream documentation repository
    • GEMINI_API_KEY: Your Gemini API key
    • GH_PAT: Your GitHub Personal Access Token
    • DOCS_SUBFOLDER (Optional): If your documentation is in a subfolder within the same repository, set this to the relative path from the repository root. For example: docs, content/docs. If documentation is in a separate repository or at the repository root, leave this unset.
  3. Trigger the Pipeline
    Once set up, the enhancer will automatically run when someone comments [update-docs] on a Pull Request (PR). The enhancer will:

    • Analyze the changes
    • Generate documentation suggestions
    • Open a new PR in your upstream documentation repository with the proposed updates

About

Upstream Documentation Enhancer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages