-
Notifications
You must be signed in to change notification settings - Fork 31
feature/publish links index lamdba #668
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
* 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]>
This reverts commit 8edd22a.
* 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
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
There was a problem hiding this 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.
Co-authored-by: Jan Calanog <[email protected]>
Add
docs-lambda-index-publisher
project that we publish as a lambdabootstrap
binary that can run on an vanillaAmazon 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.