diff --git a/README.md b/README.md
index f9a9ef8..856e068 100644
--- a/README.md
+++ b/README.md
@@ -23,6 +23,7 @@ Each localization lives in its own repository:
- Russian: [https://github.com/test-prof/docs-ru](https://github.com/test-prof/docs-ru)
- Chinese: [https://github.com/test-prof/docs-zh-cn](https://github.com/test-prof/docs-zh-cn)
+- Japanese: [https://github.com/test-prof/docs-ja](https://github.com/test-prof/docs-ja)
See [the guide on working on translations](TRANSLATIONS.md).
diff --git a/TRANSLATIONS.md b/TRANSLATIONS.md
index 032b2c3..e0f063a 100644
--- a/TRANSLATIONS.md
+++ b/TRANSLATIONS.md
@@ -30,12 +30,8 @@ Thus, it's possible to gradually introduce a localization.
We recommend loading assets from the main documentation (and not copy them across translations).
-However, Docsify tries to be smart and automatically update relative image sources in the markdown source. The only way to hack it around is to use plain html, e.g.:
+However, Docsify tries to be smart and automatically update relative image sources in the markdown source. The only way to hack it around is to use absolute URLs, e.g.:
```md
-
-![TagProf UI](../assets/tag-prof.gif)
-
-
```
diff --git a/docs/index.html b/docs/index.html
index 3d1f46d..52eab54 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -50,6 +50,7 @@
'' +
'' +
'' +
+ '' +
'',
nameLink: false,
repo: 'https://github.com/test-prof/test-prof',
@@ -60,23 +61,23 @@
auto2top: true,
relativePath: true,
alias: {
- '/(ru|zh-cn)/.*_sidebar.md': 'https://raw.githubusercontent.com/test-prof/docs-$1/master/docs/_sidebar.md',
+ '/(ru|zh-cn|ja)/.*_sidebar.md': 'https://raw.githubusercontent.com/test-prof/docs-$1/master/docs/_sidebar.md',
'/.*/_sidebar.md': 'https://raw.githubusercontent.com/test-prof/test-prof/master/docs/_sidebar.md',
- '/(ru|zh-cn)/(.*)': 'https://raw.githubusercontent.com/test-prof/docs-$1/master/docs/$2',
+ '/(ru|zh-cn|ja)/(.*)': 'https://raw.githubusercontent.com/test-prof/docs-$1/master/docs/$2',
'/(.*)': 'https://raw.githubusercontent.com/test-prof/test-prof/master/docs/$1',
},
- fallbackLanguages: ['ru', 'zh-cn'],
+ fallbackLanguages: ['ru', 'zh-cn', 'ja'],
search: {
paths: 'auto',
namespace: 'test-prof-'+window.DOCSIFY_ROUTER_MODE,
hideOtherSidebarContent: true,
depth: 3,
- pathNamespaces: /^(\/(ru|zh-cn))?/
+ pathNamespaces: /^(\/(ru|zh-cn|ja))?/
},
namespaces: [
{
id: "lang",
- values: ["ru", "zh-cn"],
+ values: ["ru", "zh-cn", "ja"],
optional: true,
selector: "#lang-selector"
}