Repository navigation
Commit 4e1c0db
committed
Clean up stale documentation and references (#3106)
This PR cleans up stale documentation and references, one commit per
change:
1. **Quick start guide.** The testing section suggested `pytest -s
tests`, but there is no top-level `tests` directory; it now gives
`python -m pytest dpnp/tests` for the source tree and `python -m pytest
--pyargs dpnp.tests` for an installed package. The scikit-build recipes
now pass `--no-build-isolation` to `pip install -e .`, as
`scripts/build_locally.py` does, so pip doesn't rebuild the package in
an isolated environment with build dependencies from PyPI. The guide now
says the driver script works on Linux and Windows, and a `code-block`
that didn't render because it had no blank line before its content is
fixed.
2. **API reference toctree.** `doc/reference/index.rst` listed 14 pages
that don't exist (`special`, `sparse`, `ndimage`, `generic`, `memory`,
`cuda`, `memoize`, `kernel`, `optimize`, `interoperability`, `testing`,
`prof`, `environment`, `misc`); they are removed.
`doc/reference/polynomials.rst`, a placeholder whose entries are all
commented out and which `routines.rst` leaves out on purpose, is marked
`:orphan:`. Both produced Sphinx warnings.
3. **Stale files and references.**
- `.github/workflows/Windows-IntelLLVM_3.22.cmake` is removed: nothing
uses it, and `conda-recipe/bld.bat` applies only the 3.26 copy.
- `doc/docstring_template.py` described a fallback to NumPy and an array
printing format that no longer exist; it now shows the docstring layout
dpnp uses.
- The 110 `dpctl.tensor` references left in `dpnp/tensor` docstrings and
comments now say `dpnp.tensor`. Every referenced name exists in
`dpnp.tensor`; on the same lines, `:module:` is fixed to `:mod:` and a
misspelled `usm_ndarrays` to `usm_ndarray`. 30b894b1 parent 9ffa423 commit 4e1c0db
6 files changed
Lines changed: 32 additions & 28 deletions
File tree
- _sources
- reference
- reference
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
116 | | - | |
| 116 | + | |
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
123 | | - | |
| 123 | + | |
124 | 124 | | |
125 | | - | |
| 125 | + | |
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
| |||
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
| 203 | + | |
203 | 204 | | |
204 | 205 | | |
205 | 206 | | |
| |||
235 | 236 | | |
236 | 237 | | |
237 | 238 | | |
238 | | - | |
239 | | - | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
240 | 247 | | |
241 | 248 | | |
242 | 249 | | |
243 | | - | |
| 250 | + | |
244 | 251 | | |
245 | 252 | | |
246 | 253 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | 19 | | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | 20 | | |
34 | 21 | | |
35 | | - | |
36 | 22 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
1 | 5 | | |
2 | 6 | | |
3 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1148 | 1148 | | |
1149 | 1149 | | |
1150 | 1150 | | |
1151 | | - | |
| 1151 | + | |
1152 | 1152 | | |
1153 | 1153 | | |
1154 | 1154 | | |
1155 | 1155 | | |
1156 | | - | |
| 1156 | + | |
1157 | 1157 | | |
1158 | 1158 | | |
1159 | | - | |
| 1159 | + | |
1160 | 1160 | | |
1161 | 1161 | | |
1162 | 1162 | | |
| |||
1212 | 1212 | | |
1213 | 1213 | | |
1214 | 1214 | | |
| 1215 | + | |
| 1216 | + | |
| 1217 | + | |
1215 | 1218 | | |
1216 | 1219 | | |
1217 | 1220 | | |
| |||
1240 | 1243 | | |
1241 | 1244 | | |
1242 | 1245 | | |
1243 | | - | |
1244 | | - | |
1245 | | - | |
| 1246 | + | |
| 1247 | + | |
| 1248 | + | |
| 1249 | + | |
| 1250 | + | |
| 1251 | + | |
| 1252 | + | |
1246 | 1253 | | |
1247 | 1254 | | |
1248 | 1255 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1068 | 1068 | | |
1069 | 1069 | | |
1070 | 1070 | | |
1071 | | - | |
| 1071 | + | |
1072 | 1072 | | |
1073 | 1073 | | |
1074 | 1074 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments