Skip to content

Commit ad11706

Browse files
committed
Set version to 0.6.1
1 parent 25cafeb commit ad11706

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

doc/configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ You can also use the `--version` flag to list all options.
133133
| `svg-size-to-viewbox` | Sets the 'width' and 'height' property of an SimpleSvgAttributes image to its viewbox width and height. This might fix wrong SVG sizes on some eBook-readers.</br>JSON example: `"svg-size-to-viewbox": true` | `false` | |
134134
| `toc-depth` | Sets the depth of the table of content, i.e. how many sub-headings should be visible.</br>Examples:<ul><li>A value of 1 means only the h1 headings are visible in the table of content.</li><li>A value of 3 means h1, h2 and h3 are visible.</li><li>A value of 0 means the table of content is not visible at all.</li></ul> | `2` | `0` to `6` |
135135
| `trailing-templates` | List of templates that will be moved to the end of the document. Theses are e.g. remarks on the article that are important but should be shown as a remark after the actual content of the article.</br>JSON example: `"trailing-templates": [ "foo", "bar" ]` This moves `{{foo}}` and `{{bar}}` to the end of the document. | `[]` | |
136-
| `user-agent-template` | Template string for the user agent used in HTTP requests. There are some placeholders within this template</br>string, which are replaced by actual values:<ul><li>`{{VERSION}}` - The version of wiki2book as shown by the `--version` CLI argument. Example: `v0.6.0`</li></ul> | `"wiki2book {{VERSION}} (https://github.com/hauke96/wiki2book)"` | |
136+
| `user-agent-template` | Template string for the user agent used in HTTP requests. There are some placeholders within this template</br>string, which are replaced by actual values:<ul><li>`{{VERSION}}` - The version of wiki2book as shown by the `--version` CLI argument. Example: `v0.6.1`</li></ul> | `"wiki2book {{VERSION}} (https://github.com/hauke96/wiki2book)"` | |
137137
| `wikipedia-host` | The domain of the Wikipedia instance.</br>JSON example: `"wikipedia-host": "my-server.com"` | `"wikipedia.org"` | |
138138
| `wikipedia-image-article-hosts` | Domains used to search for image articles (not the image files themselves, s. WikipediaImageHost). The given values are tried in the configured order until a request was successful or the last host has been tried.</br>JSON example: `"wikipedia-image-article-hosts": [ "commons.wikimedia.org" ]` | `[ "commons.wikimedia.org", "en.wikipedia.org" ]` | |
139139
| `wikipedia-image-host` | The domain of the Wikipedia image instance, which should be used to download the actual image files.</br>JSON example: `"wikipedia-image-host": "my-image-server.com"` | `"upload.wikimedia.org"` | |

src/config/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@ type Configuration struct {
472472
Template string for the user agent used in HTTP requests. There are some placeholders within this template
473473
string, which are replaced by actual values:
474474
<ul>
475-
<li>`{{VERSION}}` - The version of wiki2book as shown by the `--version` CLI argument. Example: `v0.6.0`</li>
475+
<li>`{{VERSION}}` - The version of wiki2book as shown by the `--version` CLI argument. Example: `v0.6.1`</li>
476476
</ul>
477477
478478
Default: `"wiki2book {{VERSION}} (https://github.com/hauke96/wiki2book)"`

src/util/constants.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
package util
22

3-
const VERSION = "v0.6.0"
3+
const VERSION = "v0.6.1"
44
const RFC1123Millis = "Mon, 02 Jan 2006 15:04:05.999 MST"

0 commit comments

Comments
 (0)