Skip to content

Conversation

Mpdreamz
Copy link
Member

@Mpdreamz Mpdreamz commented Mar 4, 2025

Add docs-lambda-index-publisher project that we publish as a lambda bootstrap binary that can run on an vanilla Amazon Linux 2023 without any dependencies.

For now this PR only includes manual build steps, will ensure this builds as part of releases and gets attached as binary to releases in a follow up PR.

The merges are out of whack on this PR 😭 but Squash & Merge should get rid of the noise.

Mpdreamz and others added 30 commits February 24, 2025 18:32
* Add `free-disk-space` input

* Use exact commit
* On ci skip if /docs folder has no docset.yml silently

* skip false not in finally

* Add log message
* Add latest header design and adjust pages navigation

* Fix unintended merge changes

* fix

* Pass markdownparser to directive html renderer

* Change feature flag from UpperCamelCase to kebab-case

* Update docs/_docset.yml

* Refactor feature flags

---------

Co-authored-by: Martijn Laarman <[email protected]>
* Add smoke test

* fix
* Add latest header design and adjust pages navigation

* Fix unintended merge changes

* fix

* Pass markdownparser to directive html renderer

* Change feature flag from UpperCamelCase to kebab-case

* Update docs/_docset.yml

* Refactor feature flags

* Fix case where targetUrl is null or empty

* Revert Commands.cs

* Don't fail-fast on matrix

* Handle the case where there is no root index.md file

* Fix

* test

* ok

* fix

* Fix

---------

Co-authored-by: Martijn Laarman <[email protected]>
* Add first-page-path output and use it in preview build workflow

* Refactor

* Add to test

* Fix smoke test

* Refactor

* Fix

* Fix smoke test

* Fix output name in usage and add output to action.yml

* Refactor smoke-tests
Mpdreamz and others added 15 commits March 4, 2025 13:38
Update command to be rooted to `docs-assembler inbound-links <command>`
Moved the "create-index" command from InboundLinkCommands to a new LinkRegistryCommands class for better modularity and maintainability. Updated program registration to include the new LinkRegistryCommands module and renamed the command to "update" for clarity.
…`docs-assembler`) (#651)

* Ensure inbound links validation skips docset.yml declared repositories validation

* Add warning that link links to repository not in yet in the registry

* Add better errors to docs-builder to (link to links.json file)
* Add mobile navigations

* Remove landing-page feature toggle
…s into docs build process (#666)

* Move detection-rules support behind an extension system

* Move EnabledExtensions to Configuration

* add untracked files

* Add documentation for extensions

* Add more extensions points to isolate the DetectionRule extension further

* Isolate file scanning in DocumentationSet

* Do a ful parse
@Copilot Copilot AI review requested due to automatic review settings March 4, 2025 13:05
@Mpdreamz Mpdreamz self-assigned this Mar 4, 2025
@Mpdreamz Mpdreamz requested a review from a team March 4, 2025 13:06
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

PR Overview

This PR introduces multiple improvements and updates across workflows, documentation, and tooling. Key changes include the addition and update of several GitHub Actions for CI/CD (e.g. smoke tests, preview builds, reference index updates), refinements in the diagnostics logging for improved clarity, and documentation updates including content-set extensions and links syntax.

Reviewed Changes

File Description
.github/workflows/smoke-test.yml Added smoke test workflow with multi-repository configuration
docs/configure/content-set/extensions.md Added new documentation page for content set extensions
actions/update-reference-index/action.yml Introduced an action to update the reference index
src/Elastic.Documentation.Tooling/Diagnostics/Console/ErrataFileSourceRepository.cs Renamed ambiguous variables and updated guard clause logic
action.yml Added new outputs for landing-page-path and skip hints
.github/workflows/preview-build.yml Updated conditions and added free-disk-space input and additional steps
actions/validate-inbound-local/action.yml Updated command for inbound link validation
.github/workflows/preview-cleanup.yml Added an Update Reference Index step
docs/index.md Updated front-matter for improved navigation
src/Elastic.Documentation.Tooling/Diagnostics/Log.cs Added null coalescing default value for diagnostic line
src/Elastic.Documentation.Tooling/Diagnostics/Console/ConsoleDiagnosticsCollector.cs Introduced state-check to prevent redundant stop logic
docs/_docset.yml Introduced primary-nav feature flag and updated TOC
docs/syntax/links.md Added a note about cross-repo link path requirements

Copilot reviewed 98 out of 98 changed files in this pull request and generated 1 comment.

@Mpdreamz Mpdreamz merged commit 3f26583 into main Mar 4, 2025
8 checks passed
@Mpdreamz Mpdreamz deleted the feature/publish-links-index-lamdba branch March 4, 2025 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants