Skip to content

Commit

Permalink
Add styles for definition lists, tweak style of code and admonitions.
Browse files Browse the repository at this point in the history
  • Loading branch information
vsalvino committed Oct 20, 2020
1 parent 4204bd6 commit 797594d
Show file tree
Hide file tree
Showing 41 changed files with 129 additions and 39 deletions.
2 changes: 1 addition & 1 deletion docs-source/customize.rst
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ The following theme options are available:
* **globaltoc_collapse** --- Boolean to only expand subsections of the current
document in ``globaltoc.html``. Defaults to True.

* **globaltoc_includehidden** ---- Boolean to show even those subsections in
* **globaltoc_includehidden** --- Boolean to show even those subsections in
``globaltoc.html`` which have been included with the ``:hidden:``
flag of the toctree directive. Defaults to True.

Expand Down
12 changes: 12 additions & 0 deletions docs-source/sample.rst
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,18 @@ incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis
nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo.


Definition Lists
----------------

Term
And here is the definition.

A second paragraph further elaborates.

Another term with ``code`` and *italics* emphasis:
Here is the definition.


Images
------

Expand Down
2 changes: 1 addition & 1 deletion docs/_sources/customize.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ The following theme options are available:
* **globaltoc_collapse** --- Boolean to only expand subsections of the current
document in ``globaltoc.html``. Defaults to True.

* **globaltoc_includehidden** ---- Boolean to show even those subsections in
* **globaltoc_includehidden** --- Boolean to show even those subsections in
``globaltoc.html`` which have been included with the ``:hidden:``
flag of the toctree directive. Defaults to True.

Expand Down
12 changes: 12 additions & 0 deletions docs/_sources/sample.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,18 @@ incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis
nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo.


Definition Lists
----------------

Term
And here is the definition.

A second paragraph further elaborates.

Another term with ``code`` and *italics* emphasis:
Here is the definition.


Images
------

Expand Down
2 changes: 1 addition & 1 deletion docs/_static/library/library.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/_static/library/type-academy-native.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/_static/library/type-academy.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/_static/library/type-book-native.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/_static/library/type-book.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/_static/library/type-engineer-native.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/_static/library/type-engineer.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/_static/library/type-humanist-native.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/_static/library/type-humanist.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/_static/library/type-swiss-native.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/_static/library/type-swiss.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/customize.html
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ <h2>Theme Options<a class="headerlink" href="#theme-options" title="Permalink to
</li>
<li><p><strong>globaltoc_collapse</strong> — Boolean to only expand subsections of the current
document in <code class="docutils literal notranslate"><span class="pre">globaltoc.html</span></code>. Defaults to True.</p></li>
<li><p><strong>globaltoc_includehidden</strong>- Boolean to show even those subsections in
<li><p><strong>globaltoc_includehidden</strong> — Boolean to show even those subsections in
<code class="docutils literal notranslate"><span class="pre">globaltoc.html</span></code> which have been included with the <code class="docutils literal notranslate"><span class="pre">:hidden:</span></code>
flag of the toctree directive. Defaults to True.</p></li>
<li><p><strong>globaltoc_maxdepth</strong> — Integer of the maximum depth of the toctree in
Expand Down
11 changes: 11 additions & 0 deletions docs/sample.html
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ <h3 id="searchlabel">Quick search</h3>
<li class="toctree-l2"><a class="reference internal" href="#admonitions">Admonitions</a></li>
<li class="toctree-l2"><a class="reference internal" href="#asides">Asides</a></li>
<li class="toctree-l2"><a class="reference internal" href="#source-code">Source Code</a></li>
<li class="toctree-l2"><a class="reference internal" href="#definition-lists">Definition Lists</a></li>
<li class="toctree-l2"><a class="reference internal" href="#images">Images</a></li>
<li class="toctree-l2"><a class="reference internal" href="#tables">Tables</a></li>
<li class="toctree-l2"><a class="reference internal" href="#headings-heading-2-lorem-ipsum-dolor-sit-amet-consectetur-adipiscing">Headings: Heading 2 Lorem Ipsum Dolor sit Amet Consectetur Adipiscing</a></li>
Expand Down Expand Up @@ -290,6 +291,16 @@ <h2>Source Code<a class="headerlink" href="#source-code" title="Permalink to thi
incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis
nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo.</p>
</div>
<div class="section" id="definition-lists">
<h2>Definition Lists<a class="headerlink" href="#definition-lists" title="Permalink to this headline"></a></h2>
<dl>
<dt>Term</dt><dd><p>And here is the definition.</p>
<p>A second paragraph further elaborates.</p>
</dd>
<dt>Another term with <code class="docutils literal notranslate"><span class="pre">code</span></code> and <em>italics</em> emphasis:</dt><dd><p>Here is the definition.</p>
</dd>
</dl>
</div>
<div class="section" id="images">
<h2>Images<a class="headerlink" href="#images" title="Permalink to this headline"></a></h2>
<p>Images, C/O <a class="reference external" href="https://placeholder.com/">https://placeholder.com/</a>.</p>
Expand Down
Loading

0 comments on commit 797594d

Please sign in to comment.