Skip to content

Commit 42bfc23

Browse files
authored
Merge pull request #1494 from Ameobea/master
Fix book links when viewing via Github
2 parents 099e2ca + 42b4b48 commit 42bfc23

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

book/src/blacklisting.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ because you need to wrap one of its fields in an `UnsafeCell`), you can
55
explicitly blacklist generation of its definition. Uses of the blacklisted type
66
will still appear in other types' definitions. (If you don't want the type to
77
appear in the bindings at
8-
all, [make it opaque](./opaque.html) instead of
8+
all, [make it opaque](./opaque.md) instead of
99
blacklisting it.)
1010

1111
Blacklisted types are pessimistically assumed not to be able to `derive` any

book/src/cpp.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ it ends in `.hpp`. If it doesn't, adding `-x c++` clang args can be used to
1111
force C++ mode. You probably also want to use `-std=c++14` or similar clang args
1212
as well.
1313

14-
You pretty much **must** use [whitelisting](./whitelisting.html) when working
14+
You pretty much **must** use [whitelisting](./whitelisting.md) when working
1515
with C++ to avoid pulling in all of the `std::*` types, many of which `bindgen`
1616
cannot handle. Additionally, you may want to mark other types as
17-
[opaque](./opaque.html) that `bindgen` stumbles on. It is recommended to mark
17+
[opaque](./opaque.md) that `bindgen` stumbles on. It is recommended to mark
1818
all of `std::*` opaque, and to whitelist only precisely the functions and types
1919
you intend to use.
2020

21-
You should read up on the [FAQs](./faq.html) as well.
21+
You should read up on the [FAQs](./faq.md) as well.
2222

2323
## Supported Features
2424

@@ -50,7 +50,7 @@ Without further ado, here are C++ features that `bindgen` does not support or
5050
cannot translate into Rust:
5151

5252
* Inline functions and methods: see
53-
["Why isn't `bindgen` generating bindings to inline functions?"](./faq.html#why-isnt-bindgen-generating-bindings-to-inline-functions)
53+
["Why isn't `bindgen` generating bindings to inline functions?"](./faq.md#why-isnt-bindgen-generating-bindings-to-inline-functions)
5454

5555
* Template functions, methods of template classes and structs. We don't know
5656
which monomorphizations exist, and can't create new ones because we aren't a

book/src/replacing-types.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ That way, after code generation, the bindings for the `nsTArray` type are
2424
the ones that would be generated for `nsTArray_Simple`.
2525
2626
Replacing is only available as an annotation. To replace a C or C++ definition
27-
with a Rust definition, use [blacklisting](./blacklisting.html).
27+
with a Rust definition, use [blacklisting](./blacklisting.md).

book/src/tutorial-2.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Here is our `wrapper.h`:
1414
#include <bzlib.h>
1515
```
1616

17-
This is also where we would add any [replacement types](./replacing-types.html),
17+
This is also where we would add any [replacement types](./replacing-types.md),
1818
if we were using some.
1919

2020
[spidermonkey]: https://developer.mozilla.org/en-US/docs/Mozilla/Projects/SpiderMonkey/How_to_embed_the_JavaScript_engine

0 commit comments

Comments
 (0)