Skip to content

Commit

Permalink
ch09-10: restructure chapter setup
Browse files Browse the repository at this point in the history
- Merge chapters 09 + 10 (shaders + particles) into ch10, effects.
- Create placeholder chapter 09, shapes.
  • Loading branch information
e8johan committed Sep 11, 2021
1 parent 418be2e commit 009f7f7
Show file tree
Hide file tree
Showing 59 changed files with 30 additions and 20 deletions.
42 changes: 22 additions & 20 deletions docs/.vuepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -169,28 +169,19 @@ function ch11Sidebar() {

function ch10Sidebar() {
return {
title: "OpenGL Shaders",
path: '/ch10-shaders/shader-effects',
collapsable: false,
children: [
'/ch10-shaders/shader-effects',
'/ch10-shaders/opengl-shaders',
'/ch10-shaders/shader-elements',
'/ch10-shaders/fragment-shaders',
'/ch10-shaders/wave-effect',
'/ch10-shaders/vertex-shader',
'/ch10-shaders/curtain-effect',
'/ch10-shaders/effect-library',
]
}
}

function ch09Sidebar() {
return {
title: "Particles",
path: '/ch09-particles/particle-simulation',
title: "Effects (Qt6 - Draft)",
path: '/ch10-effects/effects',
collapsable: false,
children: [
'/ch10-effects/effects',
'/ch10-effects/shader-effects',
'/ch10-effects/opengl-shaders',
'/ch10-effects/shader-elements',
'/ch10-effects/fragment-shaders',
'/ch10-effects/wave-effect',
'/ch10-effects/vertex-shader',
'/ch10-effects/curtain-effect',
'/ch10-effects/effect-library',
'/ch09-particles/particle-simulation',
'/ch09-particles/concept',
'/ch09-particles/simple-simulation',
Expand All @@ -203,6 +194,17 @@ function ch09Sidebar() {
}
}

function ch09Sidebar() {
return {
title: "Shapes (Qt6 - Placeholder)",
path: '/ch09-shapes/placeholder',
collapsable: false,
children: [
'/ch09-shapes/placeholder',
]
}
}

function ch08Sidebar() {
return {
title: "Canvas (Qt6 - Draft)",
Expand Down
3 changes: 3 additions & 0 deletions docs/ch09-shapes/placeholder.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Placeholder

This is a placeholder for a chapter on QML Shapes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
5 changes: 5 additions & 0 deletions docs/ch10-effects/effects.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Effects in QML

* Shaders
* Particles
* Effecs module
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 009f7f7

Please sign in to comment.