π’ CI Dokumentor is an automated documentation generator for CI/CD components
Complete documentation is available at: hoverkraft-tech.github.io/ci-dokumentor
- π Getting Started - Installation and quick start
- π¦ Packages - Package documentation
- π³ Docker - Docker integration guide
- π§ GitHub Action - GitHub Actions integration
- π¨βπ» Contributing - How to contribute
npx ci-dokumentor /path/to/ci-cd/component.yml
CI Dokumentor is available as a Docker image that provides a lightweight, containerized way to generate documentation for your CI/CD components.
# Show available options
docker run --rm ghcr.io/hoverkraft-tech/ci-dokumentor:latest --help
# Generate documentation from CI/CD file
docker run --rm -v $(pwd):/workspace ghcr.io/hoverkraft-tech/ci-dokumentor:latest \
/workspace/.github/workflows/ci.yml --output /workspace/docs
- name: Generate CI Documentation
uses: docker://ghcr.io/hoverkraft-tech/ci-dokumentor:latest
with:
args: '.github/workflows/ci.yml --output docs'
generate-docs:
stage: docs
image: ghcr.io/hoverkraft-tech/ci-dokumentor:latest
script:
- ci-dokumentor .gitlab-ci.yml --output docs
artifacts:
paths:
- docs/
func (m *MyModule) GenerateDocs(ctx context.Context, source *dagger.Directory) *dagger.Directory {
return dag.Container().
From("ghcr.io/hoverkraft-tech/ci-dokumentor:latest").
WithMountedDirectory("/workspace", source).
WithWorkdir("/workspace").
WithExec([]string{"ci-dokumentor", ".github/workflows/ci.yml", "--output", "docs"}).
Directory("docs")
}
π Full Documentation: See docker/README.md for complete Docker usage guide, troubleshooting, and advanced configurations.
π If you wish to contribute to CI Dokumentor, PRs are welcome! Please read our Contributing Guide for detailed instructions on:
- Setting up the development environment
- Running tests and linting
- Submitting pull requests
- Code conventions and architecture
π€ Hoverkraft
- Site: https://hoverkraft.cloud
- GitHub: @hoverkraft-tech
Copyright Β© 2020 Hoverkraft.
This project is MIT licensed.