MetaFam / metagame-wiki

Your collaborative guide to your journey into The MetaGame
https://wiki.metagame.wtf
19 stars 48 forks source link

Bad sidebars file #261

Closed jonathanprozzi closed 3 years ago

jonathanprozzi commented 3 years ago

I was about to start working on #253 and got an error while running locally: `Starting the development server... Error: Bad sidebars file. These sidebar document ids do not exist:

This is resolved locally by adding a .md extension to the the 300-of-metagame file. I think without the .md extension it won't be picked up in the sidebars config, even if the file exists in the directory (without an extension)

jonathanprozzi commented 3 years ago

Just saw that this is already being addressed in PR #259 -- will delete my PR.

Quick note from something I've noticed on this: if a doc missing the .md extension is added to the sidebar it breaks our build process, but if it's missing a .md extension and isn't added to the sidebar the build will succeed but the page won't show up and will give a 404 if someone navigates to it.

luxumbra commented 3 years ago

These changes are now in master, so closing. Thanks for looking into it @jonathanprozzi 🙏🏻