Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hexdoc.data.sitemap.delete_updated_books assumes a file structure like .../{version}/{lang}/.sitemap-marker.json instead of using ModPluginWithBook #76

Open
object-Object opened this issue Jun 11, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@object-Object
Copy link
Member

Ideally, ModPluginWithBook should have a method to get the relative path from a site book path (eg. /v/1.0.0/1.0/en_us/) to the site path (eg. /v/1.0.0/1.0/). This should be tested for the case where these paths are the same.

@object-Object object-Object added the bug Something isn't working label Jun 11, 2024
@github-project-automation github-project-automation bot moved this to 📋 Backlog in hexdoc Jun 11, 2024
@object-Object
Copy link
Member Author

This would also be helpful for the new image rendering, to get a shorter path to the renders directory (eg. ../../../../v/1.0.0/1.0/renders/... vs ../renders/...).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: 📋 Backlog
Development

No branches or pull requests

1 participant