Summary: Restyle of page, including changes to spelling, grammar, links, and structure (where relevant). This title of the page has changed as there will be a new section called 'Contributing to the Documentation' Reviewed By: lblasa Differential Revision: D37003755 fbshipit-source-id: bc2412e371c941e87e25429fe801f4c3e7148f9c
46 lines
1.5 KiB
Plaintext
46 lines
1.5 KiB
Plaintext
---
|
|
id: contributing
|
|
title: Contributing to the Codebase
|
|
---
|
|
import useBaseUrl from '@docusaurus/useBaseUrl';
|
|
|
|
This page contains information that helps you make contributions to the Flipper codebase.
|
|
|
|
## Changelog Entries
|
|
|
|
A changelog dialog is displayed when a new version of Flipper is started for the first time. It can also be seen by clicking on the button next to the version number in the 'Welcome' screen.
|
|
|
|
<img alt="The changelog dialog in Flipper" src={useBaseUrl("img/changelog.png")} />
|
|
|
|
The content is automatically generated during the release process. You should always include a changelog entry if there is a user-visible change in your commit.
|
|
|
|
To contribute a message, include a note in the body of your commit like in example below.
|
|
|
|
:::note
|
|
Unlike other blocks that Phabricator expects (such as 'Summary' and 'Test Plan'), the changelog can only be a single line. The spelling is not case-sensitive.
|
|
:::
|
|
|
|
```bash
|
|
[layout] Add Unicorn support
|
|
|
|
Summary:
|
|
Finally, the moment we've all been waiting for: Unicorn support!
|
|
|
|
Changelog: Unicorns can be inspected in the Layout Plugin
|
|
|
|
Test Plan:
|
|
...
|
|
```
|
|
|
|
<FbInternalOnly>
|
|
|
|
For internal-only changes, prefix your line with `Facebook Changelog:`.
|
|
|
|
Entries made this way will only show up in internal builds.
|
|
|
|
</FbInternalOnly>
|
|
|
|
### Implementation
|
|
|
|
You can find the code for the changelog generation in [desktop/scripts/generate-changelog.js](https://github.com/facebook/flipper/blob/main/desktop/scripts/generate-changelog.js).
|