Skip to content

Commit 36ac4fb

Browse files
committed
Update website CSS.
1 parent df3c329 commit 36ac4fb

File tree

3 files changed

+60
-3
lines changed

3 files changed

+60
-3
lines changed

docs/assets/css/l2l_material.css

+48
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,51 @@
1919
border-left: .15rem solid #009ce8;
2020
border-right: none;
2121
}
22+
23+
/* Separation between doc instances */
24+
25+
h3.doc-heading {
26+
font-size: x-large;
27+
padding-top: 15pt;
28+
}
29+
30+
h4.doc-heading, h5.doc-heading {
31+
font-size: large;
32+
padding-top: 15pt;
33+
}
34+
35+
h3.doc-heading > .highlight, h4.doc-heading > .highlight, h5.doc-heading > .highlight {
36+
padding-left: 0px !important;
37+
margin-left: 0px !important;
38+
font-weight: normal;
39+
}
40+
41+
.doc-contents > h4, .doc-contents > h5, .doc-contents > h6 {
42+
text-transform: uppercase;
43+
color: rgba(0,0,0,.54);
44+
font-size: .64rem;
45+
}
46+
47+
a.source-link {
48+
float: right;
49+
position: relative;
50+
top: -50px;
51+
}
52+
53+
/* Indent autogenerated documentation */
54+
55+
div.doc-contents {
56+
padding-left: 25px;
57+
border-left: 1pt solid rgba(230, 230, 230);
58+
}
59+
60+
/* Increase visibility of splitters "---" */
61+
62+
[data-md-color-scheme="default"] .md-typeset hr {
63+
border-bottom-color: rgb(0, 0, 0);
64+
border-bottom-width: 1pt;
65+
}
66+
67+
[data-md-color-scheme="slate"] .md-typeset hr {
68+
border-bottom-color: rgb(230, 230, 230);
69+
}

docs/changelog.md

+9-1
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99
## [Unreleased]
1010

1111
### Added
12+
13+
* New vision example: MAML++. (@[DubiousCactus](https://github.com/DubiousCactus))
1214
* Add tutorial: "Demystifying Task Transforms", ([Varad Pimpalkhute](https://github.com/nightlessbaron/))
1315

1416
### Changed
1517

18+
* Documentation: uses `mkdocstrings` instead of `pydoc-markdown`.
19+
1620
### Fixed
17-
* example for `detach_module`. ([Nimish Sanghi](https://github.com/nsanghi))
21+
22+
* Example for `detach_module`. ([Nimish Sanghi](https://github.com/nsanghi))
23+
* Loading duplicate FGVC Aircraft images.
1824

1925
## v0.1.7
2026

@@ -24,6 +30,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2430
* Pretrained weights for vision models with: `l2l.vision.models.get_pretrained_backbone()`.
2531
* Add `keep_requires_grad` flag to `detach_module`. ([Zhaofeng Wu](https://github.com/ZhaofengWu))
2632

33+
### Changed
34+
2735
### Fixed
2836

2937
* Fix arguments when instantiating `l2l.nn.Scale`.

mkdocs.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,13 @@ plugins:
7070
show_category_heading: true
7171
show_signature: true
7272
show_signature_annotations: false
73-
separate_signature: false
73+
separate_signature: true
7474
group_by_category: false
7575
member_order: 'alphabetical'
76-
show_bases: false
76+
show_bases: true
7777
show_if_no_docstring: true
7878
show_submodules: false
79+
heading_level: 3
7980

8081
markdown_extensions:
8182
- mdx_math

0 commit comments

Comments
 (0)