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

_menu-item_template _menu_template oddities #803

Open
TheAngryByrd opened this issue Mar 2, 2023 · 2 comments
Open

_menu-item_template _menu_template oddities #803

TheAngryByrd opened this issue Mar 2, 2023 · 2 comments

Comments

@TheAngryByrd
Copy link

👋 Playing around with the menu templating from #754 and I've noticed a few oddities.

  1. Both of these these templates get copied to the output folder:
  copying C:\Users\jimmy\Repositories\public\TheAngryByrd\fsdocstster\build\..\docsSrc\_menu-item_template.html --> .\_menu-item_template.html
  copying C:\Users\jimmy\Repositories\public\TheAngryByrd\fsdocstster\build\..\docsSrc\_menu_template.html --> .\_menu_template.html
  1. They do not update the page during watch mode:
menu-templates-dont-refresh.mp4
@nojaf
Copy link
Collaborator

nojaf commented Mar 2, 2023

Hi there,

For 1. definitely a problem. As for 2. this did work for me. The reload does take a while but eventually comes through.

It might also just be another sign that we should refactor some of the watch bits to something more adaptive 🙈.

@TheAngryByrd
Copy link
Author

So i think some of my issues with this tool are the fact that the working directory has to be the root of the repository. Similarly, other things seem to stop working (like github links to src files in API references) if you don't have it at the root.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants