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

Created a Doc website and the 'guides' and 'concepts' sections have an extra '/' at the beginning of the generated site #174

Open
bkbonner opened this issue Aug 20, 2024 · 0 comments

Comments

@bkbonner
Copy link

bkbonner commented Aug 20, 2024

I think this is related to line 31 of navMain.ninja, but it could be something else. If I remove the slash in the project created after shock create, it works, but the result of the build for index.html is:

    <!-- Group of menu items -->
    <div class="link-group">
      <span class="title">Guides</span>
      <ol>
        
        <li><a href="//guides/guide-1/">Guide 1</a></li>
        
        <li><a href="//guides/guide-2/">Guide 2</a></li>
        
        <li><a href="//guides/guide-3/">Guide 3</a></li>
        
      </ol>
    </div>

So the address in the browser window becomes: http://guides/guide-1/. vs. http://localhost:4000/guides/guide-1/

Hopefully that makes sense.

I'm watching the Youtube Episode #48 for Observable Flutter from 3 weeks ago (and it failed at 34:20).

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

1 participant