Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 30 additions & 2 deletions .github/workflows/deploy-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,40 @@ jobs:

- name: Prepare site
run: |
set -e
rm -rf site
mkdir -p site
cp -r docs/* site/ || true

# Копируем docs (включая скрытые файлы) в корень site
if [ -d "docs" ]; then
cp -a docs/. site/
else
echo "Warning: docs/ directory not found in repository."
fi

# Копируем content в site/content, не трогая исходный content/
if [ -d "content" ]; then
mkdir -p site/content
cp -a content/. site/content/
else
echo "Warning: content/ directory not found in repository."
fi

- name: Show site contents (for debug)
run: |
echo "Root of repo:"
ls -la
echo "Docs (repo):"
ls -la docs || true
echo "Content (repo):"
ls -la content || true
echo "Site (to be published):"
ls -la site || true
echo "Tree of site (max depth 3):"
find site -maxdepth 3 -print

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./site

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ LLM-сервисов на всех платформах. Блокирует са
- Курюкин Егор Сергеевич
- Черкесов Азамат Заурович
- Рыбаков Даниил Андреевич
- Крайнов Григорий Николаевич`
- Крайнов Григорий Николаевич
- Макеев Всеволод Сергеевич

## Ссылка на Pages
Expand Down
11 changes: 11 additions & 0 deletions docs/_sidebar.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!-- markdownlint-disable MD041 -->

* [Главная](README.md)
* [Процесс](process.md)
* [Подтверждения](approvals.md)
* [Гайд](contribution.md)

* Разделы
* [План коммуникаций](content/comm_plan.md)
* [Протокол интервью](content/interview_protocol.md)
* [Опросник](content/questionnaire.md)
27 changes: 27 additions & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Документация</title>

<!-- тема docsify (CDN) -->
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify@4/lib/themes/vue.css" />
</head>
<body>
<div id="app"></div>

<script>
window.$docsify = {
name: 'Документация',
repo: 'https://github.com/raijin57/STOP_AI',
loadSidebar: true, // подключаем боковую панель из _sidebar.md
homepage: 'README.md',
subMaxLevel: 2,
auto2top: true
};
</script>

<script src="//cdn.jsdelivr.net/npm/docsify@4/lib/docsify.min.js"></script>
</body>
</html>