Skip to content

Commit 7388527

Browse files
committed
[Fix] Add some to main_function.
1 parent f72c6ad commit 7388527

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

src/content/docs/cpp/language/main_function.mdx

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import Code from "@astrojs/starlight/components";
99
import Behavior from "@components/Behavior.astro";
1010
import { Decl, DeclDoc } from "@components/decl-doc";
1111
import { DR, DRList } from "@components/defect-report";
12+
import { Desc, DescList, DocLink } from '@components/index';
1213
import Missing from "@components/Missing.astro";
1314
import { ParamDoc, ParamDocList } from "@components/param-doc";
1415
import { Revision } from "@components/revision";
@@ -131,8 +132,16 @@ argv[3] == 0
131132
132133
## References
133134
134-
- C++23 standard (ISO/IEC 14882:2024):
135+
<DeclDoc style="text-align: center;">
136+
<Decl slot="decl">
137+
<div style="text-align: center;">
138+
<strong>Extended Content</strong>
139+
</div>
140+
</Decl>
141+
142+
- C++23 standard (ISO/IEC 14882:2024)
135143
- 6.9.3.1 main function [basic.start.main]
144+
</DeclDoc>
136145
137146
## Defect reports
138147
@@ -175,3 +184,11 @@ The following behavior-changing defect reports were applied retroactively to pre
175184
</Fragment>
176185
</DR>
177186
</DRList>
187+
188+
## See also
189+
190+
<DescList>
191+
<Desc>
192+
<DocLink slot="item" src="/c/language/main_function"> C documentation</DocLink> for <span> **main function** </span>
193+
</Desc>
194+
</DescList>

0 commit comments

Comments
 (0)