Skip to content

Conversation

@kubabuczak
Copy link
Collaborator

@kubabuczak kubabuczak commented Nov 17, 2025

Description

This PR enhances the Splunk Operator documentation infrastructure by introducing a Jekyll-based documentation site with GitHub Pages support and a preview workflow for documentation changes.

Key Changes

GitHub Actions & Jekyll Setup

- Added docs-preview.yml workflow for automatic documentation preview in PRs
- Created docs/_config.yml for Jekyll site configuration (theme, search, navigation)
- Added docs/Gemfile for Ruby/Jekyll dependencies and docs/.gitignore for build artifacts

Documentation Structure

  • Moved README.md from root to consolidated documentation in docs/ directory
  • Significantly reorganized docs/README.md for better navigation and clarity
  • Created new docs/GettingStarted.md with comprehensive onboarding guide (208 lines)

Documentation Updates

  • Added Jekyll front matter to 27 documentation files for proper site navigation and organization
  • Enhanced existing docs with better structure for deployment, health checks, and security sections

Testing and Verification

  • Added make commands for previewing changes
  • Jekyll site builds successfully locally with bundle exec jekyll serve
  • Documentation preview workflow triggers on pull requests targeting documentation files
  • All documentation pages include proper front matter for Jekyll processing
  • Navigation and search functionality work as expected
  • GitHub Pages site structure follows best practices

Related Issues

CSPL-4237

PR Checklist

  • Code changes adhere to the project's coding standards.
  • Relevant unit and integration tests are included. (N/A - documentation only)
  • Documentation has been updated accordingly.
  • All tests pass locally. (N/A - documentation only)
  • The PR description follows the project's guidelines.

- Introduced a GitHub Actions workflow for previewing documentation changes.
- Added configuration files for Jekyll-based documentation site.
- Created a .gitignore file for the docs directory to exclude build artifacts.
- Updated multiple documentation files with front matter for better organization and navigation.
- Enhanced existing documentation with additional sections on deployment, health checks, and security considerations.
@kubabuczak kubabuczak marked this pull request as draft November 17, 2025 11:15
@kubabuczak kubabuczak changed the base branch from main to develop November 17, 2025 11:15
@kubabuczak kubabuczak marked this pull request as ready for review November 17, 2025 11:18
Copy link
Collaborator

@patrykw-splunk patrykw-splunk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@kubabuczak kubabuczak marked this pull request as draft November 17, 2025 17:51
@kubabuczak
Copy link
Collaborator Author

Converted to draft, because the github action I added probably won't work - need to check it again

- Added permission for pull-requests to the workflow.
- Implemented a step to comment the preview URL on pull requests after deployment.
@coveralls
Copy link
Collaborator

coveralls commented Nov 19, 2025

Pull Request Test Coverage Report for Build 19504519773

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.02%) to 86.552%

Totals Coverage Status
Change from base Build 19427516711: 0.02%
Covered Lines: 10710
Relevant Lines: 12374

💛 - Coveralls

@coveralls
Copy link
Collaborator

Pull Request Test Coverage Report for Build 19500733178

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 86.536%

Totals Coverage Status
Change from base Build 19427516711: 0.0%
Covered Lines: 10708
Relevant Lines: 12374

💛 - Coveralls

- Adjusted concurrency group to remove fallback to run_id.
- Added environment configuration for GitHub Pages deployment.
- Removed conditional check for commenting preview URL on pull requests.
It wasn't working properly (it was overwriting published page)
…ate Examples.md with kubectl command for decoding secrets.

This enhances the development workflow for documentation and provides clearer instructions for users.
@kubabuczak kubabuczak marked this pull request as ready for review November 19, 2025 14:05
@splunk splunk deleted a comment from github-actions bot Nov 19, 2025
@kubabuczak
Copy link
Collaborator Author

Decided to remove workflow for preview, as it's not working as expected.
Instead I added make command for previewing locally the changes

Currently published page: https://splunk.github.io/splunk-operator/
New one:

image image

@kubabuczak kubabuczak merged commit fd79d9d into develop Nov 20, 2025
34 of 46 checks passed
@kubabuczak kubabuczak deleted the CSPL-4237-improve-github-page branch November 20, 2025 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants