Skip to content

Commit ea5bf2c

Browse files
authored
Merge pull request #548 from OpenCOMPES/update-docs-in-readme
Update README.md
2 parents 9064ca5 + bb43e40 commit ea5bf2c

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/workflows/documentation.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,10 +131,14 @@ jobs:
131131
VERSION=${GITHUB_REF#refs/tags/}
132132
echo "folder=sed/$VERSION" >> $GITHUB_OUTPUT
133133
rm docs-repo/sed/stable
134+
rm -rf docs-repo/sed/latest
134135
ln -s -r docs-repo/sed/$VERSION docs-repo/sed/stable
136+
ln -s -r docs-repo/sed/$VERSION docs-repo/sed/latest
135137
elif [[ $GITHUB_REF == refs/heads/main ]]; then
138+
rm -rf docs-repo/sed/latest
136139
echo "folder=sed/latest" >> $GITHUB_OUTPUT
137140
else
141+
rm -rf docs-repo/sed/develop
138142
echo "folder=sed/develop" >> $GITHUB_OUTPUT
139143
fi
140144

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[![Documentation Status](https://github.com/OpenCOMPES/sed/actions/workflows/documentation.yml/badge.svg)]([https://opencompes.github.io/sed/](https://opencompes.github.io/docs/sed/latest/))
1+
[![Documentation Status](https://github.com/OpenCOMPES/sed/actions/workflows/documentation.yml/badge.svg)](https://opencompes.github.io/docs/sed/stable/)
22
[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)
33
![](https://github.com/OpenCOMPES/sed/actions/workflows/linting.yml/badge.svg?branch=main)
44
![](https://github.com/OpenCOMPES/sed/actions/workflows/testing_multiversion.yml/badge.svg?branch=main)
@@ -58,11 +58,11 @@ pip install sed-processor
5858

5959
# Documentation
6060
Comprehensive documentation including several workflow examples can be found here:
61-
https://opencompes.github.io/docs/sed/latest/
61+
https://opencompes.github.io/docs/sed/stable/
6262

6363

6464
# Contributing
65-
Users are welcome to contribute to the development of **sed-processor**. Information how to contribute, including how to install developer versions can be found in the [documentation](https://opencompes.github.io/docs/sed/latest/misc/contribution.html)
65+
Users are welcome to contribute to the development of **sed-processor**. Information how to contribute, including how to install developer versions can be found in the [documentation](https://opencompes.github.io/docs/sed/stable/misc/contribution.html)
6666

6767
We would like to thank our contributors!
6868

0 commit comments

Comments
 (0)