Skip to content

Commit 164dd42

Browse files
authored
Merge branch 'main' into dependabot/npm_and_yarn/src/Elastic.Documentation.Site/tailwindcss-f9011fdf4b
2 parents 5624c96 + 38dad8a commit 164dd42

File tree

80 files changed

+249
-2258
lines changed

Some content is hidden

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

80 files changed

+249
-2258
lines changed

.github/copilot-instructions.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
**ALWAYS reference these instructions first and fallback to search or bash commands only when you encounter unexpected information that does not match the info here.**
44

55
Elastic's distributed documentation tooling system built on .NET 9, consisting of:
6-
- **docs-builder**: CLI tool for building single documentation sets
7-
- **docs-assembler**: CLI tool for assembling multiple doc sets
6+
- **docs-builder**: CLI tool for building single documentation sets or assembling or assembling multiple documentation sets
87
- Written in C# and F# with extensive Markdown processing capabilities
98

109
## Working Effectively
@@ -77,10 +76,10 @@ dotnet run --project src/tooling/docs-builder -- serve
7776
dotnet run --project src/tooling/docs-builder -- --help
7877

7978
# Get help for docs-assembler
80-
dotnet run --project src/tooling/docs-assembler -- --help
79+
dotnet run --project src/tooling/docs-builder -- assemble --help
8180

8281
# Validate assembler configuration - takes 15 seconds
83-
dotnet run --project src/tooling/docs-assembler -c release -- navigation validate
82+
dotnet run --project src/tooling/docs-builder -c release -- assembler navigation validate
8483
```
8584

8685
### Local Development Orchestration
@@ -126,7 +125,6 @@ src/
126125
├── Elastic.Markdown/ # Core Markdown processing engine
127126
├── tooling/
128127
│ ├── docs-builder/ # Main CLI application
129-
│ └── docs-assembler/ # Assembly tool
130128
├── Elastic.Documentation.Site/ # Web rendering components (TypeScript/CSS)
131129
└── Elastic.Documentation.Configuration/ # Configuration handling
132130
@@ -142,7 +140,7 @@ config/ # YAML configuration files
142140

143141
### Adding New Features
144142
- **Markdown Extensions**: Add to `src/Elastic.Markdown/Myst/`
145-
- **CLI Commands**: Extend `src/tooling/docs-builder/Cli/` or `docs-assembler/Cli/`
143+
- **CLI Commands**: Extend `src/tooling/docs-builder/Commands/`
146144
- **Web Components**: Add to `src/Elastic.Documentation.Site/`
147145
- **Configuration**: Modify `src/Elastic.Documentation.Configuration/`
148146

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ jobs:
2727
uses: ./.github/actions/bootstrap
2828

2929
- name: Validate Navigation
30-
run: dotnet run --project src/tooling/docs-assembler -c release -- navigation validate
30+
run: dotnet run --project src/tooling/docs-builder -c release -- assembler navigation validate
3131

3232
- name: Validate Content Sources
33-
run: dotnet run --project src/tooling/docs-assembler -c release -- content-source validate
33+
run: dotnet run --project src/tooling/docs-builder -c release -- assembler content-source validate
3434

3535
build-link-index-updater-lambda:
3636
uses: ./.github/workflows/build-link-index-updater-lambda.yml

.github/workflows/preview-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ jobs:
456456
)
457457
)
458458
run: |
459-
dotnet run --project src/tooling/docs-assembler -- navigation validate-link-reference
459+
dotnet run --project src/tooling/docs-builder -- assembler navigation validate-link-reference
460460
461461
- uses: elastic/docs-builder/.github/actions/aws-auth@main
462462
if: >

.github/workflows/release.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,14 +167,12 @@ jobs:
167167
with:
168168
subject-path: |
169169
.artifacts/publish/docs-builder/release/*.zip
170-
.artifacts/publish/docs-assembler/release/*.zip
171170
172171
- name: Attach Distribution to release
173172
env:
174173
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
175174
run: |
176175
gh release upload ${{ needs.release-drafter.outputs.tag_name }} .artifacts/publish/docs-builder/release/*.zip
177-
gh release upload ${{ needs.release-drafter.outputs.tag_name }} .artifacts/publish/docs-assembler/release/*.zip
178176
shell: bash
179177

180178
publish-release:

AGENTS.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ This file contains instructions and guidance for AIs when working with the docs-
66

77
This is Elastic's distributed documentation tooling system built on .NET 9, consisting of:
88

9-
- **docs-builder**: CLI tool for building single documentation sets
10-
- **docs-assembler**: CLI tool for assembling multiple doc sets
9+
- **docs-builder**: CLI tool for building documentation sets (either individual or assembled)
1110
- Written in C# and F# with extensive Markdown processing capabilities
1211

1312
## Essential commands
@@ -50,7 +49,6 @@ dotnet test --logger "console;verbosity=detailed"
5049

5150
- `src/Elastic.Markdown/` - Core Markdown processing engine
5251
- `src/tooling/docs-builder/` - Main CLI application
53-
- `src/tooling/docs-assembler/` - Assembly tool
5452
- `src/Elastic.Documentation.Site/` - Web rendering components
5553

5654
### Testing Structure
@@ -70,7 +68,7 @@ dotnet test --logger "console;verbosity=detailed"
7068
### Adding New Features
7169

7270
1. **Markdown Extensions**: Add to `src/Elastic.Markdown/Myst/`
73-
2. **CLI Commands**: Extend `src/tooling/docs-builder/Cli/` or `docs-assembler/Cli/`
71+
2. **CLI Commands**: Extend `src/tooling/docs-builder/Commands/`
7472
3. **Web Components**: Add to `src/Elastic.Documentation.Site/`
7573
4. **Configuration**: Modify `src/Elastic.Documentation.Configuration/`
7674

@@ -99,7 +97,7 @@ You MUST update the documentation when there are changes in the markdown syntax
9997

10098
## Useful file locations
10199

102-
- Entry points: `src/tooling/docs-builder/Program.cs`, `src/tooling/docs-assembler/Program.cs`
100+
- Entry points: `src/tooling/docs-builder/Program.cs`
103101
- Markdown processing: `src/Elastic.Markdown/Myst/`
104102
- Web assets: `src/Elastic.Documentation.Site/Assets/`
105103
- Configuration schemas: `src/Elastic.Documentation.Configuration/`

Directory.Packages.props

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
<PackageVersion Include="Amazon.Lambda.SQSEvents" Version="2.2.0" />
2222
<PackageVersion Include="Aspire.Hosting" Version="9.5.2" />
2323
<PackageVersion Include="Aspire.Hosting.Testing" Version="9.4.2" />
24-
<PackageVersion Include="AWSSDK.Core" Version="4.0.1.2" />
25-
<PackageVersion Include="AWSSDK.SQS" Version="4.0.0.1" />
24+
<PackageVersion Include="AWSSDK.Core" Version="4.0.1.3" />
25+
<PackageVersion Include="AWSSDK.SQS" Version="4.0.2" />
2626
<PackageVersion Include="AWSSDK.S3" Version="4.0.7.14" />
2727
<PackageVersion Include="Elastic.OpenTelemetry" Version="1.1.0" />
2828
<PackageVersion Include="OpenTelemetry.Instrumentation.AspNetCore" Version="1.12.0" />
@@ -42,14 +42,14 @@
4242
<!-- Build -->
4343
<ItemGroup>
4444
<PackageVersion Include="Argu" Version="6.2.5" />
45-
<PackageVersion Include="Bullseye" Version="5.0.0" />
45+
<PackageVersion Include="Bullseye" Version="6.0.0" />
4646
<PackageVersion Include="Proc.Fs" Version="0.9.1" />
4747
<PackageVersion Include="Fake.Tools.Git" Version="6.1.3" />
4848
<PackageVersion Include="Fake.IO.Zip" Version="6.1.3" />
4949
<PackageVersion Include="FSharp.Core" Version="9.0.202" />
5050
</ItemGroup>
5151
<ItemGroup>
52-
<PackageVersion Include="ConsoleAppFramework" Version="5.4.1" PrivateAssets="all" IncludeAssets="runtime; build; native; contentfiles; analyzers; buildtransitive" />
52+
<PackageVersion Include="ConsoleAppFramework" Version="5.6.2" PrivateAssets="all" IncludeAssets="runtime; build; native; contentfiles; analyzers; buildtransitive" />
5353
<PackageVersion Include="ConsoleAppFramework.Abstractions" Version="5.4.1" />
5454
<PackageVersion Include="Crayon" Version="2.0.69" />
5555
<PackageVersion Include="DotNet.Glob" Version="3.1.3" />

README.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,9 @@
44

55
Distributed documentation tooling for a distributed company.
66

7-
This repository is host to:
8-
97
* *`docs-builder`* command line tool to generate single doc-sets
10-
* *`docs-assembler`* command line tool to assemble all the doc sets.
118

12-
Both get distributed [as native OSX, Linux and Windows binaries for several CPU architectures.](#installation)
9+
Distributed [as native OSX, Linux and Windows binaries for several CPU architectures.](#installation)
1310

1411
The documentation files:
1512
* are written in common Markdown with [Additional syntax extensions](https://docs-v3-preview.elastic.dev/elastic/docs-builder/tree/main/syntax/) to produce a richer writing and reading experience.
@@ -23,7 +20,7 @@ This tool builds each repository in isolation and in addition produces a full ma
2320
Each time a repository successfully builds on its respective main integration branch, our automation will publish its links.json file.
2421
For example, [Elasticsearch's links.json](https://elastic-docs-link-index.s3.us-east-2.amazonaws.com/elastic/elasticsearch/main/links.json) representing all linkable resources in the Elasticsearch repository.
2522

26-
The `docs-assembler` tool then assembles all the repositories in the [link-registry](https://elastic-docs-link-index.s3.us-east-2.amazonaws.com/link-index.json) using their last known good commit.
23+
The `docs-builder assemble` command then assembles all the repositories in the [link-registry](https://elastic-docs-link-index.s3.us-east-2.amazonaws.com/link-index.json) using their last known good commit.
2724

2825
This allows us to:
2926

@@ -58,8 +55,7 @@ Install [.NET 9.0](https://dotnet.microsoft.com/en-us/download/dotnet/9.0), then
5855
After which the locally built binaries will be available at:
5956

6057
* **docs-builder**: `./.artifacts/publish/docs-builder/release/docs-builder`
61-
* **docs-assembler**: `./.artifacts/publish/docs-assembler/release/docs-assembler`
62-
58+
6359
## Getting Started
6460

6561
Our [Documentation](https://docs-v3-preview.elastic.dev/elastic/docs-builder/tree/main/contribute/locally) is the best place to learn how to start using the tool locally.

actions/assembler-config-validate/action.yml

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

actions/assembler-match/action.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ outputs:
2727

2828
runs:
2929
using: 'docker'
30-
image: "docker://ghcr.io/elastic/docs-assembler:edge"
31-
env:
32-
INPUT_COMMAND: "content-source match"
30+
image: "docker://ghcr.io/elastic/docs-builder:edge"
31+
args:
32+
- "assembler"
33+
- "content-source"
34+
- "match"

actions/assembler/action.yml

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

0 commit comments

Comments
 (0)