Skip to content

Commit 18be9a0

Browse files
committed
ICU-23055 Fix broken links in docs
See #3279
1 parent efe7fdd commit 18be9a0

File tree

5 files changed

+41
-43
lines changed

5 files changed

+41
-43
lines changed

docs/userguide/icu/design.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ There are 3 major extensibility elements in ICU:
373373
There are mechanisms available to enhance the built-in error handling when
374374
it is necessary. For example, you can design and create your own conversion
375375
callback functions when an error occurs. Refer to the
376-
[Conversion](conversion/index.md) chapter callback section for more
376+
[Conversion](../conversion/index.md) chapter callback section for more
377377
information.
378378

379379
### Resource Bundle Inheritance Model

docs/userguide/icu/howtouseicu.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,7 @@ Options](../icu4c/build#recommended-build-options)
3535
default simply for compatibility with older ICU-using code.
3636

3737
Starting with ICU 49, the ICU4C Readme has a short section about
38-
[User-Configurable
39-
Settings](../icu4c/build#user-configurable-settings).
38+
[User-Configurable Settings](../icu4c/build#user-configurable-settings).
4039

4140
## C++ Makefiles
4241

@@ -52,7 +51,7 @@ This table shows the package names used within pkg-config.
5251
|icu-uc|Common (uc) and Data (dt/data) libraries|
5352
|icu-i18n|Internationalization (in/i18n) library|icu-le [Layout Engine](../layoutengine/index.md)|
5453
|icu-lx|Paragraph Layout|
55-
|icu-io|[Ustdio](io/ustdio.md)/[iostream](io/ustream.md) library (icuio)
54+
|icu-io|[Ustdio](../io/ustdio.md)/[iostream](../io/ustream.md) library (icuio)
5655

5756
For example, to compile a simple application, you could run the following
5857
command. See the [pkg-config](http://pkg-config.freedesktop.org/) manpage for
@@ -159,8 +158,7 @@ libraries.](../icu4c/build#recommended-build-options))
159158
By default, and only for backward compatibility, the ICU headers contain a line
160159
`using namespace icu_50;` which makes all ICU APIs visible in/with the global
161160
namespace (and potentially collide with non-ICU APIs there). One of the
162-
[Recommended Build
163-
Options](../icu4c/build#recommended-build-options)
161+
[Recommended Build Options](../icu4c/build#recommended-build-options)
164162
is to turn this off.
165163

166164
To write forward declarations, use
@@ -189,7 +187,7 @@ samples. Their paths are given in the installed `Makefile.inc` (see above).
189187

190188
### Data Packaging Settings
191189

192-
The `pkgdata` tool (see [Packaging ICU4C](../icu4c/packaging/index.md) ) makes use of the
190+
The `pkgdata` tool (see [Packaging ICU4C](../icu4c/packaging.md)) makes use of the
193191
installed file `**$(prefix)/lib/icu/pkgdata.inc**` to set parameters for data
194192
packaging operations that require use of platform compilers and linkers ( in
195193
`static` or `dll` mode). `pkgdata` uses the icu-config script in order to locate

docs/userguide/icu/i18n.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -180,8 +180,8 @@ assumptions components. See a list of topics below:
180180
Numbers and dates are represented in different languages. Do not implement
181181
routines for converting numbers into strings, and do not call low-level system
182182
interfaces like `sprintf()` that do not produce language-sensitive results.
183-
Instead, see how ICU's [NumberFormat](format_parse/numbers/index.md) and
184-
[DateFormat](format_parse/datetime/index.md) services can be used more
183+
Instead, see how ICU's [NumberFormat](../format_parse/numbers/index.md) and
184+
[DateFormat](../format_parse/datetime/index.md) services can be used more
185185
effectively.
186186

187187
#### Messages
@@ -190,8 +190,8 @@ Be careful when formulating assumptions about how individual pieces of text are
190190
used together to create a complete sentence (for example, when error messages
191191
are generated). The elements might go together in a different order if the
192192
message is translated into a new language. ICU provides
193-
[MessageFormat](format_parse/messages/index.md) (§) and
194-
[ChoiceFormat](format_parse/messages/index.md) (§) to help with these
193+
[MessageFormat](../format_parse/messages/index.md) (§) and
194+
[ChoiceFormat](../format_parse/messages/index.md) (§) to help with these
195195
occurrences.
196196

197197
> :point_right: **Note**: There also might be situations where parts of the sentence change when other
@@ -206,7 +206,7 @@ the representation of $1,000 dollars. This amount can represent either U.S. or
206206
Canadian dollar values. US dollars can be displayed as USD while Canadian
207207
dollars can be displayed as CAD, depending on the locale. In this case, the
208208
displayed numerical quantity might change, and the number itself might also
209-
change. [NumberFormat](format_parse/numbers/index.md) provides some support for
209+
change. [NumberFormat](../format_parse/numbers/index.md) provides some support for
210210
this.
211211

212212
#### Alphabetical Order of Characters
@@ -222,15 +222,15 @@ Not all languages interpret the same characters as equivalent. If a character's
222222
case is changed it is not always a one-to-one mapping. Accent differences, the
223223
presence or absence of certain characters, and even spelling differences might
224224
be insignificant when determining whether two strings are equal. The
225-
[Collator](collation/index.md) services provide significant help in this area.
225+
[Collator](../collation/index.md) services provide significant help in this area.
226226

227227
#### Characters
228228

229229
A character does not necessarily correspond to a single code-point position in
230230
the backing store. All languages might not have the same definition of a word,
231231
and might not find that any group of characters separated by a white space is an
232232
acceptable approximation for the definition of a word. ICU provides the
233-
[BreakIterator](boundaryanalysis/index.md) services to help locate boundaries or
233+
[BreakIterator](../boundaryanalysis/index.md) services to help locate boundaries or
234234
when counting units of text.
235235

236236
When checking characters for membership in a particular class, do not list the

docs/userguide/icu/posix.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,15 +97,15 @@ character and string literals.
9797
ICU always processes Unicode text. Unicode covers all languages and allows safe
9898
hard coding of character codes, in addition to providing many standard or
9999
recommended algorithms and a lot of useful character property data. See the
100-
chapters about [Unicode Basics](unicode.md) and [Strings](strings/index.md) and others.
100+
chapters about [Unicode Basics](unicode.md) and [Strings](../strings/index.md) and others.
101101

102102
ICU uses the 16-bit encoding form of Unicode (UTF-16) for processing, making it
103103
fully interoperable with most Unicode-aware software. See [UTF-16 for
104104
Processing](http://www.unicode.org/notes/tn12/). In the case of ICU4J, this is
105105
naturally the case because the Java language and the JDK use UTF-16.
106106

107107
ICU uses and/or provides direct access to all of the [Unicode
108-
properties](strings/properties.md) which provide a much finer-grained
108+
properties](../strings/properties.md) which provide a much finer-grained
109109
classification of characters than [C/POSIX character
110110
classes](https://htmlpreview.github.io/?https://github.com/unicode-org/icu-docs/blob/main/design/posix_classes.html).
111111

@@ -208,7 +208,7 @@ locale's respective character class.
208208
#### ICU
209209

210210
ICU provides locale-independent access to all [Unicode
211-
properties](strings/properties.md) (except Unihan.txt properties), as well as to
211+
properties](../strings/properties.md) (except Unihan.txt properties), as well as to
212212
the POSIX character classes, via functions defined in `uchar.h` and in ICU4J's
213213
`UCharacter` class (see API references) as well as via `UnicodeSet`. The POSIX
214214
character classes are implemented according to the recommendations in UTS #18.
@@ -255,4 +255,4 @@ resembling what `printf()` uses.
255255
ICU number formatting APIs have separate, orthogonal settings for the number
256256
format, which can be selected with a locale ID, and the currency, which is
257257
specified with an ISO code. See the [Formatting
258-
Numbers](format_parse/numbers/index.md) chapter for details.
258+
Numbers](../format_parse/numbers/index.md) chapter for details.

docs/userguide/icu/services.md

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -32,18 +32,18 @@ for a broad range of languages.
3232

3333
ICU provides basic Unicode support for the following:
3434

35-
* [Unicode strings](../strings/index)
35+
* [Unicode strings](../strings/index.md)
3636

3737
ICU includes type definitions for UTF-16 strings and code points. It also
3838
contains many C `u_string` functions and the C++ `UnicodeString` class with many
3939
additional string functions.
4040

41-
* [Unicode properties](../strings/properties)
41+
* [Unicode properties](../strings/properties.md)
4242

4343
ICU includes the C definitions and functions found in `uchar.h` as well as
4444
some macros found in `utf.h`. It also includes the C++ Unicode class.
4545

46-
* [Unicode string iteration](../strings/characteriterator)
46+
* [Unicode string iteration](../strings/characteriterator.md)
4747

4848
In C, ICU uses the macros in `utf.h` for the iteration of strings. In C++, ICU
4949
uses the characterIterator and its subclasses.
@@ -91,7 +91,7 @@ separate file instead of being embedded in the lines of the program.*
9191
### Locales and Services
9292

9393
The interaction between locales and services is fundamental to ICU. Please refer
94-
to [Locales and Services](./locale/index#locales-and-services).
94+
to [Locales and Services](../locale/index#locales-and-services).
9595

9696
### Transliteration
9797

@@ -116,22 +116,22 @@ Date and time routines manage independent date and time functions in
116116
milliseconds since January 1, 1970 (0:00:00.000 UTC). Points in time before then
117117
are represented as negative numbers.
118118

119-
ICU provides the following [classes](../datetime/index) to support calendars and
119+
ICU provides the following [classes](../datetime/index.md) to support calendars and
120120
time zones:
121121

122-
* [`Calendar`](../datetime/calendar/index#calendar)
122+
* [`Calendar`](../datetime/calendar/index.md#calendar)
123123

124124
The abstract superclass for extracting calendar-related attributes from a `Date` value.
125125

126-
* [`GregorianCalendar`](../datetime/calendar/index#gregoriancalendar)
126+
* [`GregorianCalendar`](../datetime/calendar/index.md#gregoriancalendar)
127127

128128
A concrete class for representing a Gregorian calendar.
129129

130-
* [`TimeZone`](../datetime/timezone/index)
130+
* [`TimeZone`](../datetime/timezone/index.md)
131131

132132
An abstract superclass for representing a time zone.
133133

134-
* [`SimpleTimeZone`](../datetime/timezone/index)
134+
* [`SimpleTimeZone`](../datetime/timezone/index.md)
135135

136136
A concrete class for representing a time zone for use with a Gregorian calendar.
137137

@@ -156,7 +156,7 @@ numbers, formatting dates and times, and formatting messages:
156156

157157
#### General Formatting
158158

159-
See [Formatting and Parsing Classes](format_parse/index#formatting-and-parsing-classes) for an introduction to the following:
159+
See [Formatting and Parsing Classes](../format_parse/index.md#formatting-and-parsing-classes) for an introduction to the following:
160160

161161
* `Format`
162162
* `FieldPosition`
@@ -165,49 +165,49 @@ See [Formatting and Parsing Classes](format_parse/index#formatting-and-parsing-c
165165

166166
#### Formatting Numbers
167167

168-
* [`NumberFormat`](../format_parse/numbers/index#formatting-numbers)
168+
* [`NumberFormat`](../format_parse/numbers/index.md#formatting-numbers)
169169
NumberFormat provides the basic fields and methods to format number objects
170170
and number primitives into localized strings and parse localized strings to
171171
number objects.
172172

173-
* [`DecimalFormat`](../format_parse/numbers/index#decimalformat)
173+
* [`DecimalFormat`](../format_parse/numbers/index.md#decimalformat)
174174
DecimalFormat provides the methods used to format number objects and number
175175
primitives into localized strings and parse localized strings into number
176176
objects in base 10.
177177

178-
* [`DecimalFormatSymbols`](../format_parse/numbers/index#decimalformatsymbols)
178+
* [`DecimalFormatSymbols`](../format_parse/numbers/index.md#decimalformatsymbols)
179179
DecimalFormatSymbols is a concrete class used by DecimalFormat to access
180180
localized number strings such as the grouping separators, the decimal
181181
separator, and the percent sign.
182182

183183
#### Formatting Dates and Times
184184

185-
* [`DateFormat`](../format_parse/datetime/index)
185+
* [`DateFormat`](../format_parse/datetime/index.md#dateformat)
186186

187187
`DateFormat` provides the basic fields and methods for formatting date objects
188188
to localized strings and parsing date and time strings to date objects.
189189

190-
* [`SimpleDateFormat`](../format_parse/datetime/index)
190+
* [`SimpleDateFormat`](../format_parse/datetime/index.md#simpledateformat)
191191

192192
`SimpleDateFormat` is a concrete class used to format date objects to
193193
localized strings and to parse date and time strings to date objects using a
194194
`GregorianCalendar`.
195195

196-
* [`DateFormatSymbols`](../format_parse/datetime/index)
196+
* [`DateFormatSymbols`](../format_parse/datetime/index.md#dateformatsymbols)
197197

198198
`DateFormatSymbols` is a concrete class used to access localized date and time
199199
formatting strings, such as names of the months, days of the week, and the
200200
time zone.
201201

202202
#### Formatting Messages
203203

204-
* [`MessageFormat`](../format_parse/messages/index)
204+
* [`MessageFormat`](../format_parse/messages/index.md#messageformat)
205205

206206
`MessageFormat` is a concrete class used to produce a language-specific user
207207
message that contains numbers, currency, percentages, date, time, and string
208208
variables.
209209

210-
* [`ChoiceFormat`](../format_parse/messages/index)
210+
* [`ChoiceFormat`](../format_parse/messages/index.md)
211211

212212
`ChoiceFormat` is a concrete class used to map strings to ranges of numbers
213213
and to handle plural words and name series in user messages.
@@ -247,19 +247,19 @@ associated with base characters (such as 'a' and 'b'), accent marks (such as
247247
ICU provides the following collation classes for sorting and searching natural
248248
language text according to locale-specific rules:
249249

250-
* [`Collator`](../collation/architecture) is the abstract base class of all classes that compare strings.
250+
* [`Collator`](../collation/architecture.md#collator) is the abstract base class of all classes that compare strings.
251251

252-
* [`CollationElementIterator`](../collation/architecture) is a concrete iterator class that provides an
252+
* [`CollationElementIterator`](../collation/architecture.md#collation-element-iterator) is a concrete iterator class that provides an
253253
iterator for stepping through each character of a locale-specific string
254254
according to the rules of a specific collator object.
255255

256-
* [`RuleBasedCollator`](../collation/architecture) is the only built-in
256+
* [`RuleBasedCollator`](../collation/architecture.md) is the only built-in
257257
implementation of the collator. It
258258
provides a sophisticated mechanism for comparing strings in a
259259
language-specific manner, and an interface that allows the user to
260260
specifically customize the sorting order.
261261

262-
* [`CollationKey`](../collation/architecture) is an object that enables the fast sorting of strings by
262+
* [`CollationKey`](../collation/architecture.md) is an object that enables the fast sorting of strings by
263263
representing a string as a sort key under the rules of a specific collator
264264
object.
265265

@@ -307,18 +307,18 @@ that it recognizes text boundaries according to the particular locale ID.
307307

308308
ICU provides the following classes for iterating over locale-specific text:
309309

310-
* [`BreakIterator`](../boundaryanalysis/index)
310+
* [`BreakIterator`](../boundaryanalysis/index.md)
311311

312312
The abstract base class that defines the operations for finding and getting
313313
the positions of logical breaks in a string of text: characters, words,
314314
sentences, and potential line breaks.
315315

316-
* [`CharacterIterator`](../strings/characteriterator)
316+
* [`CharacterIterator`](../strings/characteriterator.md)
317317

318318
The abstract base class for forward and backward iteration over a string of
319319
Unicode characters.
320320

321-
* [`StringCharacterIterator`](../strings/index)
321+
* [`StringCharacterIterator`](../strings/index.md)
322322

323323
A concrete class for forward and backward iteration over a string of Unicode
324324
characters. `StringCharacterIterator` inherits from `CharacterIterator`.

0 commit comments

Comments
 (0)