Skip to content

Commit

Permalink
switch to english
Browse files Browse the repository at this point in the history
  • Loading branch information
Xziy committed Dec 31, 2022
1 parent cde5d5e commit 28d5a83
Show file tree
Hide file tree
Showing 21 changed files with 75 additions and 470 deletions.
18 changes: 9 additions & 9 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ theme = ["docsy"]
enableGitInfo = true

# Language settings
contentDir = "content/ru"
defaultContentLanguage = "ru"
contentDir = "content/en"
defaultContentLanguage = "en"
defaultContentLanguageInSubdir = false
# Useful when translating.
enableMissingTranslationPlaceholders = true
Expand Down Expand Up @@ -76,13 +76,13 @@ languageName ="English"
contentDir = "content/en"
# Weight used for sorting.
weight = 1
[languages.ru]
title = "WebResto"
description = "документация"
languageName ="Русский"
contentDir = "content/ru"
time_format_default = "02.01.2006"
time_format_blog = "02.01.2006"
# [languages.ru]
# title = "WebResto"
# description = "документация"
# languageName ="Русский"
# contentDir = "content/ru"
# time_format_default = "02.01.2006"
# time_format_blog = "02.01.2006"


[markup]
Expand Down
18 changes: 15 additions & 3 deletions content/en/_index.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,22 @@
+++
title = "TechOS"
linkTitle = "TechOS"
title = "webresto"
linkTitle = "Webresto"

+++

{{< blocks/cover title="English version documentation in progress" image_anchor="top" height="full" >}}
{{< blocks/cover title="Документация WebResto" image_anchor="top" height="full" >}}
<div class="mx-auto">
<p class="lead mt-5">Посетить офицальный сайт <a href="https://webresto.org/russia/ru/">WebResto</a></p>
<a class="btn btn-lg btn-primary mr-3 mb-4" href="{{< relref "/docs" >}}">
Читать <i class="fas fa-arrow-alt-circle-right ml-2"></i>
</a>
<a class="btn btn-lg btn-secondary mr-3 mb-4" href="https://github.com/webresto">
Pепозиторий <i class="fab fa-github ml-2 "></i>
</a>
<!-- <div class="mx-auto mt-5">
{{< blocks/link-down color="info" >}}
</div> -->
</div>
{{< /blocks/cover >}}


Binary file removed content/en/docs.zip
Binary file not shown.
File renamed without changes.
7 changes: 7 additions & 0 deletions content/en/docs/entities/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: "Data entities webresto core"
linkTitle: "Entities"
date: 2020-01-05
description: >
Description of entities and data for webresto
---
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,6 @@ description: >
Описание типов данных
---

# Совместимость

Если мы определяем понятие базовых сущностей то модули бекенда могут стыковатся через модели базовых сущностей с компонетами фронтенда. В противном случае стоит указать что базовая сушьность обратно-совместима с новой сушьностью, или вообще не совместима. Таким образом мы сможем определить правила по которым билдер будет предлагать компоненты в зависимости от того что стоит на беке

например, все сущности которые здесь описаны являются base. А это значит что новые модули будут либо расширять базовые наборы сущностей, либо будут не совместимы.


# Навигация

Вся навигация получается фронтедом по запросу graphql `{navigations { ... }}` , и в дальнейшем обновляется по подписке `{subscribe navigations { ... }}`
Expand Down
12 changes: 12 additions & 0 deletions content/en/docs/entities/сompatibility.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
title: "Compatibility"
linkTitle: "Compatibility"
description: >
Compatibility data types
---

# Compatibility

Если мы определяем понятие базовых сущностей то модули бекенда могут стыковатся через модели базовых сущностей с компонетами фронтенда. В противном случае стоит указать что базовая сушьность обратно-совместима с новой сушьностью, или вообще не совместима. Таким образом мы сможем определить правила по которым билдер будет предлагать компоненты в зависимости от того что стоит на беке

например, все сущности которые здесь описаны являются base. А это значит что новые модули будут либо расширять базовые наборы сущностей, либо будут не совместимы.
File renamed without changes.
9 changes: 9 additions & 0 deletions content/en/docs/graphql/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@

---
title: "API | GraphQL"
linkTitle: "API (GrapqQL)"
date: 2020-01-05
description: >
WebServer GrapqlAPI
---

7 changes: 7 additions & 0 deletions content/en/docs/graphql/authorization.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: "Registration and authorization process for the webresto server"
linkTitle: "Registration & authorization"
description: >
WebServer GrapqlAPI Registration and authorization process
---

Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
title: "Criteria"
linkTitle: "Язык запросов"
title: "Criteria language for Webresto server"
linkTitle: "CriteriaQL"
description: >
Описание и примеры языка запросов
Description and examples of criteria query language
---


Expand Down Expand Up @@ -289,3 +289,4 @@ criteria: { where: { name: 'foo' }, sort: [{ name: 'ASC'}, { age: 'DESC' }] }
```

Thanks for Waterline & Sails developer
Описание и примеры языка запросов
9 changes: 9 additions & 0 deletions content/en/docs/module/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@

---
title: "Modules"
linkTitle: "Modules"
date: 2020-01-05
description: >
WebServer GrapqlAPI
---

Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
title: "Webresto module"
linkTitle: "Модуль"
title: "How to make custom webresto module"
linkTitle: "Make module"
description: >
как сделать модуль
How to make custom webresto module
---

Пример конфигурации:
Expand Down
22 changes: 0 additions & 22 deletions content/ru/_index.html

This file was deleted.

9 changes: 0 additions & 9 deletions content/ru/docs/data/_index.md

This file was deleted.

44 changes: 0 additions & 44 deletions content/ru/docs/data/demos.md

This file was deleted.

0 comments on commit 28d5a83

Please sign in to comment.