Skip to content

Commit 809dfe9

Browse files
committed
docs: work around weird quarto bug making header disappear
1 parent 962b427 commit 809dfe9

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ documentation site, or read on for instructions.
1414

1515
</div>
1616

17+
<br>
18+
19+
## Installation
20+
1721
``` bash
1822
python -m pip install quartodoc
1923
```

docs/get-started/overview.qmd

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,23 @@ Check out the below screencast for a walkthrough of creating a documentation sit
2626
import os
2727
2828
if "BUILDING_README" in os.environ:
29-
print("""
29+
# I don't know why, but we need to repeat the Installation header here.
30+
# or quarto makes it disappear when we generate the readme
31+
print("""
3032
[![](https://cdn.loom.com/sessions/thumbnails/fb4eb736848e470b8409ba46b514e2ed-00001.gif)](https://www.loom.com/share/fb4eb736848e470b8409ba46b514e2ed)
33+
34+
<br>
35+
36+
## Installation
3137
""")
3238
else:
33-
print("""
39+
print("""
3440
<div style="position: relative; padding-bottom: 64.5933014354067%; height: 0;"><iframe src="https://www.loom.com/embed/fb4eb736848e470b8409ba46b514e2ed?sid=31db7652-43c6-4474-bab3-19dea2170775" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen style="position: absolute; top: 0; left: 0; width: 100%; height: 100%;"></iframe></div>
41+
<br>
3542
""")
3643
3744
```
3845

39-
4046
## Installation
4147

4248
```bash

0 commit comments

Comments
 (0)