Skip to content

Commit 1b837b0

Browse files
committed
better content separation
1 parent 9c3fdec commit 1b837b0

5 files changed

Lines changed: 18 additions & 10 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ You can simply [use this repository as a template](https://github.com/new?templa
1717

1818
The **actual content** of the web-based course resides under `./source/content` folder.
1919
There you find the content for the documentation of this template which should serve you both as 🧭 guideline and 💡 inspiration.
20-
The layout of the page is done in `./source/conf.py` file.
20+
The **layout** of the web course is defined in `./source/conf.py` file.
2121
<!-- include-upper -->
2222

23-
You will find further details in the [online documentation](https://t4d-gmbh.github.io/web-course-template/).
23+
Head over to the [online documentation](https://t4d-gmbh.github.io/web-course-template/) for detailed instructions how to build your own web course.
2424

2525
## Contributing 🤝🎉
2626

source/content/howto/custom_logo.md

Whitespace-only changes.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
## Customization
2+
3+

source/content/index.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,20 @@
11
```{toctree}
2-
:maxdepth: {% if build == "slides" %}1{% else %}2{% endif %}
2+
{% if build == "slides' %}
3+
:maxdepth: 1
4+
:numbered"
5+
{% else %}
6+
:maxdepth: 1
7+
{% endif %}
38
49
howto/index
510
```
611
```{toctree}
7-
:maxdepth: {% if build == "slides" %}1{% else %}2{% endif %}
12+
{% if build == "slides' %}
13+
:maxdepth: 1
14+
:numbered"
15+
{% else %}
16+
:maxdepth: 1
17+
{% endif %}
818
919
examples/index
1020
```

source/index.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,5 @@
33
```{include} ../README.md
44
:end-before: <!-- include-upper -->
55
```
6-
```{toctree}
7-
:maxdepth: 2
8-
:caption: Course Template Docs
9-
{% if build == "slides" %}:numbered:{% endif %}
10-
11-
content/index
6+
```{include} ./content/index.md
127
```

0 commit comments

Comments
 (0)