Skip to content

Commit

Permalink
Merge pull request #8868 from poorna2152/customizing_formatting
Browse files Browse the repository at this point in the history
Add page for formatting customization
  • Loading branch information
anupama-pathirage committed Apr 29, 2024
2 parents 2bd0b8b + 2bdcc91 commit ef7f50a
Show file tree
Hide file tree
Showing 4 changed files with 433 additions and 1 deletion.
8 changes: 8 additions & 0 deletions components/learn/boxes/Boxes.js
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,14 @@ export default function Boxes(props) {
</p>
<p className={styles.description}>Best practices to follow when formatting Ballerina code.</p>
</div>
<div className={styles.content}>
<p className={styles.title}>
<a href={`${prefix}/learn/customize-formatting`} className={styles.titleLink}>
Customize formatting
</a>
</p>
<p className={styles.description}>Provide custom formatting options to Ballerina formatter.</p>
</div>
</div>
</div>
</div>
Expand Down
4 changes: 4 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,10 @@ const nextConfig = {
source: `/${redirectBase}learn/package-references`,
destination: `/${redirectBase}learn/development-tutorials/source-code-dependencies/package-references`,
},
{
source: `/${redirectBase}learn/customize-formatting`,
destination: `/${redirectBase}learn/development-tutorials/source-code-dependencies/customize-formatting`,
},
{
source: `/${redirectBase}learn/cli-commands/`,
destination: `/${redirectBase}learn/development-tutorials/build-and-run/cli-commands/`,
Expand Down

0 comments on commit ef7f50a

Please sign in to comment.