Skip to content

Commit

Permalink
docs: update look (conda#459)
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfv authored Dec 20, 2023
1 parent e0bf037 commit e060891
Show file tree
Hide file tree
Showing 6 changed files with 5,960 additions and 2,722 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:

- uses: prefix-dev/[email protected]
with:
pixi-version: v0.5.0
pixi-version: v0.10.0
cache: true
manifest-path: py-rattler/pixi.toml

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python-bindings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
lfs: true
- uses: prefix-dev/[email protected]
with:
pixi-version: v0.5.0
pixi-version: v0.10.0
cache: true
manifest-path: py-rattler/pixi.toml
- uses: actions-rust-lang/setup-rust-toolchain@v1
Expand Down
57 changes: 53 additions & 4 deletions py-rattler/docs/stylesheets/extra.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,54 @@
:root {
--md-primary-fg-color: #fabd0e;
--md-primary-fg-color--light: #ffe9ad;
--md-primary-fg-color--dark: #916a00;
.md-header__topic {
font-family: 'Dosis', sans-serif;
}


.md-header__topic:first-child {
font-weight: normal;
}

.md-typeset h1 {
color: #ffec3d;
}
.md-typeset h1, .md-typeset h2, .md-typeset h3, .md-typeset h4, .md-typeset h5, .md-typeset h6 {
font-family: 'Dosis', sans-serif;
font-weight: 500;
color: #ffec3d;
}

.md-typeset p {
/* kerning */
text-rendering: optimizeLegibility;
}

:root > * {
--md-code-hl-string-color: #ffec3d;
}

.md-header__button.md-logo {
padding: 0;
margin: 0;
}

.md-header__button.md-logo img, .md-header__button.md-logo svg {
height: 2.1rem;
}

[dir=ltr] .md-header__title {
margin-left: 0.5rem;
}

.md-footer-meta__item--prefix-logo {
height: 2rem;
margin: 0.5rem 0;
display: flex;
}

.md-footer-meta__item--prefix-logo img {
height: 100%;
}

table code {
white-space: nowrap;
word-break: keep-all;
}
23 changes: 22 additions & 1 deletion py-rattler/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,14 @@ site_name: "py-rattler"
theme:
name: material
palette:
primary: custom
primary: yellow
accent: yellow
scheme: slate

font:
text: Red Hat Text
code: JetBrains Mono


extra_css:
- stylesheets/extra.css
Expand All @@ -18,6 +25,9 @@ markdown_extensions:
- pymdownx.inlinehilite
- pymdownx.snippets
- pymdownx.superfences
- admonition
- def_list
- footnotes

nav:
- First Steps: index.md
Expand Down Expand Up @@ -77,6 +87,16 @@ nav:
- SolverError: solver_error.md
- TransactionError: transaction_error.md

extra:
social:
- icon: fontawesome/brands/twitter
link: https://twitter.com/prefix_dev
- icon: fontawesome/brands/linkedin
link: https://www.linkedin.com/company/prefix-dev
- icon: fontawesome/brands/github
link: https://github.com/prefix-dev


plugins:
- mkdocstrings:
handlers:
Expand All @@ -85,3 +105,4 @@ plugins:
show_source: false

- search
- social
Loading

0 comments on commit e060891

Please sign in to comment.