Skip to content

Commit fd79d9d

Browse files
authored
Merge pull request #1615 from splunk/CSPL-4237-improve-github-page
CSPL-4237 improve GitHub page - 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.
2 parents b311250 + 9a23c8f commit fd79d9d

35 files changed

+599
-359
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ tags
8282
.yq_script.yaml
8383
Gopkg.lock
8484
vendor/
85+
.bundle/
8586
push_targets
8687
splunk-enterprise.lic
8788
splunk-operator-*.yaml

Makefile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,15 @@ test: manifests generate fmt vet envtest ## Run tests.
139139
KUBEBUILDER_ASSETS="$(shell $(ENVTEST) use ${ENVTEST_K8S_VERSION} --bin-dir $(LOCALBIN) -p path)" ginkgo --junit-report=unit_test.xml --output-dir=`pwd` -vv --trace --keep-going --timeout=3h --cover --covermode=count --coverprofile=coverage.out ./pkg/splunk/common ./pkg/splunk/enterprise ./pkg/splunk/client ./pkg/splunk/util ./internal/controller ./pkg/splunk/splkcontroller
140140

141141

142+
##@ Documentation
143+
144+
docs-preview: ## Preview documentation locally with Jekyll (requires Ruby and bundler)
145+
@echo "Installing dependencies locally..."
146+
@cd docs && bundle config set --local path 'vendor/bundle' && bundle config set --local deployment 'false' && bundle install
147+
@echo "Starting Jekyll server for documentation preview..."
148+
@cd docs && bundle exec jekyll serve --livereload
149+
@echo "Documentation available at http://localhost:4000/splunk-operator"
150+
142151
##@ Build
143152

144153
build: setup/ginkgo manifests generate fmt vet ## Build manager binary.

README.md

Lines changed: 0 additions & 166 deletions
This file was deleted.

docs/.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
_site/
2+
.bundle/
3+
Gemfile.lock

docs/AppFramework.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
---
2+
title: App Framework
3+
parent: Operate & Manage
4+
nav_order: 2
5+
---
6+
7+
18
# App Framework Resource Guide
29

310
- [About App Framework](#about-app-framework)
@@ -1647,4 +1654,4 @@ INFO initAndCheckAppInfoStatus Apps List retrieved from remote storage {"control
16471654
Keep in mind that based on the `appsRepoStatusPollIntervalSeconds`, it might take some time for the apps to get updated. Please wait the required amount of time for the app framework to poll the latest versions from storage.
16481655

16491656
### App is not correctly copying to pod
1650-
If an app is packaged on a Mac, there might be issues extracting the contents on the running pod. If there are issues installing apps that were packaged manually, ensure that they can be extracted in a Linux environment before uploading it to the remote storage.
1657+
If an app is packaged on a Mac, there might be issues extracting the contents on the running pod. If there are issues installing apps that were packaged manually, ensure that they can be extracted in a Linux environment before uploading it to the remote storage.

docs/BiasLanguageMigration.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
---
2+
title: Bias Language Migration
3+
parent: Reference
4+
nav_order: 4
5+
---
6+
7+
18
# FAQ - Biased Language Migration
29

310

0 commit comments

Comments
 (0)