Skip to content

Commit f66aa52

Browse files
refactor: align page path under cpp/ with cppreference
1 parent ef20ba0 commit f66aa52

File tree

4 files changed

+3
-4
lines changed

4 files changed

+3
-4
lines changed

src/content/docs/cpp/language/basic/_meta.yml

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/content/docs/cpp/language/basic/index.mdx renamed to src/content/docs/cpp/language/basic_concepts.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { Revision } from "@components/revision";
1212

1313
This section provides definitions for the specific terminology and the concepts used when describing the C++ programming language.
1414

15-
A C++ program is a sequence of text files (typically header and source files) that contain <Missing>declarations</Missing>. They undergo <Missing>translation</Missing> to become an executable program, which is executed when the C++ implementation calls its <DocLink dest="cpp.lang.main">main function</DocLink>.
15+
A C++ program is a sequence of text files (typically header and source files) that contain <Missing url="">declarations</Missing>. They undergo <Missing>translation</Missing> to become an executable program, which is executed when the C++ implementation calls its <DocLink dest="cpp.lang.main">main function</DocLink>.
1616

1717
Certain words in a C++ program have special meaning, and these are known as <Missing>keywords</Missing>. Others can be used as <Missing>identifiers</Missing>. <Missing>Comments</Missing> are ignored during translation. C++ programs also contain <Missing>literals</Missing>, the values of characters inside them are determined by <Missing>character sets and encodings</Missing>. Certain characters in the program have to be represented with <Missing>escape sequences</Missing>.
1818

File renamed without changes.

src/content/docs/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ hero:
88
file: ../../assets/cpp-logo.svg
99
actions:
1010
- text: Reference
11-
link: /cpp/language/basic
11+
link: /cpp/language/basic_concepts
1212
variant: primary
1313
icon: right-arrow
1414
- text: GitHub Repository
@@ -22,7 +22,7 @@ banner:
2222
import { LinkCard, CardGrid } from '@astrojs/starlight/components';
2323

2424
<CardGrid>
25-
<LinkCard title="C++ Language Reference" href="/cpp/language/basic" />
25+
<LinkCard title="C++ Language Reference" href="/cpp/language/basic_concepts" />
2626
<LinkCard title="C++ Library Reference" href="/cpp/library" />
2727
<LinkCard title="C Language Reference" href="/c/language/basic" />
2828
<LinkCard title="C Library Reference" />

0 commit comments

Comments
 (0)