Skip to content

Update docs about pixi - #2959

Closed
sbonaretti wants to merge 1 commit into
jupyter-book:mainfrom
sbonaretti:gitlab_docs
Closed

Update docs about pixi#2959
sbonaretti wants to merge 1 commit into
jupyter-book:mainfrom
sbonaretti:gitlab_docs

Conversation

@sbonaretti

Copy link
Copy Markdown

Documentation regarding the use of pixi improved by Yehor Korotenko (@DobbiKov), David Chamont (@chavid), Marie Debacq, and Serena Bonaretti (@sbonaretti) at the #myst-education-2026 workshop

@sbonaretti
sbonaretti requested a review from choldgraf June 16, 2026 16:25
@changeset-bot

changeset-bot Bot commented Jun 16, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: defbf63

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Jun 16, 2026

@choldgraf choldgraf left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks for the improvement - a few quick thoughts via comments! Lemme know if you have any questions or would like pointers.

Comment thread docs/deployment-gitlab.md
## Instructions

To get setup with GitLab Pages, ensure that your repository is hosted in GitLab and you are in the root of the Git repository.
To get setup with GitLab Pages, ensure that your repository is hosted in GitLab and you are in the root of the Git repository. Also, make sure that you have [pixi](https://pixi.prefix.dev/latest/) or [poetry](https://python-poetry.org/) installed.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

This makes it seem like you can only install myst with pixi or poetry - is this true? If not, we should say something like "We recommend using pixi or poetry, which we'll show in this tutorial"

Comment thread docs/deployment-gitlab.md

To get setup with GitLab Pages, ensure that your repository is hosted in GitLab and you are in the root of the Git repository.
To get setup with GitLab Pages, ensure that your repository is hosted in GitLab and you are in the root of the Git repository. Also, make sure that you have [pixi](https://pixi.prefix.dev/latest/) or [poetry](https://python-poetry.org/) installed.
If you use pixi, make sure that the pixi project is initialized in the same root directory as your project (`pixi init`).

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Can we link to the install instructions in the myst guide for pixi, with a myst cross-ref?

Comment thread docs/deployment-gitlab.md
`````
*Note*: When using pixi, if you are not in the main branch, substitute `main` (last line) with your branch name.

<!-- Also, remember to set the `HOST` (this is a fix for a [known issue](https://github.com/jupyter-book/mystmd/issues/2471)) - it's already set in the example above. -->

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Is this intentionally commented out? Why not just remove it, or include it in the content?

Comment thread docs/deployment-gitlab.md

A minimal version is shown below.
<!-- Note that a [pixi.toml](https://pixi.prefix.dev/latest/python/pyproject_toml/) and pixi.lock file should be included! -->
If you use pixi, when you initialize the project (`pixi init`), you automatically create the file [`pixi.toml`](https://pixi.prefix.dev/latest/python/pyproject_toml/).

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Here I'd suggest adding an "install myst with pixi" section elsewhere in the documentation (or at least the parts that aren't required for gitlab) and then cross-reference it here

@sbonaretti

Copy link
Copy Markdown
Author

Closing because the conversation is continuing at #2966

@sbonaretti sbonaretti closed this Jun 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants