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

Documentation for "block" is missing #154

Closed
neenhouse opened this issue Sep 27, 2024 · 2 comments
Closed

Documentation for "block" is missing #154

neenhouse opened this issue Sep 27, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@neenhouse
Copy link

The documentation for block https://github.com/rgst-io/stencil/blob/main/docs/functions/file.Block.md is not showing up on https://stencil.rgst.io/functions/file.Block.html

CleanShot 2024-09-27 at 11 02 08@2x

@jaredallard
Copy link
Member

Yeah there's something horribly wrong with the static sites link handling. It's always failing to load a direct link.

So, workaround:

  • Click that link.
  • Click "file.Create". Hit CMD+R (or Ctrl+R)
  • Watch as "file.Create" is broke
  • Click "file.Block", now it loads 🤷

Anyways, that's absurd, so I'll try to figure this out 😆

@jaredallard jaredallard added the bug Something isn't working label Sep 27, 2024
jaredallard added a commit that referenced this issue Oct 3, 2024
For some reason vitepress' router seems to break if pages have multiple
dots in the name of the file. So, we replace it with `_` instead and
adjust the title to make it work properly.

Seems to work locally but won't know for sure until I get a cloudflare
page running.
jaredallard added a commit that referenced this issue Oct 3, 2024
Cloudflare treats the "functions" dir as a special directory, so files
in this dir will not be deployed. This is now fixed by changing that
directory to "funcs" instead.

See cloudflare/workers-sdk#2240
@jaredallard
Copy link
Member

This is now fixed!

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
None yet
Development

No branches or pull requests

2 participants