Skip to content

Commit

Permalink
Revert theme rollout (#375)
Browse files Browse the repository at this point in the history
* Revert "Small fix to hide scroll bar on sidebar navigation (#373)"

This reverts commit 2e8d75d.

* Revert "Correct Conda to conda. (#372)"

This reverts commit 099d99d.

* Revert "Switching to conda-sphinx-theme plus reorganizing the site a bit (#370)"

This reverts commit 125b9b2.
  • Loading branch information
jezdez committed Nov 13, 2023
1 parent 099d99d commit de9ac0c
Show file tree
Hide file tree
Showing 16 changed files with 69 additions and 159 deletions.
2 changes: 1 addition & 1 deletion CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ Thank you for helping make this a welcoming, friendly community for all.

* Report a code of conduct incident [using a form](https://form.jotform.com/221527028480048).
* Report a code of conduct incident via email: [conduct@conda.org](mailto:conduct@conda.org).
* Contact [an individual committee member](https://github.com/conda-incubator/governance/blob/main/CODE_OF_CONDUCT.md#committee-membership) or [CoC event representative](https://github.com/conda-incubator/governance/blob/main/CODE_OF_CONDUCT.md#coc-representatives) to report an incident in confidence.
* Contact [an individual committee member](#committee-membership) or [CoC event representative](#coc-representatives) to report an incident in confidence.
15 changes: 15 additions & 0 deletions docs/_static/css/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
html {
--pst-font-size-base: 14px;
}

html[data-theme="light"] {
--pst-color-primary: #025C02;
--pst-color-secondary: #3EB049;
--pst-color-link-hover: #3EB049;
}

html[data-theme="dark"] {
--pst-color-primary: #3EB049;
--pst-color-secondary: #025C02;
--pst-color-link-hover: #025C02;
}
8 changes: 0 additions & 8 deletions docs/_static/custom.css

This file was deleted.

14 changes: 0 additions & 14 deletions docs/_templates/navbar_center.html

This file was deleted.

46 changes: 9 additions & 37 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
"sphinx_sitemap",
"sphinx_design",
"sphinx_copybutton",
"sphinx_reredirects",
]

myst_heading_anchors = 3
Expand All @@ -53,40 +52,25 @@
# -- Options for HTML output -------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output

html_theme = "conda_sphinx_theme"
html_theme = "pydata_sphinx_theme"
html_static_path = ["_static"]

html_css_files = [
"custom.css",
"css/custom.css",
]

# Serving the robots.txt since we want to point to the sitemap.xml file
html_extra_path = ["robots.txt"]

html_theme_options = {
"navigation_depth": -1,
"github_url": "https://github.com/conda/conda-libmamba-solver",
"collapse_navigation": True,
"navigation_depth": 1,
"use_edit_page_button": True,
"navbar_center": ["navbar_center"],
"icon_links": [
{
"name": "GitHub",
"url": "https://github.com/conda/conda-libmamba-solver",
"icon": "fa-brands fa-square-github",
"type": "fontawesome",
},
{
"name": "Element",
"url": "https://matrix.to/#/#conda-libmamba-solver:matrix.org",
"icon": "_static/element_logo.svg",
"type": "local",
},
{
"name": "Discourse",
"url": "https://conda.discourse.group/",
"icon": "fa-brands fa-discourse",
"type": "fontawesome",
},
],
"show_toc_level": 1,
"navbar_align": "left",
"header_links_before_dropdown": 1,
# "announcement": "<p>This is the documentation of the new conda-libmamba-solver plugin!</p>",
}

html_context = {
Expand All @@ -100,15 +84,3 @@
sitemap_locales = [None]
# We're hard-coding stable here since that's what we want Google to point to.
sitemap_url_scheme = "{link}"

# -- For sphinx_reredirects ------------------------------------------------

redirects = {
"getting-started": "user-guide",
"faq": "user-guide/faq",
"configuration": "user-guide/configuration",
"libmamba-vs-classic": "user-guide/libmamba-vs-classic",
"more-resources": "user-guide/more-resources",
"performance": "user-guide/performance",
"subcommands": "user-guide/subcommands",
}
File renamed without changes.
14 changes: 0 additions & 14 deletions docs/dev/index.md

This file was deleted.

22 changes: 9 additions & 13 deletions docs/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ channels:
- conda-forge
- defaults
dependencies:
- accessible-pygments=0.0.4
- alabaster=0.7.12
- babel=2.11.0
- beautifulsoup4=4.11.1
Expand All @@ -24,43 +23,42 @@ dependencies:
- libsqlite=3.40.0
- libzlib=1.2.13
- linkify-it-py=2.0.0
- markdown-it-py=3.0.0
- markdown-it-py=2.1.0
- markupsafe=2.1.1
- mdit-py-plugins=0.4.0
- mdit-py-plugins=0.3.1
- mdurl=0.1.0
- myst-parser=2.0.0
- myst-parser=0.18.1
- ncurses=6.3
- openssl=3.0.7
- packaging=21.3
- pip=22.3.1
- pycparser=2.21
- pydata-sphinx-theme=0.14.3
- pygments=2.16.1
- pydata-sphinx-theme=0.12.0
- pygments=2.13.0
- pyopenssl=22.1.0
- pyparsing=3.0.9
- pysocks=1.7.1
- python=3.11.0
- python_abi=3.11
- pytz=2022.6
- pyyaml=6.0.1
- pyyaml=6.0
- readline=8.1.2
- requests=2.28.1
- setuptools=65.5.1
- six=1.16.0
- snowballstemmer=2.2.0
- soupsieve=2.3.2.post1
- sphinx=7.2.6
- sphinx=5.3.0
- sphinx-copybutton=0.5.0
- sphinx-design=0.5.0
- sphinx-design=0.3.0
- sphinx-sitemap=2.2.1
- sphinx-reredirects=0.1.2
- sphinxcontrib-applehelp=1.0.2
- sphinxcontrib-devhelp=1.0.2
- sphinxcontrib-htmlhelp=2.0.0
- sphinxcontrib-jsmath=1.0.1
- sphinxcontrib-mermaid=0.7.1
- sphinxcontrib-qthelp=1.0.3
- sphinxcontrib-serializinghtml=1.1.9
- sphinxcontrib-serializinghtml=1.1.5
- tk=8.6.12
- typing-extensions=4.4.0
- typing_extensions=4.4.0
Expand All @@ -71,5 +69,3 @@ dependencies:
- xz=5.2.6
- yaml=0.2.5
- zipp=3.10.0
- pip:
- conda-sphinx-theme==0.1.1
4 changes: 2 additions & 2 deletions docs/user-guide/faq.md → docs/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

## What's the difference between the available solvers in `conda`?

Please refer to the section "Technical differences between `libmamba` and `classic`" in
the [`libmamba-vs-classic`](./libmamba-vs-classic.md#technical-differences-between-libmamba-and-classic) docs.
Please refer to the section "Differences between `libmamba` and `classic`" in
the [`libmamba-vs-classic`](./libmamba-vs-classic.md#differences-between-libmamba-and-classic) docs.

## How do I uninstall it?

Expand Down
13 changes: 1 addition & 12 deletions docs/user-guide/index.md → docs/getting-started.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# User Guide
# Getting started

The `conda-libmamba-solver` plugin allows you to use `libmamba`, the same `libsolv`-powered solver used by `mamba` and `micromamba`, directly in `conda`.

Expand Down Expand Up @@ -57,14 +57,3 @@ Finally, if you need to revert the default configuration back to `classic`, you
If you are unsure what configuration is being used by conda, you can inspect
it with `conda config --show-sources`.
```

```{toctree}
:hidden:
subcommands
configuration
faq
libmamba-vs-classic
performance
more-resources
```
70 changes: 32 additions & 38 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -1,50 +1,44 @@
---
sd_hide_title: true
---
# conda-libmamba-solver

Welcome to the conda-libmamba-solver documentation! The conda-libmamba-solver
was written to make conda faster and is now the default solver. On this site,
you will find information about how to configure and use this solver.

## Learn

::::{grid} 2
:::{grid-item-card} User guide
Start here if you want a faster conda:
^^^
```{toctree}
:maxdepth: 1
getting-started
subcommands
configuration
libmamba-vs-classic
performance
faq
more-resources
```
+++
Found a bug? [File an issue here](https://github.com/conda/conda-libmamba-solver/issues/new/choose)

:::{grid-item-card} Getting started
:link: user-guide/index
:link-type: doc
New to conda-libmamba-solver? Start here to learn the essentials
:::

:::{grid-item-card} Configuration
:link: user-guide/configuration
:link-type: doc
Learn about all available configuration options
:::{grid-item-card} Developer guide

::::

## Development
If you want to contribute:
^^^

::::{grid} 2
```{toctree}
:maxdepth: 1
dev/setup
dev/workflows
dev/implementation
dev/future-work
dev/code-of-conduct
dev/changelog
```
+++
[Code repository](https://github.com/conda/conda-libmamba-solver), [Project board](https://github.com/orgs/conda/projects/15)

:::{grid-item-card} Development environment
:link: dev/setup
:link-type: doc
Learn how to set up your development environment
:::

:::{grid-item-card} Changelog
:link: dev/changelog
:link-type: doc
Recent changes and udpates to the project
::::


```{seealso}
Found a bug? [File an issue here](https://github.com/conda/conda-libmamba-solver/issues/new/choose)
```

```{toctree}
:hidden:
user-guide/index
dev/index
```
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
20 changes: 0 additions & 20 deletions news/370-use-conda-sphinx-theme

This file was deleted.

0 comments on commit de9ac0c

Please sign in to comment.