Skip to content

Commit

Permalink
Deploying to pages from @ a4576b8 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
rwxd committed Feb 25, 2024
1 parent da72caf commit 2a2d736
Show file tree
Hide file tree
Showing 7 changed files with 167 additions and 224 deletions.
91 changes: 68 additions & 23 deletions assets/_mkdocstrings.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,39 +26,84 @@
float: right;
}

/* Keep headings consistent. */
h1.doc-heading,
h2.doc-heading,
h3.doc-heading,
h4.doc-heading,
h5.doc-heading,
h6.doc-heading {
font-weight: 400;
line-height: 1.5;
color: inherit;
text-transform: none;
/* Symbols in Navigation and ToC. */
:root,
[data-md-color-scheme="default"] {
--doc-symbol-attribute-fg-color: #953800;
--doc-symbol-function-fg-color: #8250df;
--doc-symbol-method-fg-color: #8250df;
--doc-symbol-class-fg-color: #0550ae;
--doc-symbol-module-fg-color: #5cad0f;

--doc-symbol-attribute-bg-color: #9538001a;
--doc-symbol-function-bg-color: #8250df1a;
--doc-symbol-method-bg-color: #8250df1a;
--doc-symbol-class-bg-color: #0550ae1a;
--doc-symbol-module-bg-color: #5cad0f1a;
}

[data-md-color-scheme="slate"] {
--doc-symbol-attribute-fg-color: #ffa657;
--doc-symbol-function-fg-color: #d2a8ff;
--doc-symbol-method-fg-color: #d2a8ff;
--doc-symbol-class-fg-color: #79c0ff;
--doc-symbol-module-fg-color: #baff79;

--doc-symbol-attribute-bg-color: #ffa6571a;
--doc-symbol-function-bg-color: #d2a8ff1a;
--doc-symbol-method-bg-color: #d2a8ff1a;
--doc-symbol-class-bg-color: #79c0ff1a;
--doc-symbol-module-bg-color: #baff791a;
}

code.doc-symbol {
border-radius: .1rem;
font-size: .85em;
padding: 0 .3em;
font-weight: bold;
}

code.doc-symbol-attribute {
color: var(--doc-symbol-attribute-fg-color);
background-color: var(--doc-symbol-attribute-bg-color);
}

code.doc-symbol-attribute::after {
content: "attr";
}

code.doc-symbol-function {
color: var(--doc-symbol-function-fg-color);
background-color: var(--doc-symbol-function-bg-color);
}

code.doc-symbol-function::after {
content: "func";
}

h1.doc-heading {
font-size: 1.6rem;
code.doc-symbol-method {
color: var(--doc-symbol-method-fg-color);
background-color: var(--doc-symbol-method-bg-color);
}

h2.doc-heading {
font-size: 1.2rem;
code.doc-symbol-method::after {
content: "meth";
}

h3.doc-heading {
font-size: 1.15rem;
code.doc-symbol-class {
color: var(--doc-symbol-class-fg-color);
background-color: var(--doc-symbol-class-bg-color);
}

h4.doc-heading {
font-size: 1.10rem;
code.doc-symbol-class::after {
content: "class";
}

h5.doc-heading {
font-size: 1.05rem;
code.doc-symbol-module {
color: var(--doc-symbol-module-fg-color);
background-color: var(--doc-symbol-module-bg-color);
}

h6.doc-heading {
font-size: 1rem;
code.doc-symbol-module::after {
content: "mod";
}
58 changes: 31 additions & 27 deletions models/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@

<li class="md-nav__item">
<a href="#readwise.models" class="md-nav__link">
readwise.models
models
</a>

</li>
Expand Down Expand Up @@ -551,6 +551,7 @@ <h1 id="models">Models<a class="headerlink" href="#models" title="Permanent link
<div class="doc doc-object doc-module">



<a id="readwise.models"></a>
<div class="doc doc-contents first">

Expand Down Expand Up @@ -598,7 +599,7 @@ <h2 id="readwise.models.ReadwiseBook" class="doc doc-heading">
</thead>
<tbody>
<tr>
<td><code>id</code></td>
<td><code><span title="readwise.models.ReadwiseBook.id">id</span></code></td>
<td>
<code>str</code>
</td>
Expand All @@ -609,7 +610,7 @@ <h2 id="readwise.models.ReadwiseBook" class="doc doc-heading">
</td>
</tr>
<tr>
<td><code>title</code></td>
<td><code><span title="readwise.models.ReadwiseBook.title">title</span></code></td>
<td>
<code>str</code>
</td>
Expand All @@ -620,7 +621,7 @@ <h2 id="readwise.models.ReadwiseBook" class="doc doc-heading">
</td>
</tr>
<tr>
<td><code>author</code></td>
<td><code><span title="readwise.models.ReadwiseBook.author">author</span></code></td>
<td>
<code>str</code>
</td>
Expand All @@ -631,7 +632,7 @@ <h2 id="readwise.models.ReadwiseBook" class="doc doc-heading">
</td>
</tr>
<tr>
<td><code>category</code></td>
<td><code><span title="readwise.models.ReadwiseBook.category">category</span></code></td>
<td>
<code>str</code>
</td>
Expand All @@ -642,7 +643,7 @@ <h2 id="readwise.models.ReadwiseBook" class="doc doc-heading">
</td>
</tr>
<tr>
<td><code>source</code></td>
<td><code><span title="readwise.models.ReadwiseBook.source">source</span></code></td>
<td>
<code>str</code>
</td>
Expand All @@ -653,7 +654,7 @@ <h2 id="readwise.models.ReadwiseBook" class="doc doc-heading">
</td>
</tr>
<tr>
<td><code>num_highlights</code></td>
<td><code><span title="readwise.models.ReadwiseBook.num_highlights">num_highlights</span></code></td>
<td>
<code>int</code>
</td>
Expand All @@ -664,7 +665,7 @@ <h2 id="readwise.models.ReadwiseBook" class="doc doc-heading">
</td>
</tr>
<tr>
<td><code>last_highlight_at</code></td>
<td><code><span title="readwise.models.ReadwiseBook.last_highlight_at">last_highlight_at</span></code></td>
<td>
<code><span title="datetime.datetime">datetime</span> | None</code>
</td>
Expand All @@ -675,7 +676,7 @@ <h2 id="readwise.models.ReadwiseBook" class="doc doc-heading">
</td>
</tr>
<tr>
<td><code>updated</code></td>
<td><code><span title="readwise.models.ReadwiseBook.updated">updated</span></code></td>
<td>
<code><span title="datetime.datetime">datetime</span> | None</code>
</td>
Expand All @@ -686,7 +687,7 @@ <h2 id="readwise.models.ReadwiseBook" class="doc doc-heading">
</td>
</tr>
<tr>
<td><code>cover_image_url</code></td>
<td><code><span title="readwise.models.ReadwiseBook.cover_image_url">cover_image_url</span></code></td>
<td>
<code>str</code>
</td>
Expand All @@ -697,7 +698,7 @@ <h2 id="readwise.models.ReadwiseBook" class="doc doc-heading">
</td>
</tr>
<tr>
<td><code>highlights_url</code></td>
<td><code><span title="readwise.models.ReadwiseBook.highlights_url">highlights_url</span></code></td>
<td>
<code>str</code>
</td>
Expand All @@ -708,7 +709,7 @@ <h2 id="readwise.models.ReadwiseBook" class="doc doc-heading">
</td>
</tr>
<tr>
<td><code>source_url</code></td>
<td><code><span title="readwise.models.ReadwiseBook.source_url">source_url</span></code></td>
<td>
<code>str</code>
</td>
Expand All @@ -719,7 +720,7 @@ <h2 id="readwise.models.ReadwiseBook" class="doc doc-heading">
</td>
</tr>
<tr>
<td><code>asin</code></td>
<td><code><span title="readwise.models.ReadwiseBook.asin">asin</span></code></td>
<td>
<code>str</code>
</td>
Expand All @@ -730,7 +731,7 @@ <h2 id="readwise.models.ReadwiseBook" class="doc doc-heading">
</td>
</tr>
<tr>
<td><code>tags</code></td>
<td><code><span title="readwise.models.ReadwiseBook.tags">tags</span></code></td>
<td>
<code>list[<a class="autorefs autorefs-internal" title="readwise.models.ReadwiseTag" href="#readwise.models.ReadwiseTag">ReadwiseTag</a>]</code>
</td>
Expand All @@ -741,7 +742,7 @@ <h2 id="readwise.models.ReadwiseBook" class="doc doc-heading">
</td>
</tr>
<tr>
<td><code>document_note</code></td>
<td><code><span title="readwise.models.ReadwiseBook.document_note">document_note</span></code></td>
<td>
<code>str</code>
</td>
Expand Down Expand Up @@ -813,6 +814,7 @@ <h2 id="readwise.models.ReadwiseBook" class="doc doc-heading">

</div>


</div>

<div class="doc doc-object doc-class">
Expand Down Expand Up @@ -848,7 +850,7 @@ <h2 id="readwise.models.ReadwiseHighlight" class="doc doc-heading">
</thead>
<tbody>
<tr>
<td><code>id</code></td>
<td><code><span title="readwise.models.ReadwiseHighlight.id">id</span></code></td>
<td>
<code>str</code>
</td>
Expand All @@ -859,7 +861,7 @@ <h2 id="readwise.models.ReadwiseHighlight" class="doc doc-heading">
</td>
</tr>
<tr>
<td><code>text</code></td>
<td><code><span title="readwise.models.ReadwiseHighlight.text">text</span></code></td>
<td>
<code>str</code>
</td>
Expand All @@ -870,7 +872,7 @@ <h2 id="readwise.models.ReadwiseHighlight" class="doc doc-heading">
</td>
</tr>
<tr>
<td><code>note</code></td>
<td><code><span title="readwise.models.ReadwiseHighlight.note">note</span></code></td>
<td>
<code>str</code>
</td>
Expand All @@ -881,7 +883,7 @@ <h2 id="readwise.models.ReadwiseHighlight" class="doc doc-heading">
</td>
</tr>
<tr>
<td><code>location</code></td>
<td><code><span title="readwise.models.ReadwiseHighlight.location">location</span></code></td>
<td>
<code>int</code>
</td>
Expand All @@ -892,7 +894,7 @@ <h2 id="readwise.models.ReadwiseHighlight" class="doc doc-heading">
</td>
</tr>
<tr>
<td><code>location_type</code></td>
<td><code><span title="readwise.models.ReadwiseHighlight.location_type">location_type</span></code></td>
<td>
<code>str</code>
</td>
Expand All @@ -903,7 +905,7 @@ <h2 id="readwise.models.ReadwiseHighlight" class="doc doc-heading">
</td>
</tr>
<tr>
<td><code>url</code></td>
<td><code><span title="readwise.models.ReadwiseHighlight.url">url</span></code></td>
<td>
<code>str | None</code>
</td>
Expand All @@ -914,7 +916,7 @@ <h2 id="readwise.models.ReadwiseHighlight" class="doc doc-heading">
</td>
</tr>
<tr>
<td><code>color</code></td>
<td><code><span title="readwise.models.ReadwiseHighlight.color">color</span></code></td>
<td>
<code>str</code>
</td>
Expand All @@ -925,7 +927,7 @@ <h2 id="readwise.models.ReadwiseHighlight" class="doc doc-heading">
</td>
</tr>
<tr>
<td><code>updated</code></td>
<td><code><span title="readwise.models.ReadwiseHighlight.updated">updated</span></code></td>
<td>
<code><span title="datetime.datetime">datetime</span> | None</code>
</td>
Expand All @@ -936,7 +938,7 @@ <h2 id="readwise.models.ReadwiseHighlight" class="doc doc-heading">
</td>
</tr>
<tr>
<td><code>book_id</code></td>
<td><code><span title="readwise.models.ReadwiseHighlight.book_id">book_id</span></code></td>
<td>
<code>str</code>
</td>
Expand All @@ -947,7 +949,7 @@ <h2 id="readwise.models.ReadwiseHighlight" class="doc doc-heading">
</td>
</tr>
<tr>
<td><code>tags</code></td>
<td><code><span title="readwise.models.ReadwiseHighlight.tags">tags</span></code></td>
<td>
<code>list[<a class="autorefs autorefs-internal" title="readwise.models.ReadwiseTag" href="#readwise.models.ReadwiseTag">ReadwiseTag</a>]</code>
</td>
Expand Down Expand Up @@ -1011,6 +1013,7 @@ <h2 id="readwise.models.ReadwiseHighlight" class="doc doc-heading">

</div>


</div>

<div class="doc doc-object doc-class">
Expand Down Expand Up @@ -1046,7 +1049,7 @@ <h2 id="readwise.models.ReadwiseTag" class="doc doc-heading">
</thead>
<tbody>
<tr>
<td><code>id</code></td>
<td><code><span title="readwise.models.ReadwiseTag.id">id</span></code></td>
<td>
<code>str</code>
</td>
Expand All @@ -1057,7 +1060,7 @@ <h2 id="readwise.models.ReadwiseTag" class="doc doc-heading">
</td>
</tr>
<tr>
<td><code>name</code></td>
<td><code><span title="readwise.models.ReadwiseTag.name">name</span></code></td>
<td>
<code>str</code>
</td>
Expand Down Expand Up @@ -1104,6 +1107,7 @@ <h2 id="readwise.models.ReadwiseTag" class="doc doc-heading">

</div>


</div>


Expand Down
Loading

0 comments on commit 2a2d736

Please sign in to comment.