Skip to content

Commit 46c6698

Browse files
authored
docs: Copy-edit headings a bit (react-bootstrap#5191)
1 parent 59b1fce commit 46c6698

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

www/src/components/SideNav.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,10 @@ function NavSection({ heading, location: { pathname }, items, path }) {
172172
{items.map((name) => (
173173
<Nav.Item key={`${path}/${name}/`}>
174174
<TocSubLink href={`${path}/${name}/`}>
175-
{startCase(name.toLowerCase())}
175+
{startCase(name.toLowerCase()).replace(
176+
'React Bootstrap',
177+
'React-Bootstrap',
178+
)}
176179
</TocSubLink>
177180
</Nav.Item>
178181
))}

www/src/pages/components/forms.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ export default withLayout(function FormControlsSection({ data }) {
245245
<ReactPlayground codeText={ValidationNative} />
246246

247247
<LinkedHeading h="3" id="forms-validation-libraries">
248-
Form libraries and server rendered styles.
248+
Form libraries and server-rendered styles
249249
</LinkedHeading>
250250
<p>
251251
It's often beneficial (especially in React) to handle form validation

www/src/pages/getting-started/theming.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export default withLayout(function ThemingSection() {
1111
return (
1212
<>
1313
<LinkedHeading h="1" id="custom-styles">
14-
Theming and Customizing styles.
14+
Theming and customizing styles
1515
</LinkedHeading>
1616

1717
<p>

www/src/pages/getting-started/why-react-bootstrap.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import DismissibleControlled from '../../examples/Alert/DismissibleControlled';
22
import ReactPlayground from '../../components/ReactPlayground';
33

4-
# Why React-bootstrap?
4+
# Why React-Bootstrap?
55
React-Bootstrap is a complete re-implementation of the
66
Bootstrap components using React. It has **no dependency
77
on either `bootstrap.js` or jQuery.** If you have React

0 commit comments

Comments
 (0)