New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Port changes from docs repo to main repo for 0.4.18 #6002
Conversation
…ead (#5195) Co-authored-by: Andy Sweet <andrew.d.sweet@gmail.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* add sample data page * add title and change URL location
* Add white space for images diff * Add missing images to diff * Apply event alt text! Co-authored-by: Draga Doncila Pop <17995243+DragaDoncila@users.noreply.github.com> Co-authored-by: Andy Sweet <andrew.d.sweet@gmail.com> Co-authored-by: Kandarp Khandwala <kandarpksk@users.noreply.github.com> * Copy edits and clean up * Remove white space placeholders * Remove typos and white space * Update docs/howtos/layers/shapes.md Co-authored-by: Melissa Weber Mendonça <melissawm@gmail.com> Co-authored-by: isabela-pf <irpf.design@gmail.com> Co-authored-by: Isabela Presedo-Floyd <50221806+isabela-pf@users.noreply.github.com> Co-authored-by: Draga Doncila Pop <17995243+DragaDoncila@users.noreply.github.com> Co-authored-by: Andy Sweet <andrew.d.sweet@gmail.com> Co-authored-by: Kandarp Khandwala <kandarpksk@users.noreply.github.com> Co-authored-by: Melissa Weber Mendonça <melissawm@gmail.com>
…76) * add 'sphinx_copybutton' * update requirements.txt
* Add contributable menus nap * Update docs/naps/6-contributable-menus.md Co-authored-by: alisterburt <alisterburt@gmail.com> * Fixed header info Co-authored-by: alisterburt <alisterburt@gmail.com>
* Added info for conda installation problems * Update docs/tutorials/fundamentals/installation.md Co-authored-by: Peter Sobolewski <76622105+psobolewskiPhD@users.noreply.github.com> * Update docs/tutorials/fundamentals/installation.md Co-authored-by: Peter Sobolewski <76622105+psobolewskiPhD@users.noreply.github.com> * Conda per @jaimergp Version by @melissawm * Add note about checking napari version * Add the myst_subs for napari version * use python 3.9 in the example, add link to mamba * Don't use versions in codeblock * Fix version? * make 0.x.y version string * work around no substitution in code blocks * Tweak version Note * @Czaki trick to sub the whole strong Co-authored-by: Grzegorz Bokota <bokota+github@gmail.com> * @Czaki fix Co-authored-by: Grzegorz Bokota <bokota+github@gmail.com> * tweak wording * fix the non-code version substitution * Update docs/tutorials/fundamentals/installation.md Co-authored-by: Jaime Rodríguez-Guerra <jaimergp@users.noreply.github.com> Co-authored-by: Christopher Nauroth-Kreß <56394171+ch-n@users.noreply.github.com> Co-authored-by: Peter Sobolewski <76622105+psobolewskiPhD@users.noreply.github.com> Co-authored-by: Peter Sobolewski <pete.sd@gmail.com> Co-authored-by: Grzegorz Bokota <bokota+github@gmail.com> Co-authored-by: Jaime Rodríguez-Guerra <jaimergp@users.noreply.github.com>
This PR does some basic reorganization of some items in the Usage section of the docs, to bring more visibility to the Layers how-to guides and the napari workshop materials. This also adds a mention of the new napari-workshop-template repository. Included in this change is the move from sphinx-tabs/sphinx-panels to sphinx-design, as the first two packages are being deprecated in favor of the latter.
* implement python version subs per @Czaki * tweak index.md wording re: conda env * Add substitution for python version range * Use substitutions on quick_start docs * Fix quick_start installation indentation * fix index conda env and use python_version * use python_version_range in Prerequisites * add python_minimum_version subs * subs napari version in quick_start bundle links * fix link substitutions * Fix missed [ * Add a sustituted link to stable release page * rename conda substitution to conda_create_env
* Fixes gallery ToC - Orders gallery by example title - Restores left sidebar for individual example pages * Removes individual gallery examples from left sidebar
# Description Fixes a number of broken links ~and adds a link check step to CI.~ There are a few broken links still (see napari/docs#59 (comment)) but these can be fixed in a follow up. Pending is also a link check step to CI.
…install (#78) Co-authored-by: Grzegorz Bokota <bokota+github@gmail.com>
Co-authored-by: Peter Sobolewski <76622105+psobolewskiPhD@users.noreply.github.com> Co-authored-by: Melissa Weber Mendonça <melissawm@gmail.com>
* add best practices about packaging * reword a bit Co-authored-by: psobolewskiPhD <psobolewskiPhD@users.noreply.github.com> Co-authored-by: psobolewskiPhD <psobolewskiPhD@users.noreply.github.com>
This is best practice, to make sure the pip being picked up matches the current python executable. Co-authored-by: Peter Sobolewski <76622105+psobolewskiPhD@users.noreply.github.com>
Labels layer how-to, ensure imports are in code snippet so it can be copy-pasted and run.
# Description This is a redo of #4827. Also includes some reorganization on the contributing guide. cc @rwkozar Co-authored-by: Rob Kozar <rwkozar88@yahoo.com> ## Type of change - [x] Fixes or improves existing content # References Closes #46 Depends on #63 for the nice sphinx-design tabs :) Co-authored-by: Rob Kozar <rwkozar88@yahoo.com> Co-authored-by: Grzegorz Bokota <bokota+github@gmail.com>
# Description Adds cards to landing pages under the usage section. Organization, wording and the order of the cards can be changed according to the review. ## Type of change - [x] Fixes or improves existing content # References Closes #87 ## Final checklist: - [x] My PR is the minimum possible work for the desired functionality
#35) # Description The first section of the workshop has been broken down into 5 articles. They are: 1. Python's assert keyword, 2. Pytest testing frameworks, 3. Napari plugins, and 4. Testing coverage. The 5th one on testing widgets is on hold for now. ## Type of change - [x] This change adds new documentation Co-authored-by: Sean Martin <martins7@tcd.ie> Co-authored-by: Peter Sobolewski <76622105+psobolewskiPhD@users.noreply.github.com> Co-authored-by: Draga Doncila Pop <17995243+DragaDoncila@users.noreply.github.com> Co-authored-by: Melissa Weber Mendonça <melissawm@gmail.com>
Co-authored-by: Grzegorz Bokota <bokota+github@gmail.com> Co-authored-by: Kevin Yamauchi <kevin.yamauchi@gmail.com>
# Description Closes #115
# Description change string format to f-string # References https://peps.python.org/pep-0498/
# Description The ` ` character causes various difficulties and confusion, such as the `docs/howtos/docker.md` document's "For development" header not being rendered as a header by Markdown renderers. ## Type of change - [x] Fixes or improves existing content ## Final checklist: - [x] My PR is the minimum possible work for the desired functionality
# Description Adding right-click controls, main menu options and other copy edits to napari viewer tutorial. ## Type of change - [x] Fixes or improves existing content # References None ## Final checklist: - [x] My PR is the minimum possible work for the desired functionality - [x] I have added [alt text](https://webaim.org/techniques/alttext/) to new images included in this PR --------- Co-authored-by: Peter Sobolewski <76622105+psobolewskiPhD@users.noreply.github.com> Co-authored-by: Melissa Weber Mendonça <melissawm@gmail.com>
# Description This adds some short docs for adding a LayerData tuple to the napari viewer. Replaces #4711.
for more information, see https://pre-commit.ci
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With the changes I note here, this builds locally and looks good as far as I can tell.
Please don't forget to add the release notes to _toc.yml
🙂
A few broken links that can be fixed now, or later (I can't suggest because these files are not part of this PR):
- In
docs/developers/documentation/docs_template.md
, in the last line of the file,[updating the TOC](./index.md#2-update-toc)
should be replaced with updating the TOC, and indocs/developers/documentation/index.md
we need to add an anchor before## 2. Update TOC
to read
(update-toc)=
## 2. Update TOC
- On
docs/developers/documentation/index.md
, replace (line 25)- A clean conda environment with a development installation of napari, see the [contributor guide](napari-contributing#setting-up-a-development-installation) for details
with- A clean conda environment with a development installation of napari, see the [contributor guide](dev-installation) for details
, and add
(dev-installation)=
## Setting up a development installation
on line 8 of docs/developers/contributing.md
.
- On
docs/developers/documentation/index.md
,[Examples](..../examples/README)
should be replaced with[Examples](gallery)
Thank you @Czaki !
"name": "stable (0.4.17)", | ||
"version": "0.4.17", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to have this updated either now or after the release to add the 0.4.18 entry. Later, we also need to update the files on napari.github.io so that stable points to 0.4.18.
docs/requirements.txt
Outdated
sphinx-external-toc | ||
sphinx-favicon |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs
sphinx-favicon | |
sphinx-favicon>=1.0 | |
sphinx-copybutton |
@Czaki the manifest check is failing with:
Also, the "add files to lfs" commit looks right, but the "Files" tab on the PR does not — it still shows that all files are being added... |
I have checkout these changes to separate repo and |
Cool, thank you, hopefully it's a quirk of the GH interface. 🤞 Worst case we can always rewrite the history, no big deal. 😅 😰 Let me know when you think this is ready to merge — currently there is one failure that seems sporadic, one from pre-commit which is weird... |
I think that napari/docs#192 should be merged and cherry picked. Then this could be merged. |
Ok I've confirmed by pulling this down without LFS that only LFS stubs are present. 🎉 🚀 Here we go! |
Fixes/Closes
Closes #
Description
References
Type of change
How has this been tested?
as there are small differences between the two Qt bindings.
Final checklist:
trans.
to make them localizable.For more information see our translations guide.