-
Notifications
You must be signed in to change notification settings - Fork 5
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
fix dashIndexFilePath
in Info.plist
#3
Comments
Regarding the conversion of the absolute links for providers contained in the docset the following approach might work:
This should create relative paths for all locally available files. |
Hi @mundanevision20 -- Thank you for this very thorough report! I've updated the index page and added the
A compromise could be rewriting the links only after the rendering is complete, as then Enjoy the festive season! |
Hi @roberth-k,
Thanks for maintaining this. This docset has been very helpful to me so far.
It looks like the current value index.html of
dashIndexFilePath
is invalid as the file can not be located within the docsetsDocuments
directory.Using
terraform/intro/index.html
might be a good idea.Off topic Three more things I noticed so far when using the docset:
I also noticed that the docset contains the original absolute links (e.g.
https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/databricks_workspace
) instead of relative links (e.g.providers/hashicorp/azurerm/latest/docs/resources/databricks_workspace
) in references of provider docs. I understand thatrender.py
seems to handle the conversion of relative links in line 281. Embedding a method to filter for provider docs contained with the docset would be great.some docs for providers like e.g. Databricks are apparently using so called cuddled lists which require the
cuddled-lists
extension to be rendered withmarkdown2
I propose to add the cuddled lists extension to the list of extensions in
render.py
click to collapse before and after results
minifying the assets (e.g. when returning html in line 236 of
render.py
might reduce the required disk quota and increase the performance. However this is not a issue from my point of view it's rather a nice to have.I hope my comments are helpful to you. Unfortunately English is not my mother tongue. I'd like to apologize for any misleading or inappropriate language.
Looking forward to your feedback.
Kind regards,
Henning
The text was updated successfully, but these errors were encountered: