апи: заголовок

This commit is contained in:
2021-09-23 15:18:53 +03:00
parent 8deb91e777
commit 88c177bcf1
6 changed files with 382 additions and 0 deletions

11
doc/pskov.cfg Normal file
View File

@@ -0,0 +1,11 @@
input = ru
item = item.template
preview =
index =
paginationPrev =
paginationNext =
paginationPrevNext =
previewSize =
previewEnding =
previewsPerPage =
previewPageBaseName =

107
doc/ru/item.template Normal file
View File

@@ -0,0 +1,107 @@
<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head>
<style>
#header
{
background: #bababf;
padding: 0.7em;
text-align: left;
}
#header a
{
color: white;
text-decoration: none;
padding: 0.5em 1em 0.5em 1em;
}
#title
{
color: #433729;
}
html
{
font-family: sans-serif;
}
body
{
line-height: 1.5em;
}
body
{
background: #FAFAFA;
}
table
{
border-collapse: collapse;
width: 100%;
}
table, th, td
{
border: 1px solid #aaa;
padding: 0.5em;
margin-top: 0.5em;
margin-bottom: 0.5em;
}
code, pre
{
font-family: monospace, serif;
font-size: 1em;
color: #7f0a0c;
background: #f5f5f5;
white-space: pre-wrap;
}
video
{
width: 100%;
}
.contents
{
background: #FFFFFF;
width: 720px;
padding: 1em;
margin-top: 2em;
margin-bottom: 2em;
border: 1px solid #E0E0E0;
text-align: left;
color: #444;
}
#footer
{
text-align: center;
}
#lang
{
float: right;
}
</style>
<title>
Документация МУРОМа
</title>
</head>
<body>
<div id="header">
<strong id="title">Документация МУРОМа</strong>
<a href="http://opengamestudio.org/M">МУРОМ</a>
<a href="keys.html">Ключи (API)</a>
</div>
<center>
<h1>
PSKOV_ITEM_TITLE
</h1>
</center>
<center>
<div class="contents">
PSKOV_ITEM_CONTENTS
</div>
</center>
<div id="footer">
Документация сгенерирована <a href="http://opengamestudio.org/pskov">ПСКОВОМ</a>
из <a href="https://git.opengamestudio.org/kornerr/MYPOM/doc">
этого исходного кода</a>.
</div>
</body>
</html>

112
doc/ru/keys.html Normal file
View File

@@ -0,0 +1,112 @@
<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head>
<style>
#header
{
background: #bababf;
padding: 0.7em;
text-align: left;
}
#header a
{
color: white;
text-decoration: none;
padding: 0.5em 1em 0.5em 1em;
}
#title
{
color: #433729;
}
html
{
font-family: sans-serif;
}
body
{
line-height: 1.5em;
}
body
{
background: #FAFAFA;
}
table
{
border-collapse: collapse;
width: 100%;
}
table, th, td
{
border: 1px solid #aaa;
padding: 0.5em;
margin-top: 0.5em;
margin-bottom: 0.5em;
}
code, pre
{
font-family: monospace, serif;
font-size: 1em;
color: #7f0a0c;
background: #f5f5f5;
white-space: pre-wrap;
}
video
{
width: 100%;
}
.contents
{
background: #FFFFFF;
width: 720px;
padding: 1em;
margin-top: 2em;
margin-bottom: 2em;
border: 1px solid #E0E0E0;
text-align: left;
color: #444;
}
#footer
{
text-align: center;
}
#lang
{
float: right;
}
</style>
<title>
Документация МУРОМа
</title>
</head>
<body>
<div id="header">
<strong id="title">Документация МУРОМа</strong>
<a href="http://opengamestudio.org/M">МУРОМ</a>
<a href="keys.html">Ключи (API)</a>
</div>
<center>
<h1>
Ключи (API)
</h1>
</center>
<center>
<div class="contents">
<p>Ниже представлены страницы с описанием каждого отдельного поддерживаемого ключа
и примерами их использования:</p>
<ol>
<li><a href="title.html">заголовок</a></li>
<li><a href="image.html">изображение</a></li>
</ol>
</div>
</center>
<div id="footer">
Документация сгенерирована <a href="http://opengamestudio.org/pskov">ПСКОВОМ</a>
из <a href="https://git.opengamestudio.org/kornerr/MYPOM/документация">
этого исходного кода</a>.
</div>
</body>
</html>

14
doc/ru/keys.md Normal file
View File

@@ -0,0 +1,14 @@
Title: Ключи (API)
Date: 2021-09-23 00:00
Category: Страница
Slug: keys
Lang: ru
Ниже представлены страницы с описанием каждого отдельного поддерживаемого ключа
и примерами их использования:
1. [заголовок][title]
1. [изображение][image]
[image]: image.html
[title]: title.html

115
doc/ru/title.html Normal file
View File

@@ -0,0 +1,115 @@
<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head>
<style>
#header
{
background: #bababf;
padding: 0.7em;
text-align: left;
}
#header a
{
color: white;
text-decoration: none;
padding: 0.5em 1em 0.5em 1em;
}
#title
{
color: #433729;
}
html
{
font-family: sans-serif;
}
body
{
line-height: 1.5em;
}
body
{
background: #FAFAFA;
}
table
{
border-collapse: collapse;
width: 100%;
}
table, th, td
{
border: 1px solid #aaa;
padding: 0.5em;
margin-top: 0.5em;
margin-bottom: 0.5em;
}
code, pre
{
font-family: monospace, serif;
font-size: 1em;
color: #7f0a0c;
background: #f5f5f5;
white-space: pre-wrap;
}
video
{
width: 100%;
}
.contents
{
background: #FFFFFF;
width: 720px;
padding: 1em;
margin-top: 2em;
margin-bottom: 2em;
border: 1px solid #E0E0E0;
text-align: left;
color: #444;
}
#footer
{
text-align: center;
}
#lang
{
float: right;
}
</style>
<title>
Документация МУРОМа
</title>
</head>
<body>
<div id="header">
<strong id="title">Документация МУРОМа</strong>
<a href="http://opengamestudio.org/M">МУРОМ</a>
<a href="keys.html">Ключи (API)</a>
</div>
<center>
<h1>
заголовок
</h1>
</center>
<center>
<div class="contents">
<p>Задание заголовка страницы браузера. Чаще всего это название игры.</p>
<p></div><div class="contents"></p>
<p>Пример:</p>
<pre><code>мир.разобрать({
заголовок: "Колобок",
});
</code></pre>
<p><a href="http://opengamestudio.org/M/3.3/проигрыватель/index.html?z64=eJy7sOfCjosNehcbLmy4sP3CvgsbQayLTRd7NKq5FIAAKLjhwmagxG4g3gTEu6wUlC7MggpsBAko6XDValoDAL+VLNM=">Посмотреть результат</a>.</p>
<p></div></p>
</div>
</center>
<div id="footer">
Документация сгенерирована <a href="http://opengamestudio.org/pskov">ПСКОВОМ</a>
из <a href="https://git.opengamestudio.org/kornerr/MYPOM/документация">
этого исходного кода</a>.
</div>
</body>
</html>

23
doc/ru/title.md Normal file
View File

@@ -0,0 +1,23 @@
Title: заголовок
Date: 2021-09-23 00:00
Category: Страница
Slug: title
Lang: ru
Задание заголовка страницы браузера. Чаще всего это название игры.
</div><div class="contents">
Пример:
```
мир.разобрать({
заголовок: "Колобок",
});
```
[Посмотреть результат][result].
</div>
[result]: http://opengamestudio.org/M/3.3/проигрыватель/index.html?z64=eJy7sOfCjosNehcbLmy4sP3CvgsbQayLTRd7NKq5FIAAKLjhwmagxG4g3gTEu6wUlC7MggpsBAko6XDValoDAL+VLNM=