Skip to content

Commit

Permalink
Изменение конфига RTD (17)
Browse files Browse the repository at this point in the history
  • Loading branch information
sanyaalabai committed Jun 24, 2024
1 parent 88a66d7 commit 06fd154
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions docs/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ plugins:
docstring_style: sphinx
nav:
- Туториалы:
- Основа: 'source/tutorials/home.md'
- Пакеты: 'source/tutorials/packets.md'
- Первый треугольник: 'source/tutorials/triangle.md'
- Основа: 'source/tutorials/home/'
- Пакеты: 'source/tutorials/packets/'
- Первый треугольник: 'source/tutorials/triangle/'
markdown_extensions:
- markdown_include.include:
base_path: 'source/'
Expand Down
2 changes: 1 addition & 1 deletion docs/source/tutorials/packets.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
}
```
3. Внутри папки проекта создать структуру:
``` files
```
- название_пакета
| - includes
| | - название_пакета (или firesteel)
Expand Down
6 changes: 3 additions & 3 deletions docs/source/tutorials/triangle.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ class HelloWorldApp : public App {
## Завершим всё это тем, что добавим шейдер для треугольника.
Построим проект (не запустим). В папке с построенным проектом создадим папку **res** и добавим в неё файлы **core.vert** и **core.frag**.
### Содержимое core.vert:
``` glsl
``` c
#version 330 core
in vec3 aPos;
out vec3 pos;
Expand All @@ -105,7 +105,7 @@ void main() {
}
```
### Содержимое core.frag:
``` glsl
``` c
#version 330 core
out vec4 FragColor;
in vec3 pos;
Expand All @@ -118,5 +118,5 @@ void main() {

# Заключение
После всех этих действий вы будете иметь окно с треугольником, какой обычно создают как "Hello World" на OpenGL или других графических библиотеках.
Итоговый код: https://github.com/xanytka-devs/fs-examples/tree/main/triangle_demo
Итоговый код: [https://github.com/xanytka-devs/fs-examples/tree/main/triangle_demo](https://github.com/xanytka-devs/fs-examples/tree/main/triangle_demo)
[<- Создание первого проекта](https://firesteel.readthedocs.io/ru/latest/tutorials/home.html) | [Продолжение... ->](https://firesteel.readthedocs.io/ru/latest/tutorials/home.html)

0 comments on commit 06fd154

Please sign in to comment.