Generate top level files with static site generator#128
Generate top level files with static site generator#128bkmgit wants to merge 79 commits intoprofanity-im:masterfrom
Conversation
Add a blogpost on how to get a backtrace
Removed unwanted folder public.
…s first published
Add a link to an example issue and to the blogpost where the howto was first published
Should be taken from metadata. Don't know how yet.
Add full content to the RSS feeds.
Add a little helper script for creating blogposts
Update mdoschs author page.
Thanks pep and debacle!
Attention flag
|
It is possible to build the site using CI, sblg is in Fedora repositories. |
|
Cool! I just wanted to look into this next week! That's awesome. I have never heard of sblg or lowdown. I'll need some time to review this. |
|
At the moment it builds the main html pages at the top level of the repository: The blog would require a bit more effort to migrate. Is it desired to keep the blog styling or use the current website styling? One could take the markdown files and convert these to html first then use sblg to integrate them, but would like to get some idea if this would be desired. Can add a CI script to build and deploy the site if that would be helpful for your review. |
The command reference for example is created by a command in profanity
I would prefer if it would use the current website styling. It was just too much work for me at the time so I decided to use an existing scheme. The blog repo is here: https://github.com/profanity-im/blog I use hugo to generate the html from the markdown. So I think we can just move those markdown files in this repo, drop the So basically this repo here contains content from three places:
It's a bit messy so I would definitely appreciate if we could simplify and cleanup this process. |
sblg is driven by a makefile, and can process html or xml output. So current output from profanity --docgen is fine. Would integrate this into a CI build in GitHub actions so that the current documentation is easy to update. The python documentation:
Perhaps adding this repo as a submodule and then merging it would allow to keep git history. Can then re-process the markdown files using lowdown.
If we integrate the blog and markdown conversion is ok, then can migrate the main site pages to markdown for easier maintenance. New guide pages could be written in markdown, but probably not worth migrating guide pages for older versions to markdown. |
Done keeping history of blog sources
Ensure directories are created
|
@jubalh You can preview the site at https://bkmgit.github.io/profanity-im.github.io/ blog has been integrated. Can this be merged? Have not integrated the generation of the api documentation or the python sphinx |
|
One thing to fix in the blog posts is the time stamps, but waiting for response to kristapsdz/sblg#26 |
May close #85
As sblg works with xml, it is also possible to do the migration progressively.
To use html as indicate at https://kristaps.bsd.lv/sblg/article10.html one can use lowdown.
The blog can also be integrated