Skip to content

Commit 18b23fb

Browse files
committed
ICU-21313 UserGuide: use absolute GitHub links for links outside docs/
See #1625
1 parent f397c0a commit 18b23fb

7 files changed

Lines changed: 167 additions & 99 deletions

File tree

docs/processes/release/tasks/updating-measure-unit.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ will be considered new for the next release too.
115115
## Updating units.txt and unitConstants
116116

117117
The standard ldml2icu process is used to update ICU's resource files (see
118-
[cldr-icu-readme.txt](../../../../icu4c/source/data/cldr-icu-readme.txt)).
118+
[cldr-icu-readme.txt](https://github.com/unicode-org/icu/blob/master/icu4c/source/data/cldr-icu-readme.txt)).
119119
CLDR's units.xml defines conversion rates in terms of some constants defined in
120120
`unitConstants`.
121121

docs/userguide/dev/sync/custom.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ synchronization primitives.
4141

4242
**Low Level Atomics**, a set of platform or compiler dependent typedefs and
4343
inlines. Provided in the internal header file
44-
[`umutex.h`](../../../../icu4c/source/common/umutex.h).
44+
[`umutex.h`](https://github.com/unicode-org/icu/blob/master/icu4c/source/common/umutex.h).
4545

4646
| Type/Function | Description |
4747
|---------------------------------------------------------|-------------------------------------------------------------------------------|
@@ -71,7 +71,7 @@ Provided in a .cpp file.
7171
`UInitOnce` and `umtx_initOnce()` are used internally by ICU for thread-safe
7272
one-time initialization. Their implementation is split into a
7373
platform-independent part (contained in
74-
[`umutex.h`](../../../../icu4c/source/common/umutex.h)),
74+
[`umutex.h`](https://github.com/unicode-org/icu/blob/master/icu4c/source/common/umutex.h)),
7575
and the pair of platform-dependent implementation functions listed above.
7676

7777
**Build Setup**

docs/userguide/dev/sync/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ implementations](custom.md) for other platforms.
5050
The functions and types listed below are intended for use throughout the ICU
5151
library code, where ever synchronization is required. They are defined in the
5252
internal header
53-
[umutex.h](../../../../icu4c/source/common/umutex.h).
53+
[umutex.h](https://github.com/unicode-org/icu/blob/master/icu4c/source/common/umutex.h).
5454

5555
All synchronization within ICU4C implementation code must use these, and avoid
5656
direct use of functions provided by a particular operating system or compiler.

docs/userguide/icudata.md

Lines changed: 142 additions & 82 deletions
Large diffs are not rendered by default.

docs/userguide/locale/resources.md

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ result is a `ResourceBundle` object. Remarks about informational codes are also
259259
valid for the C++ APIs.
260260
261261
> :point_right: **Note**: All the data accessing examples in the following
262-
> sections use ICU's
262+
> sections use ICU's
263263
> [root](https://github.com/unicode-org/icu/blob/master/icu4c/source/data/locales/root.txt)
264264
> resource bundle.
265265
@@ -336,7 +336,8 @@ In order to be able to distinguish between resources, one needs to know the type
336336
of the resource at hand. To find this out, use the
337337
`UResType ures_getType(UResourceBundle* resourceBundle)` API, or the C++ analog
338338
`UResType getType(void)`. The `UResType` is an enumeration defined in the
339-
[unicode/ures.h](../../../icu4c/source/common/unicode/ures.h) header file.
339+
[unicode/ures.h](https://github.com/unicode-org/icu/blob/master/icu4c/source/common/unicode/ures.h)
340+
header file.
340341
341342
> :point_right: **Note**: Indexes of resources in tables do not necessarily
342343
> correspond to the order of items in a table. Due to the way binary structure is
@@ -549,7 +550,7 @@ Gets the number of items in a resource. Simple resources always return size 1.
549550
| C++ | `UResType getType(void)` |
550551
551552
Gets the type of the resource. For a list of resource types, see:
552-
[unicode/ures.h](../../../icu4c/source/common/unicode/ures.h)
553+
[unicode/ures.h](https://github.com/unicode-org/icu/blob/master/icu4c/source/common/unicode/ures.h)
553554
554555
| Language | API |
555556
| -------- | ------------------------------------------------ |
@@ -665,7 +666,8 @@ root {
665666
}
666667
```
667668
668-
Binary format is described in the [uresdata.h](../../../icu4c/source/common/uresdata.h)
669+
Binary format is described in the
670+
[uresdata.h](https://github.com/unicode-org/icu/blob/master/icu4c/source/common/uresdata.h)
669671
header file.
670672
671673
### Resources Syntax
@@ -743,8 +745,11 @@ aVeryLongString:string {
743745
```
744746
745747
For more examples on syntax, take a look at our resource files for
746-
[locales](../../../icu4c/source/data/locales) and [test data](../../../icu4c/source/test/testdata),
747-
especially at the [testtypes resource bundle](../../../icu4c/source/test/testdata/testtypes.txt).
748+
[locales](https://github.com/unicode-org/icu/blob/master/icu4c/source/data/locales)
749+
and
750+
[test data](https://github.com/unicode-org/icu/blob/master/icu4c/source/test/testdata),
751+
especially at the
752+
[testtypes resource bundle](https://github.com/unicode-org/icu/blob/master/icu4c/source/test/testdata/testtypes.txt).
748753
749754
### Making Your Own Resource Bundles
750755
@@ -795,9 +800,11 @@ steps:
795800
796801
Rolling out your own data takes some practice, especially if you want to package
797802
it all together. You might want to take a look at how we package data. Good
798-
places to start (except of course ICU's own [data](../../../icu4c/source/data/))
799-
are [source/test/testdata/](../../../icu4c/source/test/testdata/) and
800-
[source/samples/ufortune/resources/](../../../icu4c/source/samples/ufortune/resources/)
803+
places to start (except of course ICU's own
804+
[data](https://github.com/unicode-org/icu/blob/master/icu4c/source/data/)) are
805+
[source/test/testdata/](https://github.com/unicode-org/icu/blob/master/icu4c/source/test/testdata/)
806+
and
807+
[source/samples/ufortune/resources/](https://github.com/unicode-org/icu/blob/master/icu4c/source/samples/ufortune/resources/)
801808
directories.
802809
803810
Also, here is a sample Windows batch file that does compiling and packing of

docs/userguide/packaging/index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,8 @@ data to be installed and removed without rebuilding ICU. For details, see the
120120

121121
(This section assumes the reader is familiar with ICU version numbers (§) as
122122
covered in the [Design](../design.md) chapter, and filename conventions for
123-
libraries in the [ReadMe](../../../icu4c/readme.html#HowToPackage)
123+
libraries in the
124+
[ReadMe](https://github.com/unicode-org/icu/blob/master/icu4c/readme.html#HowToPackage)
124125
.)
125126

126127
### POSIX Library Names

docs/userguide/packaging/plug-ins.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ uninstall themselves before they are removed from memory and unloaded.
5555
The current plugin API is documented as
5656
[icuplug.h](https://unicode-org.github.io/icu-docs/apidoc/released/icu4c/icuplug_8h.html)
5757
Some sample plugins are available at:
58-
[testplug.c](../../../icu4c/source/tools/icuinfo/testplug.c)
58+
[testplug.c](https://github.com/unicode-org/icu/blob/master/icu4c/source/tools/icuinfo/testplug.c)
5959
Here is a simple, trivial plugin:
6060

6161
```c
@@ -92,7 +92,7 @@ SHOULD call `uplug_setPlugName` to indicate a human readable plugin name.
9292
## Configuration
9393
9494
You can see a sample configuration file here:
95-
[icuplugins_windows_sample.txt](../../../icu4c/source/tools/icuinfo/icuplugins_windows_sample.txt)
95+
[icuplugins_windows_sample.txt](https://github.com/unicode-org/icu/blob/master/icu4c/source/tools/icuinfo/icuplugins_windows_sample.txt)
9696
At ICU startup time, the environment variable "ICU_PLUGINS" will be
9797
queried for a directory name. If it is not set, the #define
9898
`DEFAULT_ICU_PLUGINS` will be checked for a default value.
@@ -182,4 +182,4 @@ plugin| /lib/plugins/libplugin.dylib:myPluginLow
182182
config| x=4
183183
Default locale is en_US
184184
Default converter is UTF-8.
185-
```
185+
```

0 commit comments

Comments
 (0)