Skip to content

Commit 4150bef

Browse files
committed
fix path
1 parent f3f8b22 commit 4150bef

2 files changed

Lines changed: 8 additions & 5 deletions

File tree

docs/_layouts/default.html

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
<meta charset="UTF-8">
66
<meta http-equiv="X-UA-Compatible" content="IE=edge">
77
<meta name="viewport" content="width=device-width, initial-scale=1">
8+
<link rel="preload" href="{{ '/assets/fonts/FactorA-Regular.woff2' | relative_url }}" as="font" type="font/woff2"
9+
crossorigin>
10+
<link rel="preload" href="{{ '/assets/fonts/FactorA-Medium.woff2' | relative_url }}" as="font" type="font/woff2"
11+
crossorigin>
812

913
{% seo %}
1014
<link rel="stylesheet"
@@ -18,9 +22,7 @@
1822
<body>
1923
<div class="wrapper">
2024
<header>
21-
{% assign root = "/" | absolute_url %}
22-
<h1><a href="{{ root }}">{{ site.title | default: site.github.repository_name }}</a></h1>
23-
25+
<h1><a href="{{ '/' | relative_url }}">{{ site.title | default: site.github.repository_name }}</a></h1>
2426

2527
{% if site.logo %}
2628
<img src="{{site.logo | relative_url}}" alt="Logo" />
@@ -54,7 +56,8 @@ <h3>External resources</h3>
5456

5557
<ul>
5658
<li><a href="https://github.com/lokalise/ruby-lokalise-api" target="_blank">Source code</a></li>
57-
<li><a href="https://developers.lokalise.com/reference/lokalise-rest-api" target="_blank">Lokalise APIv2 docs</a></li>
59+
<li><a href="https://developers.lokalise.com/reference/lokalise-rest-api" target="_blank">Lokalise APIv2
60+
docs</a></li>
5861
<li><a href="https://github.com/lokalise/php-lokalise-api" target="_blank">PHP API client</a></li>
5962
<li><a href="https://lokalise.github.io/node-lokalise-api/" target="_blank">Node.js API client</a></li>
6063
<li><a href="https://github.com/lokalise/go-lokalise-api" target="_blank">Go API client</a></li>

docs/api/getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ require 'ruby_lokalise_api'
2424
@client = RubyLokaliseApi.client 'YOUR_TOKEN_HERE'
2525
```
2626

27-
Now the `@client` can be used to perform API requests! Learn more about additional options on the [Customizing request]({{ '/additional_info/customization/' | relative_url }}) page.
27+
Now the `@client` can be used to perform API requests! Learn more about additional options on the [Customizing request]({{ '/additional_info/customization' | relative_url }}) page.
2828

2929
## Objects and models
3030

0 commit comments

Comments
 (0)