Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ jobs:
tag: "3.11"
steps:
- checkout
- python/install-packages:
pkg-manager: pip-dist
pip-dependency-file: docs/requirements.txt
- run:
name: Install dependencies
command: pip install --group doc -e .
- run:
name: Build docs
command: make -C docs html
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ Installing the theme itself:

After following the contribution guidelines in the Matplotlib docs, you will still need to install the theme itself to see the changes you made. At the root level of the repository run:

`python -m pip install -e .`
`python -m pip install --group doc -e .`

After that you will be able to build the docs locally by doing `make html` in the `docs` directory.
2 changes: 0 additions & 2 deletions docs/requirements.txt

This file was deleted.

23 changes: 22 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,14 @@ classifiers = [
]
dependencies = [
"pydata-sphinx-theme==0.20.0",
"matplotlib",
"sphinx-design",
]

[dependency-groups]
doc = [
"matplotlib"
]

[project.urls]
homepage = "https://matplotlib.org/mpl-sphinx-theme/"
repository = "https://github.com/matplotlib/mpl-sphinx-theme"
Expand All @@ -50,3 +54,20 @@ mpl_sphinx_theme = [
"static/font/*.*",
"components/*.html",
]


[tool.pixi.workspace]
channels = ["conda-forge"]
platforms = ["linux-64", "osx-arm64", "osx-64", "win-64"]
preview = ["pixi-build"]


[tool.pixi.package]
version = "3.11.1.dev0"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is that right? We're probably going to forget updating this without documentation, especially if you need the micro.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dynamic versioning in pixi-build is still not working so I'm not sure what we want to do here.

name = "mpl-sphinx-theme"

[tool.pixi.package.build.backend]
name = "pixi-build-python"

[tool.pixi.package.build.config]
ignore-pypi-mapping = false