-
Notifications
You must be signed in to change notification settings - Fork 37
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
Use Static Site Generation #171
Comments
I've become a fan of MkDocs, especially Material for MkDocs. I'm trying a few things on a separate branch DocumentationAfter trying various packages and generating options, there doesn't seem to be a way to easily include Doxygen documentation, as such I'd currently recommend extracting the header & footer and use that similar to how it's done currently. NavigationCurrently we have semi-hierarchical setup Tutorials and Documentations being listed under the Learn page, but their URLs are directly tutorial/ and documentation/. To achieve this, we cannot generate the navigation based on the file layout and thus need some extension like mkdocs-literate-nav.
DesignMaterial for MkDocs of course implies the usage of Material Design. This goes against the branding requirement. My hopes is that we can use some custom styling to make it look a bit closer to the current "corporate identity". First however, I want to make sure we can fully cover all the features we want. Material for MkDocs automatically supports light and dark mode, as well as respective switchers. Preview |
I've hooked up Cloudflare Pages to the mentioned branch and the result can be browsed here: https://sfml.pages.dev/ |
Instead of attempting a big bang migration, which due to the 400+ pages to create/edit is a massive task, I believe it's better to slowly integrate SFML 3 changes and keep the old & new setup in parallel. In a first phase, I want to add new pages into the existing tree, meaning that for example SFML 3 tutorials live as static pages in the
In a second phase, we'd replace the landing pages:
In a third phase, we'd do a complete rewrite:
|
The SFML tutorials (and other parts of the website) have been kept unchanged for a long time now. I see three factors that affected the contributions:
Using some form of Static Site Generation (SSG) which creates HTML from Markdown files, would lower the barrier to writing more content and also allow for prompting editing more directly, among a large selection of "modern" web features. However there are a few points that I see as important and wouldn't want to sacrifice for the sake of simplicity or "being modern".
Requirements
Optionals
The text was updated successfully, but these errors were encountered: