Skip to content

Commit 1580c19

Browse files
author
Verweijen
committed
Make sure code can be found
1 parent a3a9223 commit 1580c19

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ print(table_result)
4545
```
4646

4747
Change `C:\Users\User\Programs\TauArgus4.2.0b5\TauArgus.exe` to the location where argus is installed.
48-
See [tutorial](https://github.com/lverweijen/tree/main/tutorial.md) for a general introduction.
48+
See [tutorial](https://lverweijen.github.io/piargus/tutorial.html) for a general introduction.
4949
See [Examples](https://github.com/lverweijen/tree/main/examples) for more examples.
5050

5151
## See also

docs/source/conf.py

+8
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,11 @@
3131

3232
html_theme = 'sphinx_rtd_theme'
3333
html_static_path = ['_static']
34+
35+
myst_enable_extensions = ["colon_fence"]
36+
37+
# Code is in src. Make sure sphinx can find it
38+
import sys
39+
from pathlib import Path
40+
src_folder = Path(__file__).parent.parent.parent / "src"
41+
sys.path.insert(0, str(src_folder.resolve(strict=True)))

pyproject.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,9 @@ export = [
4444
[project.urls]
4545
Homepage = "https://github.com/lverweijen/piargus"
4646
Repository = "https://github.com/lverweijen/piargus"
47+
Documentation = "https://lverweijen.github.io/piargus"
4748
Issues = "https://github.com/lverweijen/piargus/issues"
48-
Changelog = "https://github.com/lverweijen/piargus/blob/main/changes.md"
49+
Changelog = "https://lverweijen.github.io/piargus/changes.html
4950
5051
[tool.ruff]
5152
line-length = 100

0 commit comments

Comments
 (0)