docs(map): ссылки на материалы перенесены в Gitea
This commit is contained in:
1 parent
6be0442838
commit
ec9dd4c1a8
6 files changed
+42
-16
No files matched your search
@@ -148,7 +148,7 @@
|
||||
<header>
|
||||
<h1 id="page-title"></h1>
|
||||
<p class="lead" id="lead"></p>
|
||||
<p class="navigation"><a href="db_schema.md">Руководство: от бронирования до витрины</a> · Учебная ветка main</p>
|
||||
<p class="navigation"><a href="https://git.dementev.space/ddmitry/airflow-greenplum/src/docs/design/db_schema.md" target="_blank" rel="noopener noreferrer">Руководство: от бронирования до витрины (Gitea)</a> · Учебная ветка main</p>
|
||||
</header>
|
||||
<div class="controls">
|
||||
<div class="switcher" id="switcher" aria-label="Вид связей"></div>
|
||||
@@ -196,11 +196,12 @@
|
||||
</div>
|
||||
<aside id="details" aria-live="polite" aria-label="Карточка выбранного объекта"></aside>
|
||||
</main>
|
||||
<noscript>Для интерактивной карты включите JavaScript. Объяснение модели доступно в <a href="db_schema.md">руководстве</a>.</noscript>
|
||||
<noscript>Для интерактивной карты включите JavaScript. Объяснение модели доступно в <a href="https://git.dementev.space/ddmitry/airflow-greenplum/src/docs/design/db_schema.md">руководстве в Gitea</a>.</noscript>
|
||||
<script>
|
||||
const MAP = {
|
||||
"title": "Хранилище авиаперевозок",
|
||||
"lead": "От бронирования до витрины: выберите таблицу или связь.",
|
||||
"repository_url": "https://git.dementev.space/ddmitry/airflow-greenplum/src/",
|
||||
"layers": [
|
||||
{
|
||||
"id": "source",
|
||||
@@ -5001,7 +5002,8 @@
|
||||
links.forEach((item) => {
|
||||
const row = document.createElement("li");
|
||||
const link = document.createElement("a");
|
||||
link.href = item.url;
|
||||
// Выбор таблицы остается в локальной карте; файлы открываются в Gitea.
|
||||
link.href = item.url.startsWith("#") ? item.url : new URL(item.url, new URL("docs/design/", MAP.repository_url)).href;
|
||||
link.target = "_blank";
|
||||
link.rel = "noopener noreferrer";
|
||||
link.textContent = item.label;
|
||||
|
||||
Reference in new issue
Block a user