Skip to content

Commit

Permalink
Update website CSS.
Browse files Browse the repository at this point in the history
  • Loading branch information
seba-1511 committed Mar 31, 2022
1 parent df3c329 commit 36ac4fb
Show file tree
Hide file tree
Showing 3 changed files with 60 additions and 3 deletions.
48 changes: 48 additions & 0 deletions docs/assets/css/l2l_material.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,51 @@
border-left: .15rem solid #009ce8;
border-right: none;
}

/* Separation between doc instances */

h3.doc-heading {
font-size: x-large;
padding-top: 15pt;
}

h4.doc-heading, h5.doc-heading {
font-size: large;
padding-top: 15pt;
}

h3.doc-heading > .highlight, h4.doc-heading > .highlight, h5.doc-heading > .highlight {
padding-left: 0px !important;
margin-left: 0px !important;
font-weight: normal;
}

.doc-contents > h4, .doc-contents > h5, .doc-contents > h6 {
text-transform: uppercase;
color: rgba(0,0,0,.54);
font-size: .64rem;
}

a.source-link {
float: right;
position: relative;
top: -50px;
}

/* Indent autogenerated documentation */

div.doc-contents {
padding-left: 25px;
border-left: 1pt solid rgba(230, 230, 230);
}

/* Increase visibility of splitters "---" */

[data-md-color-scheme="default"] .md-typeset hr {
border-bottom-color: rgb(0, 0, 0);
border-bottom-width: 1pt;
}

[data-md-color-scheme="slate"] .md-typeset hr {
border-bottom-color: rgb(230, 230, 230);
}
10 changes: 9 additions & 1 deletion docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]

### Added

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

### Changed

* Documentation: uses `mkdocstrings` instead of `pydoc-markdown`.

### Fixed
* example for `detach_module`. ([Nimish Sanghi](https://github.com/nsanghi))

* Example for `detach_module`. ([Nimish Sanghi](https://github.com/nsanghi))
* Loading duplicate FGVC Aircraft images.

## v0.1.7

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

### Changed

### Fixed

* Fix arguments when instantiating `l2l.nn.Scale`.
Expand Down
5 changes: 3 additions & 2 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,13 @@ plugins:
show_category_heading: true
show_signature: true
show_signature_annotations: false
separate_signature: false
separate_signature: true
group_by_category: false
member_order: 'alphabetical'
show_bases: false
show_bases: true
show_if_no_docstring: true
show_submodules: false
heading_level: 3

markdown_extensions:
- mdx_math
Expand Down

0 comments on commit 36ac4fb

Please sign in to comment.