CHollingworth / Lampray

Linux Application Modding Platform. A native Linux mod manager.
https://www.nexusmods.com/baldursgate3/mods/2169
The Unlicense
174 stars 16 forks source link

feat: Setting up MkDocs #125

Open internetisaiah opened 7 months ago

internetisaiah commented 7 months ago

Overview

Did some research for a static site generator (SSG) that meets the following requirements:

Material for MkDocs seems to be the winner that meets all these criteria. I put together this PR with a preview (although there's still some work to do).

Viewing the site locally

To view the docs preview locally, run the following commands:

pip install mkdocs-material
git checkout setting-up-mkdocs
mkdocs serve

Your terminal output will be similar to the following:

➜  lampray-docs git:(setting-up-mkdocs) mkdocs serve                        
INFO    -  Building documentation...
INFO    -  Cleaning site directory
INFO    -  Documentation built in 0.18 seconds
INFO    -  [21:59:33] Watching paths for changes: 'docs', 'mkdocs.yml'
INFO    -  [21:59:33] Serving on http://127.0.0.1:8000/
INFO    -  [21:59:34] Browser connected: http://127.0.0.1:8000/
...

Here's what you should see in your web browser:

Screenshot 2024-01-26 at 1 11 05 PM

Next steps:

internetisaiah commented 7 months ago

@CHollingworth @SnazzyPanda , working on setting up a static site generate for us. See PR description above for more info and let me know your thoughts so far. Still a bit more to do, but wanted to let you see the progress so far.


Also, some suggestions for the repository. Feel free to ignore these, as CH is still the project lead, so they get to make the call: