Skip to content

Commit 1993f9c

Browse files
committed
Copier update
1 parent 85ec591 commit 1993f9c

File tree

7 files changed

+49
-10
lines changed

7 files changed

+49
-10
lines changed

.copier-answers.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Changes here will be overwritten by Copier; NEVER EDIT MANUALLY
2-
_commit: 18e7005
2+
_commit: 3f79959
33
_src_path: gh:scipp/copier_template
44
description: Neutron scattering tools for Data Reduction
55
max_python: '3.13'

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
if: github.event_name == 'release' && github.event.action == 'published'
6969
steps:
7070
- uses: actions/download-artifact@v4
71-
- uses: pypa/gh-action-pypi-publish@v1.8.14
71+
- uses: pypa/gh-action-pypi-publish@v1.12.4
7272

7373
upload_conda:
7474
name: Deploy Conda

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ venv
1414
.venv
1515

1616
# Caches
17+
*.DS_Store
1718
.clangd/
1819
*.ipynb_checkpoints
1920
__pycache__/

docs/conf.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -293,10 +293,11 @@ def do_not_plot(*args, **kwargs):
293293
'https://github.com/scipp/scipp/pull/[0-9]+',
294294
# This returns '403 Forbidden' but the link works in a browser.
295295
'https://opensource.org/licenses/BSD-3-Clause',
296-
# This returns '403 Forbidden' but the link works in a browser.
297-
'https://doi.org/10.1080/10448639208218770',
298296
# We get 403 Forbidden for this for some reason; works in a browser, though.
299297
'https://support.orcid.org/hc/en-us/articles/360006897674-Structure-of-the-ORCID-Identifier',
298+
# Linkcheck seems to be denied access by some DOI resolvers.
299+
# Since DOIs are supposed to be permanent, we don't need to check them.'
300+
r'https://doi\.org/',
300301
]
301302

302303
# -- Options for bibtex ---------------------------------------------------

docs/index.md

Lines changed: 35 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,30 @@
1-
# ScippNeutron
1+
:::{image} _static/logo.svg
2+
:class: only-light
3+
:alt: ScippNeutron
4+
:width: 60%
5+
:align: center
6+
:::
7+
:::{image} _static/logo-dark.svg
8+
:class: only-dark
9+
:alt: ScippNeutron
10+
:width: 60%
11+
:align: center
12+
:::
13+
14+
```{raw} html
15+
<style>
16+
.transparent {display: none; visibility: hidden;}
17+
.transparent + a.headerlink {display: none; visibility: hidden;}
18+
</style>
19+
```
220

3-
<span style="font-size:1.2em;font-style:italic;color:#5a5a5a">
4-
Neutron scattering tools for Data Reduction powered by Scipp.
21+
```{role} transparent
22+
```
23+
24+
# {transparent}`ScippNeutron`
25+
26+
<span style="font-size:1.2em;font-style:italic;color:var(--pst-color-text-muted)">
27+
Neutron scattering tools for Data Reduction
528
</br></br>
629
</span>
730

@@ -11,6 +34,15 @@
1134

1235
## Get in touch
1336

37+
- If you have questions that are not answered by these documentation pages, ask on [discussions](https://github.com/scipp/scippneutron/discussions). Please include a self-contained reproducible example if possible.
38+
- Report bugs (including unclear, missing, or wrong documentation!), suggest features or view the source code [on GitHub](https://github.com/scipp/scippneutron).
39+
40+
:::{include} user-guide/installation.md
41+
:heading-offset: 1
42+
:::
43+
44+
## Get in touch
45+
1446
- If you have questions that are not answered by these documentation pages, ask on [GitHub discussions](https://github.com/orgs/scipp/discussions). Please include a self-contained reproducible example if possible.
1547
- Report bugs (including unclear, missing, or wrong documentation!), suggest features or view the source code [on GitHub](https://github.com/scipp/scippneutron).
1648

docs/user-guide/index.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# User Guide
22

33
```{toctree}
4+
---
5+
maxdepth: 1
6+
---
7+
48
installation
59
chopper/index
610
coordinate-transformations
@@ -12,3 +16,4 @@ masking-tool
1216
algorithms-background/index
1317
absorption-correction
1418
```
19+

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[build-system]
22
requires = [
3-
"setuptools>=68",
3+
"setuptools>=77",
44
"setuptools_scm[toml]>=8.0",
55
]
66
build-backend = "setuptools.build_meta"
@@ -9,11 +9,11 @@ build-backend = "setuptools.build_meta"
99
name = "scippneutron"
1010
description = "Neutron scattering tools for Data Reduction"
1111
authors = [{ name = "Scipp contributors" }]
12-
license = { file = "LICENSE" }
12+
license = "BSD-3-Clause"
13+
license-files = ["LICENSE"]
1314
readme = "README.md"
1415
classifiers = [
1516
"Intended Audience :: Science/Research",
16-
"License :: OSI Approved :: BSD License",
1717
"Natural Language :: English",
1818
"Operating System :: OS Independent",
1919
"Programming Language :: Python :: 3",

0 commit comments

Comments
 (0)