Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
68ad212
Move development practices into their own section (#407)
jennyhickson Jul 10, 2025
45db38d
Initial gh wps (#408)
james-bruten-mo Jul 14, 2025
ca0a785
add definitions box (#409)
jennyhickson Jul 15, 2025
a8e7410
Update home page with links (#410)
jennyhickson Jul 16, 2025
118c1c4
GitHub reviews (#411)
james-bruten-mo Jul 21, 2025
78d7baf
update dropdowns (#412)
james-bruten-mo Jul 24, 2025
63f9c46
How to commit (#413)
james-bruten-mo Sep 2, 2025
9390d52
add note about resolving comments as dev (#425)
james-bruten-mo Sep 4, 2025
0ab8bd4
update default main (#426)
james-bruten-mo Sep 8, 2025
0e17071
Sanitise docs 2 (#427)
yaswant Sep 9, 2025
d63bbbc
Merge in changes from main (#434)
james-bruten-mo Sep 22, 2025
fc7a36b
Upgrade macros and kgo (#445)
james-bruten-mo Sep 23, 2025
48100b1
Github rose-stem and dependencies.yaml (#443)
james-bruten-mo Sep 23, 2025
9872f94
Review process (#433)
jennyhickson Sep 23, 2025
60d0a69
Coding style (#431)
yaswant Sep 24, 2025
84167b5
Add Accessibility Statement (#451)
jennyhickson Sep 24, 2025
ec7281d
GitHub authorisations (#450)
james-bruten-mo Sep 25, 2025
a10af66
Add files for reference from PR templates (#453)
james-bruten-mo Sep 30, 2025
70401ba
Advice on MO mirroring bot (#455)
james-bruten-mo Sep 30, 2025
04045bf
Release instructions main (#458)
james-bruten-mo Oct 7, 2025
94b350e
Release changes2 (#461)
james-bruten-mo Oct 7, 2025
6ed7c3b
add mule announcement note (#462)
james-bruten-mo Oct 10, 2025
95594db
more release updates (#463)
james-bruten-mo Oct 14, 2025
1e232d2
Branch migration (#464)
james-bruten-mo Oct 16, 2025
349232f
Tweak branch updates (#468)
jennyhickson Oct 17, 2025
3f895d4
Sphinx use (#467)
jennyhickson Oct 17, 2025
a744440
Working practices (#472)
james-bruten-mo Oct 20, 2025
1d19ec5
switch parent and child (#473)
jennyhickson Oct 20, 2025
9ce6ca9
Misc updates (#470)
jennyhickson Oct 20, 2025
0a8528f
Update the team descriptions (#475)
jennyhickson Oct 22, 2025
cd64cd5
UMDP guidance (#476)
jennyhickson Oct 22, 2025
7278ef7
github tokens (#478)
james-bruten-mo Oct 23, 2025
4427a7e
GitHub and Trunk (#482)
jennyhickson Oct 24, 2025
f74a702
trac and ticket keyword blat (#480)
james-bruten-mo Oct 24, 2025
ade42a0
Keyword flush2 (#484)
james-bruten-mo Oct 29, 2025
827c03d
update most references to trac wiki (#487)
james-bruten-mo Oct 30, 2025
9ca72f4
Formatting fixes (#488)
james-bruten-mo Nov 5, 2025
84cd1cd
gh tweaks (#490)
james-bruten-mo Nov 13, 2025
08434bf
Copyright (#495)
jennyhickson Nov 20, 2025
9bff364
rehash review process (#477)
jennyhickson Nov 20, 2025
8c2ba07
Um Docs update (#496)
jennyhickson Nov 20, 2025
4f288d7
Merge branch 'main' into github_wps
jennyhickson Nov 20, 2025
3065be8
review suggestions
jennyhickson Nov 20, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 14 additions & 8 deletions .github/workflows/publish_wps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@ on:
push:
branches:
- main
- github_wps
pull_request:
types: [opened,reopened,review_requested]
types: [opened, reopened, synchronize]
workflow_dispatch:

permissions:
Expand All @@ -20,18 +21,23 @@ jobs:
run: |
git config --global user.email "[email protected]"
git config --global user.name "SSD Developers"

- name: Check out source
uses: actions/checkout@v4
- uses: actions/setup-python@v5

- name: Setup uv
uses: astral-sh/setup-uv@v6
with:
python-version: '3.x'
python-version: '3.12'

- name: Install Dependencies
run: |
pip install -r .github/workflows/requirements.txt
run: uv sync

- name: build docs
run: |
make clean html
- name: Lint Docs
run: uv run sphinx-lint source

- name: Build Docs
run: uv run make clean html

- name: commit docs to gh-pages branch
if: ${{ github.event_name == 'push' && github.ref_name == 'main' }}
Expand Down
12 changes: 8 additions & 4 deletions .github/workflows/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
Sphinx==6.2.1
sphinx-design==0.5.0
pydata-sphinx-theme
sphinx-sitemap
sphinx==8.2.3
pydata-sphinx-theme==0.16.1
sphinx-design==0.6.1
sphinx-copybutton==0.5.2
sphinx-lint==1.0.0
sphinx-sitemap==2.8.0
sphinxcontrib-svg2pdfconverter==1.3.0

15 changes: 8 additions & 7 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#build output
/build/

#IDE files
/.idea
/.venv/
/venv/
*.egg-info/
*.py[cod]
.idea
.venv/
__pycache__/
build/
uv.lock
venv/
54 changes: 48 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,61 @@
# Simulation Systems

This repository contains documentation that is common across the many simulation and modelling codes owned by the Met Office.
This repository contains documentation that is common across the many
[simulation and modelling repositories](https://github.com/MetOffice/simulation-systems/wiki)
owned by the Met Office.

To build this documentation from the top level of the project run:
## Build the documentation

A quick and clean way to get the package dependencies is via
[uv](https://docs.astral.sh/uv/) package manager.

Ps: Optional system dependencies for PDF generation may require LaTeX
distributions and other third-party libraries.

### using uv

```shell
git clone https://github.com/MetOffice/simulation-systems
cd simulation-systems

# Install dependencies (see pyproject.toml) in project .venv
uv sync
uv run make clean html

# Verify documentation
firefox build/html/index.html
```

### using pip

Alternatively, if your have Python-3.11 or higher installed (sphinx==8.2.3
requirement), you can install the dependencies in a virtual environment via pip,
and build the documentation like:

```shell
cd simulation-systems

</path/to/python3.11+> -m venv .venv
source .venv/bin/activate
pip install .
make clean html
```

### using conda

```shell
conda env create -f env.yml
conda activate sphinx_doc_env
make clean html
firefox build/html/index.html
```

The documentation is written in sphinx markup. To develop changes to this
## Contributing

The documentation is written in sphinx markup. To develop changes to this
documentation first create an issue detailing the changes that are required.
Then create a branch in a clone of this repository, linking it to your issue and
regularly building your changes as described above.
regularly building your changes as described above.

Once happy with your development create a pull request and request a review
from MetOffice/ssdteam.
Once happy with your development create a pull request and request a review from
[MetOffice/ssdteam](https://github.com/orgs/MetOffice/teams/ssdteam).
15 changes: 15 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[project]
name = "simulation-systems"
version = "0.1.0"
description = "Simulation Systems Working Practices"
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"pydata-sphinx-theme==0.16.1",
"sphinx==8.2.3",
"sphinx-design==0.6.1",
"sphinx-copybutton==0.5.2",
"sphinx-lint==1.0.0",
"sphinx-sitemap==2.8.0",
"sphinxcontrib-svg2pdfconverter==1.3.0",
]
Loading
Loading