-
Couldn't load subscription status.
- Fork 1
Split into a multi page site using Vitepress #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
Conversation
|
run |
|
ok revert the |
|
it's kinda funny 'cause you'll keep trying things until you see this... |
Oh, ok. I'll try it! :]
Ah, yes. Glad I stopped when I did lol. 😅 Whenever things don't work I usually just try whatever until it does. Doesn't always work though... :) |
(maybe)
|
Hmm, seems like it needs to install vitepress or something?? Sorry I'm dumb lol |
|
You have EDIT: EDIT 2: run EDIT 3: you can also test locally without pushing to github by running |
Yep!
Okay.
It added node_modules, which I guess must be an essential component?... and it added a bunch of stuff to the package-lock.json! I have a good feeling about this now. (Seemed like something was missing there.)
I managed to do this before and it worked fine on my machine, and it still works now. The challenge is getting it to work on GitHub... 🤔 |
(probably)
|
I've never seen that error before... |
|
Progress was made! Now it's complaining about my images :> |
just don't commit and push |
I've already added it to the .gitignore! Was able to tell it shouldn't be there from your original pull.
Uh-oh Maybe it's something to do with how the images were put in the markdown? (idk, the error seems to be referencing them) #### Rotation Style: All Around

#### Rotation Style: Left-Right

#### Rotation Style: Don't Rotate
Edit: Looking closer it seems to be a problem with importing the images? ¯\_(ツ)_/¯ |
|
yeah, i'll see if I can figure it out. Also I think I might make a custom markdown extension to handle scratchblocks code blocks. EDIT: you should delete the 2 markdown files in EDIT 2: replace |
Epic!
Apologies, I have no idea why I thought moving the example files to the config dir wouldn't cause any issues 🥲
Shoot, I thought I caught that. |
|
I went back to the docs, maybe this is the problem?
Maybe it's not recognizing the .gifs or something dumb like that? Just throwing out ideas. I might try omitting the images for now and see if it works. |
|
It doesn't like my broken heading links either 8> It says I can disable the check for them though... gonna try it |
|
This is why I don't like deployments lol Seems to be just a permissions issue now though. The build worked! Might have misconfigured something in the repository that is stopping the deployment. Just trying to get it deployed, and then it can be refined later. |
|
Fixed settings issue with deploying (I think; random answer online), going to manually run and see if it will deploy! |
|
...I lack the mental capacity to run it manually, triggering by push 😐 |
|
OK, i got the markdown-it plugin to work but all the blocks are black for some reason? EDIT: of course it doesn't work only on vitepress EDIT 2: now it just deletes everything on the page! |
Awesome! Thanks so much for this: https://github.com/gradylink/sb-mdit
|
Oh, another suggestion. Move contents onto its own page. It's kind weird on the homepage |
After some tinkering, I finally realized that the apostrophe in the name "don't-rotate.gif" was causing the error with vitepress! It put a single quote inside a single-quoted string... // code in the internal error import _imports_2 from '/img/don't-rotate.gif' vitepress complained that it was invalid JS syntax because, well, it was! Yes, this is probably an error that shouldn't happen in the first place, but it's amazing how little things like that can mess it all up. For now, the apostrophe has been removed from the file name, and it now properly loads. Additionally, all assets have been moved to the public folder for easier organization.
per @gradylink's suggestion
|
You should submit a bug to vitepress about the image issue. |
And also just nicer graphics in general
A LOOOOOT of stuff I do not wish to elaborate
a welcome relief after all the other changes added in the previous commit
|
I'll merge this now (before I forget and start writing the entire thing from this branch)... it looks good to me sooooooooo yay! Thank you for all the help, splitting it up was a necessary change and things should be going more smoothly from here on out :D |
|
oh shoot |
|
there :D |
|
yay! |


Fixes #2, and is a continuation of pull request #3. Vitepress has now been set up, but only a couple major sections have been split so far. Much more is to come! Thanks to @gradylink for helping along the process.