Skip to content

Commit

Permalink
Дочищает хвосты после переезда (#944)
Browse files Browse the repository at this point in the history
* Убирает Y- из названия

* Правит домены и репозитории
  • Loading branch information
Vadim Makeev authored Jun 13, 2021
1 parent a9a0ff7 commit c8927c8
Show file tree
Hide file tree
Showing 9 changed files with 21 additions and 23 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/netlify-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: Загрузка platform
uses: actions/checkout@v2
with:
repository: Y-Doka/platform
repository: doka-guide/platform
- name: Загрузка контента
uses: actions/checkout@v2
with:
Expand All @@ -37,7 +37,7 @@ jobs:
- name: Публикация сайта
uses: netlify/actions/cli@master
with:
args: deploy --dir=dist --message='Публикация контента (https://github.com/Y-Doka/content/commit/${{ github.sha }})' --prod
args: deploy --dir=dist --message='Публикация контента (https://github.com/doka-guide/content/commit/${{ github.sha }})' --prod
env:
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
4 changes: 2 additions & 2 deletions .github/workflows/surge-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- name: Загрузка platform
uses: actions/checkout@v2
with:
repository: Y-Doka/platform
repository: doka-guide/platform
- name: Загрузка контента
uses: actions/checkout@v2
with:
Expand All @@ -30,7 +30,7 @@ jobs:
- name: Установка модулей
run: npm ci
- name: Сборка и публикация сайта
uses: Y-Doka/surge-preview@main
uses: doka-guide/surge-preview@main
id: preview_step
with:
surge_token: ${{ secrets.SURGE_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion LICENSE-ND.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International Public License

Copyright (c) 2021 Y-Doka Community
Copyright (c) 2021 Doka Community

By exercising the Licensed Rights (defined below), You accept and agree to be bound by the terms and conditions of this Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International Public License ("Public License"). To the extent this Public License may be interpreted as a contract, You are granted the Licensed Rights in consideration of Your acceptance of these terms and conditions, and the Licensor grants You such rights in consideration of benefits the Licensor receives from making the Licensed Material available under these terms and conditions.

Expand Down
2 changes: 1 addition & 1 deletion LICENSE-SA.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International Public License

Copyright (c) 2021 Y-Doka Community
Copyright (c) 2021 Doka Community

By exercising the Licensed Rights (defined below), You accept and agree to be bound by the terms and conditions of this Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International Public License ("Public License"). To the extent this Public License may be interpreted as a contract, You are granted the Licensed Rights in consideration of Your acceptance of these terms and conditions, and the Licensor grants You such rights in consideration of benefits the Licensor receives from making the Licensed Material available under these terms and conditions.

Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
# Контент Доки

[![Статус EditorConfig](https://github.com/Y-Doka/content/workflows/EditorConfig/badge.svg)](https://github.com/Y-Doka/content/actions?query=workflow%3AEditorConfig)
[![Статус спеллера](https://github.com/Y-Doka/content/workflows/YaSpeller%20All/badge.svg)](https://github.com/Y-Doka/content/actions?query=workflow%3AYaSpeller%20All)
[![Статус словаря](https://github.com/Y-Doka/content/workflows/Sort%20Dictionary/badge.svg)](https://github.com/Y-Doka/content/actions?query=workflow%3ASort%20Dictionary)
[![Статус Netlify](https://github.com/Y-Doka/content/workflows/Netlify%20Deploy/badge.svg)](https://github.com/Y-Doka/content/actions?query=workflow%3ANetlify%20Deploy)
[![Статус EditorConfig](https://github.com/doka-guide/content/workflows/EditorConfig/badge.svg)](https://github.com/doka-guide/content/actions?query=workflow%3AEditorConfig)
[![Статус спеллера](https://github.com/doka-guide/content/workflows/YaSpeller%20All/badge.svg)](https://github.com/doka-guide/content/actions?query=workflow%3AYaSpeller%20All)
[![Статус словаря](https://github.com/doka-guide/content/workflows/Sort%20Dictionary/badge.svg)](https://github.com/doka-guide/content/actions?query=workflow%3ASort%20Dictionary)
[![Статус Netlify](https://github.com/doka-guide/content/workflows/Netlify%20Deploy/badge.svg)](https://github.com/doka-guide/content/actions?query=workflow%3ANetlify%20Deploy)

Дока — это добрая энциклопедия для веб-разработчиков. Наша цель — сделать документацию по веб-разработке практичной, понятной и не унылой.

## Как устроена Дока

Дока состоит из двух репозиториев: [платформа](https://github.com/Y-Doka/platform) на базе [Eleventy](https://www.11ty.dev) собирает статьи из репозитория с контентом (мы сейчас в нём), и на выходе получается наш красивый [сайт](https://y-doka.site/).
Дока состоит из двух репозиториев: [платформа](https://github.com/doka-guide/platform) на базе [Eleventy](https://www.11ty.dev) собирает статьи из репозитория с контентом (мы сейчас в нём), и на выходе получается наш красивый [сайт](https://doka.guide/).

📘 Этот репозиторий содержит только тексты статей и материалов проекта «[Дока](https://y-doka.site/)»!
📘 Этот репозиторий содержит только тексты статей и материалов проекта «[Дока](https://doka.guide/)»!

У Доки есть два основных формата материалов: «дока» и «статья».

Expand All @@ -38,7 +38,7 @@

### Всё прочитали и готовы?

1. Клонируйте к себе [репозиторий с контентом](https://github.com/y-doka/content).
1. Клонируйте к себе [репозиторий с контентом](https://github.com/doka-guide/content).
1. Определитесь с форматом материала (дока или статья) и в соответствующем разделе (html, js, css, tools) создайте новую папку с названием статьи.
1. Создайте в ней файл `index.md` по шаблону: [дока](docs/examples/doka.md) или [статья](docs/examples/article.md).
1. Напишите статью (не забывайте сверяться с руководствами 👆). Всё, что хорошо выглядит в маркдауне, будет хорошо выглядеть на сайте. Если вы хотите предпросматривать статью локально, почитайте [инструкцию по предпросмотру](docs/preview.md).
Expand Down
2 changes: 1 addition & 1 deletion about/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ layout: simple-page.njk

## Как устроена Дока

Дока состоит из двух репозиториев: [платформа](https://github.com/doka-guide/platform) на базе [Eleventy](https://www.11ty.dev) собирает статьи из [репозитория с контентом](https://github.com/Y-Doka/content), и на выходе получается наш красивый [сайт](https://doka.guide/).
Дока состоит из двух репозиториев: [платформа](https://github.com/doka-guide/platform) на базе [Eleventy](https://www.11ty.dev) собирает статьи из [репозитория с контентом](https://github.com/doka-guide/content), и на выходе получается наш красивый [сайт](https://doka.guide/).

У Доки есть два основных формата материалов: «дока» и «статья».

Expand Down
12 changes: 5 additions & 7 deletions docs/contributing.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
# Чем вы можете помочь

[![Issues](https://img.shields.io/github/issues/Y-Doka/y-doka.site)](https://github.com/Y-Doka/y-doka.site/issues)

## Чем вы можете помочь

### Реальные задачи

Загляните в [раздел Issues](https://github.com/Y-Doka/y-doka.site/issues) нашего репозитория, чтобы ознакомиться со списком актуальных задач. Мы будем рады, если вы поможете закрыть [good first issues](https://github.com/Y-Doka/y-doka.site/issues?q=is%3Aissue+is%3Aopen+label%3A"good+first+issue") — с ними можно справиться, даже если вы только начинаете обучение.
Загляните в [раздел Issues](https://github.com/doka-guide/content/issues) нашего репозитория, чтобы ознакомиться со списком актуальных задач. Мы будем рады, если вы поможете закрыть [good first issues](https://github.com/doka-guide/content/issues?q=is%3Aissue+is%3Aopen+label%3A"good+first+issue") — с ними можно справиться, даже если вы только начинаете обучение.

Также мы будем постепенно выкладывать задачи посложнее, связанные с допиливанием сайта Доки. Дизайн и описание фичи — всё, как во взрослых опенсорсных проектах. Тут мы надеемся на помощь старших студентов, выпускников Практикума и всех, кто чувствует в себе силы, чтобы решить реальную задачу.

Expand Down Expand Up @@ -58,13 +56,13 @@
Дока состоит из двух репозиториев:

1. Контент, в котором вы находитесь сейчас.
1. [Платформа](https://github.com/Y-Doka/platform), который собирает сайт на базе [Eleventy](https://www.11ty.dev/).
1. [Платформа](https://github.com/doka-guide/platform), который собирает сайт на базе [Eleventy](https://www.11ty.dev/).

Контент Доки — это текстовые файлы в маркдауне и картинки. Если вы хотите сделать быструю правку, то можно сделать это прямо на Гитхабе — он поможет вам предложить их в пулреквесте. Если вы пишете новую статью или делаете обширные правки, то лучше форкните репозиторий, склонируйте его себе локально и откройте в любимом редакторе кода.

Если вы хотите посмотреть, как ваша статья или правки выглядят и собираются в полноценный сайт, то вам [поможет инструкция](https://github.com/Y-Doka/content/blob/main/docs/preview.md). Спойлер: вам потребуется Docker.
Если вы хотите посмотреть, как ваша статья или правки выглядят и собираются в полноценный сайт, то вам [поможет инструкция](https://github.com/doka-guide/content/blob/main/docs/preview.md). Спойлер: вам потребуется Docker.

Если вы хотите посмотреть всю Доку локально без Docker, [в инструкции](https://github.com/Y-Doka/platform/blob/main/docs/how-to-run.md) рассказано, как запустить платформу с симлинками.
Если вы хотите посмотреть всю Доку локально без Docker, [в инструкции](https://github.com/doka-guide/platform/blob/main/docs/how-to-run.md) рассказано, как запустить платформу с симлинками.

### Где что лежит

Expand Down Expand Up @@ -126,7 +124,7 @@ cover:

![Пример обложки](./images/contributing.png)

Если вы хотите добавить обложку, позовите [кого-нибудь из мейнтейнеров](https://github.com/Y-Doka/y-doka.site/blob/main/CODEOWNERS), мы закажем картинку у дизайнера.
Если вы хотите добавить обложку, позовите [кого-нибудь из мейнтейнеров](https://github.com/doka-guide/content/blob/main/CODEOWNERS), мы закажем картинку у дизайнера.

Добавляйте картинки сразу для ретина-дисплеев, мы их преобразуем для меньших разрешений. Для мобильных картинок допишите `*-mob`, например: `cover-mob.png`.

Expand Down
2 changes: 1 addition & 1 deletion html/a/demos/image.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
</style>
</head>
<body>
<a href="https://y-doka.site/" target="_blank">
<a href="https://doka.guide/" target="_blank">
<img src="../images/dogs.png" alt="Три собаки: одна смотрит влево, вторая закрыла глаза и спит, третья смотрит вправо">
</a>
</body>
Expand Down
2 changes: 1 addition & 1 deletion html/a/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ summary:
Сделаем так, чтобы ссылка открывалась в новой вкладке браузера:

```html
<a href="https://y-doka.site/" target="_blank">
<a href="https://doka.guide/" target="_blank">
<img src="dogs.png" alt="Три собаки: одна смотрит влево, вторая закрыла глаза и спит, третья смотрит вправо">
</a>
```
Expand Down

0 comments on commit c8927c8

Please sign in to comment.