Skip to content

[DOCS] Cleaning up the documentation - #2825

Merged
erikvansebille merged 9 commits into
Parcels-code:mainfrom
erikvansebille:docs-cleanup
Aug 17, 2026
Merged

[DOCS] Cleaning up the documentation#2825
erikvansebille merged 9 commits into
Parcels-code:mainfrom
erikvansebille:docs-cleanup

Conversation

@erikvansebille

Copy link
Copy Markdown
Member

Description

This PR cleans up the Documentation, by fixing linking errors and myST warnings, and removing TODOS

Checklist

AI Disclosure

I have asked CoPilot to help me remove the WARNING: skipping unknown output mime type: application/vnd.holoviews_load.v0+json [mystnb.unknown_mime_type] [mystnb.unknown_mime_type] warnings - and the warnings about missing cross-reference targets in notebook links

Fixing linking errors, myST warnings, and removing TODOs
@VeckoTheGecko

Copy link
Copy Markdown
Contributor

Should we update our settings on the Sphinx docs build to fail on these types of warnings?

@erikvansebille

Copy link
Copy Markdown
Member Author

Good question, I'm not sure how robust this pipeline would be. But we could certainly try for a while. if it triggers too many (erroneous) failed builds, we can always revert

Could you turn failing on warnings on?

@VeckoTheGecko VeckoTheGecko left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

just a couple comments/clarifications

Comment thread docs/user_guide/examples/explanation_performance.md
Comment on lines +17 to +23
particles.temperature = fieldset.temperature[
particles.t,
particles.z,
particles.y,
particles.x,
particles
]

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Curious if this is a result of an autoformatter? (if not, I think it would be a good ideal to include an autoformatter for python code cells in docs)

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.

No, I hand-formatted this for better readability. An autoformatter would indeed be a good idea

@VeckoTheGecko VeckoTheGecko Aug 17, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Cool, I'll see if I can include that in this/a separate PR

@VeckoTheGecko

Copy link
Copy Markdown
Contributor

Could you turn failing on warnings on?

Just about to head off, can look into next week

@VeckoTheGecko

Copy link
Copy Markdown
Contributor

Just added c3a011d which enables failures on warnings and also configures Sphinx to use multiple processors where it can

@VeckoTheGecko

Copy link
Copy Markdown
Contributor

feel free to merge - I can look at the formatting in a separate PR

@erikvansebille
erikvansebille merged commit 57d4e6a into Parcels-code:main Aug 17, 2026
17 checks passed
@github-project-automation github-project-automation Bot moved this from Backlog to Done in Parcels development Aug 17, 2026
@erikvansebille
erikvansebille deleted the docs-cleanup branch August 17, 2026 07:05
@VeckoTheGecko

Copy link
Copy Markdown
Contributor

An autoformatter would indeed be a good idea

#2828

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants