automatically add toc for large pages
This commit is contained in:
parent
cf64c2e7f3
commit
07d81ab1f4
3 changed files with 8 additions and 7 deletions
|
@ -21,8 +21,6 @@ The Linux graphics stack is a complex mechanism of many projects that function i
|
||||||
|
|
||||||
_Graphics Dump_ is a new articles series I'm starting, geared towards tutorials and documentation for graphics-related things that are obscure but interesting. There are a thousand graphics tutorials covering how to start drawing in OpenGL, how to implement shadow mapping, and so on - but how many cover how stuff like how _Mesa_ works? I hope these fill someone's weird niche, like they do for me - so please enjoy!
|
_Graphics Dump_ is a new articles series I'm starting, geared towards tutorials and documentation for graphics-related things that are obscure but interesting. There are a thousand graphics tutorials covering how to start drawing in OpenGL, how to implement shadow mapping, and so on - but how many cover how stuff like how _Mesa_ works? I hope these fill someone's weird niche, like they do for me - so please enjoy!
|
||||||
|
|
||||||
{{<toc>}}
|
|
||||||
|
|
||||||
# Introduction
|
# Introduction
|
||||||
|
|
||||||
Since other operating systems hide these processes away from you, it is fortunate that Linux exists to easily showcase how typical desktop graphics systems function! Of course other systems like Windows, macOS, and other operating systems function differently - but a lot of the same concepts apply (API call dispatch, userspace graphics drivers, and display planes as some good examples.)
|
Since other operating systems hide these processes away from you, it is fortunate that Linux exists to easily showcase how typical desktop graphics systems function! Of course other systems like Windows, macOS, and other operating systems function differently - but a lot of the same concepts apply (API call dispatch, userspace graphics drivers, and display planes as some good examples.)
|
||||||
|
|
|
@ -6,8 +6,6 @@ title: "Downloads"
|
||||||
|
|
||||||
I host downloads for things that I either want to archive, or worried we might lose.
|
I host downloads for things that I either want to archive, or worried we might lose.
|
||||||
|
|
||||||
{{< toc >}}
|
|
||||||
|
|
||||||
# Source Map Archive
|
# Source Map Archive
|
||||||
|
|
||||||
https://archive.ryne.moe/source
|
https://archive.ryne.moe/source
|
||||||
|
|
|
@ -16,9 +16,14 @@
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<div>
|
{{ if or (gt .WordCount 400 ) (.Params.toc) }}
|
||||||
{{ .Content }}
|
<details>
|
||||||
</div>
|
<summary>Table of Contents</summary>
|
||||||
|
{{ .Page.TableOfContents }}
|
||||||
|
</details>
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
{{ .Content }}
|
||||||
|
|
||||||
{{ partial "related" . }}
|
{{ partial "related" . }}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue