Commit dedcf8c
committed
libvcs(__init__, ci) Export __version__; fix docs path filter
why: gp_sphinx.config.make_linkcode_resolve() reads __version__ via
getattr(package_module, "__version__", ""), falling back to "" and
generating broken source-link URLs like blob/v/src/... The docs CI
also never triggered on Python source changes because the paths-filter
used libvcs/** instead of src/libvcs/** (src layout).
what:
- Export __version__ from .__about__ in __init__.py
- Add __version__ to __all__
- Fix paths-filter: libvcs/** -> src/libvcs/**
- Add workflow_dispatch trigger to docs.yml1 parent 1f0c49f commit dedcf8c
2 files changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
33 | | - | |
| 34 | + | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
13 | 15 | | |
| 16 | + | |
14 | 17 | | |
15 | 18 | | |
16 | 19 | | |
| |||
0 commit comments