Skip to content

Commit 3a41743

Browse files
authored
Hotfix release for new documentation
2 parents bdc2f00 + bca880d commit 3a41743

35 files changed

+361
-791
lines changed

.github/workflows/documentation-build.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,17 @@ jobs:
3434
- name: Set up Python
3535
uses: actions/setup-python@v5
3636
with:
37-
python-version: 3.11
37+
python-version: 3.10.12
3838
- name: Install Pandoc, repo and dependencies
3939
run: |
4040
sudo apt install pandoc
41+
pip install sphinx==8.1.3
4142
pip install . '.[dev,docs]'
4243
- name: Build and Commit
4344
uses: sphinx-notes/pages@master
4445
with:
45-
install_requirements: true
46+
install_requirements: false
47+
sphinx_version: 8.1.3
4648
documentation_path: docs/src
4749
- name: Push changes
4850
uses: ad-m/github-push-action@master

docs/src/api/data.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.. automodule:: easyreflectometry.data
1+
.. automodule:: easyreflectometry.data.measurement
22
:members:
33
:undoc-members:
44
:show-inheritance:

docs/src/api/model.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.. automodule:: easyreflectometry.model
1+
.. automodule:: easyreflectometry.model.model
22
:members:
33
:undoc-members:
44
:show-inheritance:

docs/src/api/sample.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
2-
.. automodule:: easyreflectometry.sample
1+
.. automodule:: easyreflectometry.sample.collections.sample
32
:members:
43
:undoc-members:
54
:show-inheritance:

docs/src/conf.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@
2525

2626
import easyreflectometry
2727

28-
# sys.path.insert(0, os.path.abspath('../src'))
29-
sys.path.insert(0, str(Path(__file__).resolve().parents[2] / "src"))
28+
sys.path.insert(0, os.path.abspath('../src'))
3029

3130
main_root = Path(__file__).parents[2]
3231
sys.path.append(str(main_root))

docs/src/index.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
:hidden:
66
:caption: Contents:
77

8-
installation
9-
usage
10-
tutorials/tutorials
11-
contributing
12-
authors
13-
api/api
8+
installation.rst
9+
usage.rst
10+
tutorials/tutorials.rst
11+
contributing.rst
12+
authors.rst
13+
api/api.rst
1414

1515

1616
Indices and tables
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
Advanced Fitting
2+
================
3+
4+
These are advanced fitting examples using the :py:mod:`easyreflectometry` library, to get an understanding of the possibilities.
5+
6+
.. toctree::
7+
:maxdepth: 1
8+
9+
multi_contrast.ipynb

docs/src/tutorials/advancedfitting/multi_contrast.ipynb

Lines changed: 35 additions & 118 deletions
Large diffs are not rendered by default.

docs/src/tutorials/basic/assemblies_library.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Creating multilayers and surfactant layers
2-
==========
2+
===========================================
33

44
:py:mod:`easyreflectometry` is designed to be used with a broad range of different assemblies.
55
Assemblies are collective layers behaving as a single object, for example, a multilayer or a surfactant layer.
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
Basic
2-
======
2+
=====
33

44
The :py:mod:`easyreflectometry` package is focused on making easy to use functionality for specific modelling approaches.
55
In order to achieve this, we have a sample library with different functionality.
66

77
.. toctree::
88
:maxdepth: 1
9-
9+
10+
model
1011
material_library
1112
layer_library
1213
assemblies_library

0 commit comments

Comments
 (0)