Skip to content

Commit f35bb7d

Browse files
authored
doc: Update GitHub URL references from 'master' to 'HEAD' (nodejs#898)
* Change URL references from 'master' to 'HEAD'
1 parent 286ae21 commit f35bb7d

8 files changed

+16
-16
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ os:
99
- osx
1010
env:
1111
global:
12-
# https://github.com/jasongin/nvs/blob/master/doc/CI.md
12+
# https://github.com/jasongin/nvs/blob/HEAD/doc/CI.md
1313
- NVS_VERSION=1.4.2
1414
matrix:
1515
- NODEJS_VERSION=node/10

CODE_OF_CONDUCT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Code of Conduct
22

33
The Node.js Code of Conduct, which applies to this project, can be found at
4-
https://github.com/nodejs/admin/blob/master/CODE_OF_CONDUCT.md.
4+
https://github.com/nodejs/admin/blob/HEAD/CODE_OF_CONDUCT.md.

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -152,14 +152,14 @@ The following is the documentation for node-addon-api.
152152

153153
Are you new to **node-addon-api**? Take a look at our **[examples](https://github.com/nodejs/node-addon-examples)**
154154

155-
- **[Hello World](https://github.com/nodejs/node-addon-examples/tree/master/1_hello_world/node-addon-api)**
156-
- **[Pass arguments to a function](https://github.com/nodejs/node-addon-examples/tree/master/2_function_arguments/node-addon-api)**
157-
- **[Callbacks](https://github.com/nodejs/node-addon-examples/tree/master/3_callbacks/node-addon-api)**
158-
- **[Object factory](https://github.com/nodejs/node-addon-examples/tree/master/4_object_factory/node-addon-api)**
159-
- **[Function factory](https://github.com/nodejs/node-addon-examples/tree/master/5_function_factory/node-addon-api)**
160-
- **[Wrapping C++ Object](https://github.com/nodejs/node-addon-examples/tree/master/6_object_wrap/node-addon-api)**
161-
- **[Factory of wrapped object](https://github.com/nodejs/node-addon-examples/tree/master/7_factory_wrap/node-addon-api)**
162-
- **[Passing wrapped object around](https://github.com/nodejs/node-addon-examples/tree/master/8_passing_wrapped/node-addon-api)**
155+
- **[Hello World](https://github.com/nodejs/node-addon-examples/tree/HEAD/1_hello_world/node-addon-api)**
156+
- **[Pass arguments to a function](https://github.com/nodejs/node-addon-examples/tree/HEAD/2_function_arguments/node-addon-api)**
157+
- **[Callbacks](https://github.com/nodejs/node-addon-examples/tree/HEAD/3_callbacks/node-addon-api)**
158+
- **[Object factory](https://github.com/nodejs/node-addon-examples/tree/HEAD/4_object_factory/node-addon-api)**
159+
- **[Function factory](https://github.com/nodejs/node-addon-examples/tree/HEAD/5_function_factory/node-addon-api)**
160+
- **[Wrapping C++ Object](https://github.com/nodejs/node-addon-examples/tree/HEAD/6_object_wrap/node-addon-api)**
161+
- **[Factory of wrapped object](https://github.com/nodejs/node-addon-examples/tree/HEAD/7_factory_wrap/node-addon-api)**
162+
- **[Passing wrapped object around](https://github.com/nodejs/node-addon-examples/tree/HEAD/8_passing_wrapped/node-addon-api)**
163163

164164
<a name="tests"></a>
165165

@@ -201,7 +201,7 @@ If you want faster build, you might use the following option:
201201
npm run-script dev:incremental
202202
```
203203

204-
Take a look and get inspired by our **[test suite](https://github.com/nodejs/node-addon-api/tree/master/test)**
204+
Take a look and get inspired by our **[test suite](https://github.com/nodejs/node-addon-api/tree/HEAD/test)**
205205

206206
### **Benchmarks**
207207

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
environment:
2-
# https://github.com/jasongin/nvs/blob/master/doc/CI.md
2+
# https://github.com/jasongin/nvs/blob/HEAD/doc/CI.md
33
NVS_VERSION: 1.4.2
44
matrix:
55
- NODEJS_VERSION: node/10

doc/array.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ around `napi_value` representing a JavaScript Array.
99
types such as [`Napi::Int32Array`][] and [`Napi::ArrayBuffer`][], respectively,
1010
that can be used for transferring large amounts of data from JavaScript to the
1111
native side. An example illustrating the use of a JavaScript-provided
12-
`ArrayBuffer` in native code is available [here](https://github.com/nodejs/node-addon-examples/tree/master/array_buffer_to_native/node-addon-api).
12+
`ArrayBuffer` in native code is available [here](https://github.com/nodejs/node-addon-examples/tree/HEAD/array_buffer_to_native/node-addon-api).
1313

1414
## Constructor
1515
```cpp

doc/cmake-js.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ If your N-API native add-on uses the optional [**node-addon-api**](https://githu
5151

5252
## Example
5353

54-
A working example of an N-API native addon built using CMake.js can be found on the [node-addon-examples repository](https://github.com/nodejs/node-addon-examples/tree/master/build_with_cmake#building-n-api-addons-using-cmakejs).
54+
A working example of an N-API native addon built using CMake.js can be found on the [node-addon-examples repository](https://github.com/nodejs/node-addon-examples/tree/HEAD/build_with_cmake#building-n-api-addons-using-cmakejs).
5555

5656
## **CMake** Reference
5757

doc/property_descriptor.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,5 +282,5 @@ The name of the property can be any of the following types:
282282
- napi\_writable,
283283
- napi\_enumerable,
284284
- napi\_configurable
285-
For more information on the flags and on napi\_property\_attributes, please read the documentation [here](https://github.com/nodejs/node/blob/master/doc/api/n-api.md#napi_property_attributes).
285+
For more information on the flags and on napi\_property\_attributes, please read the documentation [here](https://github.com/nodejs/node/blob/HEAD/doc/api/n-api.md#napi_property_attributes).
286286

doc/setup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ To use **N-API** in a native module:
3333
The base ABI-stable C APIs do not throw or handle C++ exceptions, but the
3434
N-API C++ wrapper classes may _optionally_
3535
[integrate C++ and JavaScript exception-handling
36-
](https://nodejs.github.io/node-addon-api/class_napi_1_1_error.html).
36+
](https://github.com/nodejs/node-addon-api/blob/HEAD/doc/error_handling.md).
3737
To enable that capability, C++ exceptions must be enabled in `binding.gyp`:
3838

3939
```gyp

0 commit comments

Comments
 (0)