mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-23 19:44:09 +01:00
Update docs of body-end partial
The ToC is now generated by Hugo. Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
This commit is contained in:
parent
74e8be3fd9
commit
f1cad5bf3d
|
|
@ -4,14 +4,9 @@
|
|||
|
||||
We're using it here to:
|
||||
|
||||
1) include the JS that generates the table of contents. It would be better
|
||||
to generate the table of contents as part of the Hugo build process, but
|
||||
that doesn't work nicely with the way we want to author client-server modules
|
||||
as separate files.
|
||||
|
||||
2) highlight and scroll the ToC in the sidebar to match the place we are at
|
||||
1) highlight and scroll the ToC in the sidebar to match the place we are at
|
||||
in the document.
|
||||
|
||||
*/}}
|
||||
|
||||
<script defer language="javascript" type="text/javascript" src="{{ "js/toc.js" | urlize | relURL }}"></script>
|
||||
<script defer language="javascript" type="text/javascript" src="{{ "js/toc.js" | relURL }}"></script>
|
||||
|
|
|
|||
Loading…
Reference in a new issue