Skip to content

Commit b45bba4

Browse files
committed
fix list style for documentation TOC
1 parent 473c51e commit b45bba4

3 files changed

Lines changed: 15 additions & 15 deletions

File tree

documentation.html

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,15 +64,20 @@
6464
<h1 id="documentation">Documentation</h1>
6565
<p>Welcome to the documentation for the Accelerate language and compiler. To get started, see the installation instructions on the <a href="/get-started.html">getting started</a> page or read how to <a href="/get-started/install-from-github.html">install from GitHub</a> to get the latest in-development sources. Once the compiler has been installed, take a look at the <a href="/documentation/language-overview.html">language overview</a>. More information about the design and implementation of Accelerate can be found in our <a href="/publications.html">publications</a>.</p>
6666
<h2 id="on-this-site">On this site</h2>
67+
<!--
68+
NOTE: Do not put any spaces between the list items so that pandoc transforms
69+
this into a compact list, with no <p> tags around each item.
70+
-->
6771
<ol style="list-style-type: decimal">
68-
<li><p><a href="/get-started.html">Getting started guide</a></p>
72+
<li><a href="/get-started.html">Getting started guide</a>
6973
<ol style="list-style-type: decimal">
7074
<li><a href="/get-started/install-from-github.html">Building the development sources</a></li>
7175
</ol></li>
72-
<li><p><a href="/libraries.html">Common libraries and their documentation</a></p></li>
73-
<li><p>Users guide</p>
76+
<li><a href="/libraries.html">Common libraries and their documentation</a></li>
77+
<li>Users guide
7478
<ol style="list-style-type: decimal">
7579
<li>The <em>Accelerate</em> language</li>
80+
<li>Foreign Function Interface (FFI)</li>
7681
</ol></li>
7782
</ol>
7883
<h2 id="external-resources">External resources</h2>

md/documentation.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,17 @@ design and implementation of Accelerate can be found in our
1818

1919
## On this site
2020

21-
1. [Getting started guide](/get-started.html)
21+
<!--
22+
NOTE: Do not put any spaces between the list items so that pandoc transforms
23+
this into a compact list, with no <p> tags around each item.
24+
-->
2225

26+
1. [Getting started guide](/get-started.html)
2327
1. [Building the development sources](/get-started/install-from-github.html)
24-
2528
1. [Common libraries and their documentation](/libraries.html)
26-
2729
1. Users guide
28-
2930
1. The _Accelerate_ language
31+
1. Foreign Function Interface (FFI)
3032

3133

3234
## External resources

style.css

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ ol {
7575

7676
ol > li {
7777
counter-increment: item;
78+
margin-top: 10px;
7879
}
7980

8081
ol ol > li {
@@ -86,14 +87,6 @@ ol ol > li:before {
8687
margin-left: -20px;
8788
}
8889

89-
ol ol > li:last-child {
90-
margin-bottom: 10px;
91-
}
92-
93-
ul ul > li:last-child {
94-
margin-bottom: 10px;
95-
}
96-
9790
.btn {
9891
font-family: 'Raleway';
9992
font-weight: 600;

0 commit comments

Comments
 (0)