Commit 9716cfc
authored
Do not remove src files for sub-packages
Fixes the condition where sub-packages do not have the src files generated, and links to them fail with a 404.
A current example of this is in the [ponylang/ssl](https://ponylang.github.io/ssl) documentation, where attempting to view any of the source code in [ssl/net](https://ponylang.github.io/ssl/ssl-net--index/) or [ssl/crypto](https://ponylang.github.io/ssl/ssl-crypto--index/) will result in a 404.
The "removing other sources" section of entrypoint.py removed any sources that did not match the library name.
This changes the behaviour to removing sources that do not match library name *or* library_name + '-'. This is consistent with the "removing other docs" section of entrypoint.py.1 parent 2776003 commit 9716cfc
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| |||
0 commit comments