Skip to content

Commit 5f037b9

Browse files
Remove documentation website files (#7915)
This commit removes the documentation website files, which have been migrated to the main documentation repository. It also includes some changes to configuration files that are redundant, such as removing the deployment action from the repository. Some configuration changes have been left in place for context, and there will likely be some future follow up work to re-integrate certain automations as part of enhancements to the documentation repository. --- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 31e9d13 commit 5f037b9

File tree

148 files changed

+9
-17760
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

148 files changed

+9
-17760
lines changed

.fossa.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,3 @@ targets:
44
- type: setuptools
55
paths:
66
exclude:
7-
- site

.github/workflows/ci.yml

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ jobs:
3535
id-token: write
3636
outputs:
3737
docs_only: ${{ github.event.pull_request && steps.docs.outputs.docs_only == 'true' }}
38-
some_docs: ${{ github.event.pull_request && steps.docs.outputs.some_docs == 'true' }}
3938
k8s_latest: "1.32.0"
4039
go_path: ${{ steps.vars.outputs.go_path }}
4140
go_code_md5: ${{ steps.vars.outputs.go_code_md5 }}
@@ -60,20 +59,14 @@ jobs:
6059
- name: Filter only docs changes
6160
id: docs
6261
run: |
63-
files=$(git diff --name-only HEAD^ | egrep -v "^site/" | egrep -v "^examples/" | egrep -v "^README.md")
64-
docs_files=$(git diff --name-only HEAD^ | grep "^site/")
62+
files=$(git diff --name-only HEAD^ | egrep -v "^examples/" | egrep -v "^README.md")
63+
docs_files=$(git diff --name-only HEAD^)
6564
if [ -z "$files" ]; then
6665
echo "docs_only=true" >> $GITHUB_OUTPUT
6766
else
6867
echo "docs_only=false" >> $GITHUB_OUTPUT
6968
fi
7069
71-
if [ -n "$docs_files" ]; then
72-
echo "some_docs=true" >> $GITHUB_OUTPUT
73-
else
74-
echo "some_docs=false" >> $GITHUB_OUTPUT
75-
fi
76-
7770
echo $files
7871
echo $docs_files
7972
cat $GITHUB_OUTPUT
@@ -210,10 +203,6 @@ jobs:
210203
make telemetry-schema && git diff --name-only --exit-code internal/telemetry
211204
if: ${{ needs.checks.outputs.binary_cache_hit != 'true' }}
212205

213-
- name: Check if make docs builds
214-
if: ${{ needs.checks.outputs.some_docs == 'true' }}
215-
run: cd site && make docs-ci
216-
217206
unit-tests:
218207
name: Unit Tests
219208
runs-on: ubuntu-22.04

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
- name: Filter only docs changes
3636
id: docs
3737
run: |
38-
files=$(git diff --name-only HEAD^ | egrep -v "^site/" | egrep -v "^examples/" | egrep -v "^README.md")
38+
files=$(git diff --name-only HEAD^ | egrep -v "^examples/" | egrep -v "^README.md")
3939
if [ -z "$files" ]; then
4040
echo "docs_only=true" >> $GITHUB_OUTPUT
4141
else

.github/workflows/dependabot-hugo.yml

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

.github/workflows/docs-build-push.yml

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

.github/workflows/fossa.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ on:
55
branches:
66
- main
77
paths-ignore:
8-
- "site/**"
98
- "examples/**"
109
- "**.md"
1110

.github/workflows/mend.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ on:
66
- main
77
- release-*
88
paths-ignore:
9-
- site/**
109
- examples/**
1110
workflow_dispatch:
1211
inputs:

.gitignore

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,6 @@ default.pem
4949
# Platform specific CRD schema generation scripts
5050
hack/controller-gen-*
5151

52-
# Ignore local docs dependencies
53-
venv/
54-
site/public
55-
site/themes/f5-hugo
56-
5752
# trivy container scanning cache
5853
.trivycache/
5954

.markdownlint-cli2.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ noBanner: true
1616
# Define glob expressions to ignore
1717
ignores:
1818
- ".github/**"
19-
- "site/**" # Ignore docs folder for now
2019
- "docs/**" # Ignore developer docs folder
2120

2221
# Fix any fixable errors

.pre-commit-config.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
# See https://pre-commit.com for more information
22
# See https://pre-commit.com/hooks.html for more hooks
3-
exclude: (^site/_vendor/|.*pb2.*)
3+
exclude: (^_vendor/|.*pb2.*)
44
repos:
55
- repo: https://github.com/pre-commit/pre-commit-hooks
66
rev: v5.0.0
77
hooks:
88
- id: trailing-whitespace
99
exclude: '(\.md|\.jwt|\.snap|\.avdl)$'
1010
- id: end-of-file-fixer
11-
exclude: (site/layouts/shortcodes/nic-.*.html|\.jwt)
1211
- id: check-yaml
1312
args: [--allow-multiple-documents]
1413
exclude: ^(charts/nginx-ingress/templates)

0 commit comments

Comments
 (0)