-
Notifications
You must be signed in to change notification settings - Fork 32
Update our README.md and introduce CONTRIBUTING.md #1781
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
Merged
Merged
Changes from 8 commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
256314a
Update our README.md and introduce CONTRIBUTING.md
Mpdreamz bede176
touchups
Mpdreamz dd54b13
touchups
Mpdreamz e6eb8bc
touchups
Mpdreamz cc0c479
touchups
Mpdreamz e7d5b4f
touchups
Mpdreamz 7aeacfe
touchups
Mpdreamz 51224a6
touchups
Mpdreamz 3e1ebcd
Update CONTRIBUTING.MD
Mpdreamz File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,74 @@ | ||
| # Contributing | ||
|
|
||
| ## Prerequisites | ||
|
|
||
| - [.NET 9.0 SDK](https://dotnet.microsoft.com/en-us/download/dotnet/9.0) | ||
| - [Node.js 22.13.1 (LTS)](https://nodejs.org/en/blog/release/v22.13.1) | ||
| - [Aspire 9.4.1](https://learn.microsoft.com/en-us/dotnet/aspire/) | ||
| ```bash | ||
| dotnet workload install aspire | ||
| ``` | ||
|
|
||
| ## Validate the fully assembled documentation | ||
|
|
||
| ```bash | ||
| dotnet run --project aspire | ||
| ``` | ||
|
|
||
| Will spin up all our services and clone and build all the documentation sets. | ||
|
|
||
| ```markdown | ||
| dotnet run --project aspire -- --assume-cloned --skip-private-repositories | ||
| ``` | ||
|
|
||
| `--asume-cloned` will assume a documentation set set is already cloned if available locally. | ||
|
|
||
| `--skip-private-repositories` will skip cloning private repositories. It will also inject our `docs-builder docs into the | ||
| navigation. This allows us to validate new features' effect on the assembly process. | ||
|
|
||
| Our [Integration Tests](./tests-integration/Elastic.Assembler.IntegrationTests) use this exact command to validate the | ||
| assembler builds. | ||
|
|
||
| ## Continuously build all assets during development. | ||
|
|
||
| ```shell | ||
| ./build.sh watch | ||
| ``` | ||
|
|
||
| This will monitor code, cshtml template files & static files and reload the application | ||
| if any changes. | ||
|
|
||
| Web assets are reloaded through `parcel watch` and don't require a recompilation. | ||
|
|
||
| Markdown files are refreshed automatically through livereload | ||
|
|
||
| Code or layout changes will relaunch the server automatically | ||
|
|
||
| # Release Process | ||
|
|
||
| This section outlines the process for releasing a new version of this project. | ||
|
|
||
| ## Versioning | ||
|
|
||
| This project uses [Semantic Versioning](https://semver.org/) and its version is | ||
| automatically determined by [release-drafter](https://github.com/release-drafter/release-drafter) | ||
| based on the labels of the pull requests merged into the `main` branch. | ||
|
|
||
| See the [release-drafter configuration](./.github/release-drafter.yml) for more details. | ||
|
|
||
| ## Creating a New Release | ||
|
|
||
| To create a new release trigger the [release](https://github.com/elastic/docs-builder/actions/workflows/release.yml) workflow on the `main` branch. | ||
|
|
||
| Every time a pull request is merged into the `main` branch, release-drafter will | ||
| create a draft release or update the existing draft release in the [Releases](https://github.com/elastic/docs-builder/releases) page. | ||
|
|
||
| To create a new release you need to publish the existing draft release created by release-drafter. | ||
|
|
||
| > [!IMPORTANT] | ||
| > Make sure the [release-drafter workflow](https://github.com/elastic/docs-builder/actions/workflows/release-drafter.yml) is finished before publishing the release. | ||
|
|
||
| > [!NOTE] | ||
| > When a release is published, the [create-major-tag workflow](./.github/workflows/create-major-tag.yml) | ||
| > will force push a new major tag in the format `vX` where `X` is the major version of the release. | ||
| > For example, if the release is `1.2.3` was published, the workflow will force push a new tag `v1` on the same commit. | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.