From 90af3566d05c196ad2e96f4a5e5c871600b20d1b Mon Sep 17 00:00:00 2001 From: Anderson Queiroz Date: Mon, 4 Nov 2024 15:44:57 +0100 Subject: [PATCH] wip --- .buildkite/scripts/build_pr.sh | 2 +- conf.yaml | 50 ---------------------------------- doc_build_aliases.sh | 2 -- 3 files changed, 1 insertion(+), 53 deletions(-) diff --git a/.buildkite/scripts/build_pr.sh b/.buildkite/scripts/build_pr.sh index 55340a499e7f..659ae3197e7b 100755 --- a/.buildkite/scripts/build_pr.sh +++ b/.buildkite/scripts/build_pr.sh @@ -79,7 +79,7 @@ if [[ "${GITHUB_PR_BASE_REPO}" != 'docs' ]]; then "beats") git fetch origin "$GITHUB_PR_TARGET_BRANCH" - docs_diff=$(git diff --stat "origin/$GITHUB_PR_TARGET_BRANCH"...HEAD -- ./auditbeat ./CHANGELOG.asciidoc ./docs ./filebeat ./heartbeat ./journalbeat ./libbeat/docs ./libbeat/outputs/*/docs/* ./libbeat/processors/*/docs/* ./metricbeat ./packetbeat ./topbeat/docs ./winlogbeat ./x-pack/auditbeat ./x-pack/dockerlogbeat/docs ./x-pack/filebeat/docs ./x-pack/filebeat/processors/*/docs/* ./x-pack/functionbeat ./x-pack/libbeat/docs ./x-pack/libbeat/processors/*/docs/* ./x-pack/metricbeat/module) + docs_diff=$(git diff --stat "origin/$GITHUB_PR_TARGET_BRANCH"...HEAD -- ./auditbeat ./CHANGELOG.asciidoc ./docs ./filebeat ./heartbeat ./journalbeat ./libbeat/docs ./libbeat/outputs/*/docs/* ./libbeat/processors/*/docs/* ./metricbeat ./packetbeat ./topbeat/docs ./winlogbeat ./x-pack/auditbeat ./x-pack/dockerlogbeat/docs ./x-pack/filebeat/docs ./x-pack/filebeat/processors/*/docs/* ./x-pack/libbeat/docs ./x-pack/libbeat/processors/*/docs/* ./x-pack/metricbeat/module) ;; "clients-team") diff --git a/conf.yaml b/conf.yaml index ed151d184966..af7fa3c9d76c 100644 --- a/conf.yaml +++ b/conf.yaml @@ -2274,56 +2274,6 @@ contents: repo: elasticsearch-js-legacy path: docs - - title: Functionbeat Reference - noindex: 1 - prefix: en/beats/functionbeat - current: *stackcurrent - index: x-pack/functionbeat/docs/index.asciidoc - branches: [ {main: master}, 8.x, 8.16, 8.15, 8.14, 8.13, 8.12, 8.11, 8.10, 8.9, 8.8, 8.7, 8.6, 8.5, 8.4, 8.3, 8.2, 8.1, 8.0, 7.17, 7.16, 7.15, 7.14, 7.13, 7.12, 7.11, 7.10, 7.9, 7.8, 7.7, 7.6, 7.5, 7.4, 7.3, 7.2, 7.1, 7.0, 6.8, 6.7, 6.6, 6.5 ] - chunk: 1 - tags: Functionbeat/Reference - respect_edit_url_overrides: true - subject: Functionbeat - sources: - - - repo: beats - path: x-pack/functionbeat - - - repo: beats - path: x-pack/functionbeat/docs - - - repo: beats - path: CHANGELOG.asciidoc - - - repo: beats - path: libbeat/docs - - - repo: beats - path: libbeat/processors/*/docs/* - exclude_branches: *beatsProcessorExclude - - - repo: beats - path: x-pack/libbeat/processors/*/docs/* - exclude_branches: [ 7.6, 7.5, 7.4, 7.3, 7.2, 7.1, 7.0, 6.8, 6.7, 6.6, 6.5, 6.4, 6.3, 6.2, 6.1, 6.0, 5.6, 5.5, 5.4, 5.3, 5.2, 5.1, 5.0, 1.3, 1.2, 1.1, 1.0.1 ] - - - repo: beats - path: libbeat/outputs/*/docs/* - exclude_branches: *beatsOutputExclude - - - repo: docs - path: shared/versions/stack/{version}.asciidoc - - - repo: docs - path: shared/attributes.asciidoc - - - repo: beats - path: x-pack/libbeat/docs - exclude_branches: *beatsXpackLibbeatExclude - - - repo: beats - path: filebeat/docs - exclude_branches: [ 7.10, 7.9, 7.8, 7.7, 7.6, 7.5, 7.4, 7.3, 7.2, 7.1, 7.0, 6.8, 6.7, 6.6, 6.5, 6.4, 6.3, 6.2, 6.1, 6.0, 5.6, 5.5, 5.4, 5.3, 5.2 ] - - title: Getting Started noindex: 1 prefix: en/elastic-stack-get-started diff --git a/doc_build_aliases.sh b/doc_build_aliases.sh index 698c298018e4..5ff80afe2d3c 100644 --- a/doc_build_aliases.sh +++ b/doc_build_aliases.sh @@ -166,8 +166,6 @@ alias docbldabx='$GIT_HOME/docs/build_docs --respect_edit_url_overrides --doc $G alias docbldab=docbldabx -alias docbldfnb='$GIT_HOME/docs/build_docs --respect_edit_url_overrides --doc $GIT_HOME/beats/x-pack/functionbeat/docs/index.asciidoc --chunk 1' - alias docbldjb='$GIT_HOME/docs/build_docs --respect_edit_url_overrides --doc $GIT_HOME/beats/journalbeat/docs/index.asciidoc --chunk 1' # Fleet and Elastic Agent guide