Skip to content

Commit 79c20ab

Browse files
committed
Add to online docs
1 parent 6ddc1ef commit 79c20ab

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

docs/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,4 @@
1919
"show_navbar_depth": 2,
2020
}
2121
html_title = "git2cpp documentation"
22+
myst_enable_extensions = ["deflist"]

docs/index.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,14 @@ please create an issue in the [git2cpp github repository](https://github.com/Qua
1515
:hidden:
1616
created/git2cpp
1717
```
18+
19+
## Environment variables
20+
21+
`GIT_HTTP_TIMEOUT`
22+
: In the WebAssembly build, all http(s) requests are limited by a timeout which has a default of 10
23+
seconds. To use a different timeout set the `GIT_HTTP_TIMEOUT` environment variable. For example,
24+
to set a timeout of 20 seconds use:
25+
26+
```bash
27+
export GIT_HTTP_TIMEOUT=20
28+
```

0 commit comments

Comments
 (0)