Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
81 commits
Select commit Hold shift + click to select a range
364beb6
Initial commit
jubalh Jan 3, 2020
58320f5
Add link to theme
jubalh Jan 3, 2020
dc5c71a
Fix baseURL
jubalh Jan 3, 2020
d2b4a92
Fix RSS link
jubalh Jan 3, 2020
8b440b1
Add README
jubalh Jan 3, 2020
40359b6
Add blogpost on how to get a backtrace
Jan 26, 2020
ea768ec
Remove unwanted folder public
Jan 26, 2020
d91e31d
Merge pull request #1 from mdosch/master
jubalh Jan 26, 2020
495767a
Merge pull request #2 from mdosch/blogpost-backtrace
jubalh Jan 26, 2020
1f6ad53
Add a link to an example issue and to the blogpost where the howto wa…
Jan 26, 2020
cdfb06c
Merge pull request #3 from mdosch/update-blogpost-backtrace
jubalh Jan 26, 2020
4d0102a
Add gitignore
jubalh Jan 28, 2020
f2d2d0d
Add authors to posts
jubalh Jan 28, 2020
6512d4d
Adjust date for Martins post
jubalh Jan 28, 2020
e14b981
Dont use bold for author
jubalh Jan 28, 2020
ae1fc9b
Add full content to the RSS feeds.
Jan 31, 2020
c39b26b
Merge pull request #4 from mdosch/mdosch
jubalh Jan 31, 2020
af71bd6
Add a little helper script for creating blogposts
Feb 1, 2020
c11e59a
Update author pages and make authors shown in blogposts
jubalh Feb 1, 2020
31ad778
Remove manual authorship from posts
jubalh Feb 1, 2020
71791f1
Add TODO
jubalh Feb 1, 2020
0edc7c6
Merge pull request #5 from mdosch/mdosch
jubalh Feb 1, 2020
03d4e67
Fix editor
jubalh Feb 1, 2020
931fd39
Update mdoschs author page.
Feb 1, 2020
c309560
Merge pull request #6 from mdosch/master
jubalh Feb 3, 2020
cbc3d2f
Add first version of 0.8.0 blogpost
jubalh Feb 3, 2020
0e88858
Merge branch 'master' of github.com:profanity-im/blog
jubalh Feb 3, 2020
627b418
Improve release-080 post
jubalh Feb 3, 2020
ca46ddc
Add image
jubalh Feb 3, 2020
310b242
Remove image for now
jubalh Feb 3, 2020
37ffecb
More corrections
jubalh Feb 3, 2020
82a8f7d
Adapt helper script to not use fullname
jubalh Feb 6, 2020
3ddd450
Add LMC post
jubalh Feb 14, 2020
7a9fbea
Update LMC post
jubalh Feb 14, 2020
132e5a1
Edit lmc post
jubalh Feb 17, 2020
35b4470
Add correct picture path
jubalh Feb 17, 2020
c3951cf
tmux and profanity
Mar 3, 2020
28a702c
Complete LMC
jubalh Mar 9, 2020
de77d4a
Merge pull request #7 from DebXWoody/tmux
jubalh Mar 24, 2020
e39cf73
add debxwoody stub author page
jubalh Mar 24, 2020
04f0683
Post: XML console in Profanity
pasis Apr 9, 2020
0700cd0
Merge pull request #8 from profanity-im/xmlconsole
jubalh Apr 9, 2020
ffb20ce
add pasis authors page
jubalh Apr 13, 2020
f515a6d
Add contrib via gh post
jubalh Apr 15, 2020
bef860f
Fix typo
mdosch Apr 15, 2020
c84d6fd
Merge pull request #9 from mdosch/patch-1
jubalh Apr 15, 2020
b940783
New mailing list
jubalh Apr 19, 2020
2727908
Add 0.9.0 release post
jubalh Jun 9, 2020
f36b6d9
apply proofreading by peetah
jubalh Jun 9, 2020
47f1807
fix 090 screenshot
jubalh Jun 9, 2020
d433397
link release
jubalh Jun 9, 2020
3877dac
fix date
jubalh Jun 10, 2020
1cebda1
Fix typo
mdosch Jul 6, 2020
2c370c3
Merge pull request #10 from mdosch/patch-2
jubalh Jul 6, 2020
457601e
Merge branch 'master' of github.com:profanity-im/blog
jubalh Jul 6, 2020
b121c66
OMEMO Post
Nov 27, 2020
d46c513
Attention flag
Jun 5, 2021
da035fe
Merge pull request #12 from DebXWoody/master
jubalh Jun 7, 2021
c411f8b
Add note about master
jubalh Jun 7, 2021
17c1424
jubalh twitter link
jubalh Jun 7, 2021
1da0483
Add pinephone post by karcio
jubalh Feb 2, 2022
1c68c16
Add OX post from debxwoody
jubalh Mar 24, 2022
9d74ad6
Add ox note
jubalh Mar 24, 2022
1d7dcf7
Add 0.10.0 blogpost
jubalh Jul 8, 2022
86f371b
add 0.11.0 release blogpost
jubalh Jul 8, 2022
272e7d5
Add release 0.12.0 post
jubalh Jul 11, 2022
fecbc5c
Fix date for 012 release
jubalh Jul 11, 2022
640c56d
Add 0.13.1 post
jubalh Oct 13, 2022
13a1d3e
Add distrobox post
jubalh Feb 22, 2023
067989c
Expand readme
jubalh Apr 6, 2023
fe41746
Fix typo
jubalh Apr 7, 2023
c748185
Add 0.14.0 release post
jubalh Aug 17, 2023
2c1eb49
Generate top level files with static site generator
bkmgit Mar 1, 2026
94285f8
Update blog to latest commit
bkmgit Mar 12, 2026
b3e6443
Add blog sources into main website repository
bkmgit Mar 12, 2026
3ce6251
Remove submodule after merging
bkmgit Mar 12, 2026
accc8c4
Migrate blog to sblg
bkmgit Mar 13, 2026
15b9c84
Automate site generation and deployment
bkmgit Mar 13, 2026
6d14ef7
Update checkout action version
bkmgit Mar 13, 2026
de7ef9b
Document how to add content
bkmgit Mar 21, 2026
5f41569
Merge branch 'sblg' of github.com:bkmgit/profanity-im.github.io into …
bkmgit Mar 21, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Build and Deploy Site
on: push
jobs:
build:
runs-on: ubuntu-latest
container:
image: fedora:latest

steps:
- uses: actions/checkout@v6
- run: cat /etc/os-release
- name: install dependencies
run: |
sudo dnf -y update
sudo dnf install -y lowdown make sblg
- name: build site
run: make
- name: package site
run: |
mkdir site
make install PREFIX=$(pwd)/site
- name: Upload artifact
uses: actions/upload-pages-artifact@v4
with:
path: site

deploy:
needs: build

permissions:
pages: write
id-token: write

environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
images/.DS_Store
.DS_Store
node_modules
blog_sources/public/
blog_sources/themes/
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "blog_source"]
path = blog_source
url = https://github.com/profanity-im/blog
67 changes: 67 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
SBLG = sblg
PREFIX = $(HOME)/profanity
BLOG_POST_SRC_DIR = blogsource/content/post
BLOG_POST_OUT_DIR = blog
BLOG_POSTS = $(wildcard $(BLOG_POST_SRC_DIR)/*.md)
BLOG_POSTS_OUT = $(subst $(BLOG_POST_SRC_DIR), $(BLOG_POST_OUT_DIR), $(BLOG_POSTS:.md=.html))
CONTRIBUTORS_SRC_DIR = blogsource/content/contributors
CONTRIBUTORS_OUT_DIR = contributors
CONTRIBUTORS = $(wildcard $(CONTRIBUTORS_SRC_DIR)/*.md)
PAGES_SRC_DIR = pagesource
PAGES = $(wildcard $(PAGE_SRC_DIR)/*.xml)
PAGES_OUT = $(subst $(PAGES_SRC_DIR),, $(PAGES:.xml=.html))
REDIRECTS_DIR = pageredirects
REDIRECTS_SRC = $(wildcard $(REDIRECTS_DIR)/*.html)
REDIRECTS = $(subst $(REDIRECTS_DIR)/,,$(REDIRECTS_SRC))

all: index.html $(PAGES_OUT) themegallery.html $(BLOG_POSTS_OUT) $(BLOG_POST_OUT_DIR)/atom.xml \
$(BLOG_POST_OUT_DIR)/index.html $(CONTRIBUTORS_OUT) $(CONTRIBUTORS_OUT_DIR)/index.html $(REDIRECTS)

install: index.html $(PAGES_OUT) themegallery.html $(BLOG_POSTS_OUT) $(BLOG_POST_OUT_DIR)/atom.xml \
$(BLOG_POST_OUT_DIR)/index.html $(CONTRIBUTORS_OUT) $(CONTRIBUTORS_OUT_DIR)/index.html $(REDIRECTS)
mkdir -p $(PREFIX)
install -m0444 *.html $(PREFIX)
install -m0444 -p -D -t $(PREFIX)/blog blog/*.html
install -m0444 -p -D -t $(PREFIX)/blog/img blog/img/*.png
install -m0444 -p -D -t $(PREFIX)/contributors contributors/*.html
install -m0444 -p -D -t $(PREFIX)/contributors/img contributors/img/*jpg
cp -p -r css $(PREFIX)
cp -p -r guide $(PREFIX)
cp -p -r images $(PREFIX)
cp -p -r js $(PREFIX)
cp -p -r plugins $(PREFIX)
cp -p -r tarballs $(PREFIX)

index.html: landing-template.xml
$(SBLG) -o $@ -t landing-template.xml -c index.xml

$(PAGES_OUT): manual-template.xml
$(SBLG) -o $@ -t manual-template.xml -c $(addprefix $PAGES_SRC_DIR)/,($(subst .html,.xml,$@))

themegallery.html: gallery-template.xml
$(SBLG) -o $@ -t gallery-template.xml -c themegallery.xml

$(BLOG_POST_OUT_DIR)/atom.xml $(BLOG_POST_OUT_DIR)/index.html $(BLOG_POSTS_OUT): $(BLOG_POSTS)
$(MAKE) -C $(BLOG_POST_SRC_DIR)
mkdir $(BLOG_POST_OUT_DIR)
mv $(BLOG_POST_SRC_DIR)/*.html $(BLOG_POST_OUT_DIR)/
mv $(BLOG_POST_SRC_DIR)/atom.xml $(BLOG_POST_OUT_DIR)/
cp --preserve=mode,ownership,timestamps --recursive $(BLOG_POST_SRC_DIR)/img $(BLOG_POST_OUT_DIR)/
$(MAKE) -C $(BLOG_POST_SRC_DIR) clean

$(CONTRIBUTORS_OUT_DIR)/index.html $(CONTRIBUTORS_OUT): $(CONTRIBUTORS)
$(MAKE) -C $(CONTRIBUTORS_SRC_DIR)
mkdir $(CONTRIBUTORS_OUT_DIR)
mv $(CONTRIBUTORS_SRC_DIR)/*.html $(CONTRIBUTORS_OUT_DIR)/
cp --preserve=mode,ownership,timestamps --recursive $(CONTRIBUTORS_SRC_DIR)/img $(CONTRIBUTORS_OUT_DIR)/
$(MAKE) -C $(CONTRIBUTORS_SRC_DIR) clean

$(REDIRECTS): $(REDIRECTS_SRC)
cp --preserve=mode,ownership,timestamps $(addprefix $(REDIRECTS_DIR)/,$@) .

clean:
$(MAKE) -C $(BLOG_POST_SRC_DIR) clean
$(MAKE) -C $(CONTRIBUTORS_SRC_DIR) clean
rm -f index.html $(PAGES_OUT) themegallery.html $(REDIRECTS)
rm -r $(BLOG_POSTS_XML) $(BLOG_POSTS_OUT) $(BLOG_POST_OUT_DIR)
rm -r $(CONTRIBUTORS_XML) $(CONTRIBUTORS_OUT) $(CONTRIBUTORS_OUT_DIR)
29 changes: 26 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,30 @@
Sources for https://profanity-im.github.io

Most site are edited by hand.
Command references (main_fragment.html, toc_fragment.html), and apidocs are generated via `profanity docgen`.
See the [release guide](https://github.com/profanity-im/profanity/blob/master/RELEASE_GUIDE.md) for details.

Blog sources are at [https://github.com/profanity-im/blog](https://github.com/profanity-im/blog).
Top level pages are generated from xml sources using [sblg](https://kristaps.bsd.lv/sblg/).
The source file for the landing page is index.xml which contains html for everything other
than the header and footer. The source files for other top level pages are in the folder
`pagesource`. These are xml files which contain html content for everything other than the
header and footer. Edit them by hand.

Blog entry sources are in the directory `blogsource/content/post`. These are markdown
files which are processed by [lowdown](https://kristaps.bsd.lv/lowdown). To create a new
blog entry enter the directory `blogsource`. Run `blog-post.sh` to create a blog post
starter file. Edit the starter file created in `blogsource/content/post/` to add the
content for the blog post. If you do not have a contributor profile, please create one in
`blogsource/content/contributors`. See one of the existing contributor profiles for the
formatting. Optionally add an image in jpeg format with name `username.jpg` to be used with
your profile in `blogsource/content/contributors/img`.

Command references (main_fragment.html, toc_fragment.html), and apidocs are generated via
`profanity docgen`. See the
[release guide](https://github.com/profanity-im/profanity/blob/master/RELEASE_GUIDE.md) for
details.

GitHubActions will build and deploy the website for updates to blog entries and to changes in
the top level pages.

To build the site locally, type `make` in the top level directory. You will need to have
[sblg](https://kristaps.bsd.lv/sblg/) and [lowdown](https://kristaps/bsd.lv/lowdown) installed
on your system.
10 changes: 10 additions & 0 deletions atom-template.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>Feed</title>
<link href="https://profanity-im.github.io/blog/" />
<link href="https://profanity-im.github.io/blog/atom.xml" rel="self" />
<id />
<updated />
<entry data-sblg-forall="1" data-sblg-entry="1" data-sblg-altlink="1"
data-sblg-altlink-fmt="https://profanity-im.github.io/blog/${sblg-base}.html" />
</feed>
81 changes: 0 additions & 81 deletions blog/about/index.html

This file was deleted.

21 changes: 0 additions & 21 deletions blog/authors/debxwoody/index.html

This file was deleted.

60 changes: 0 additions & 60 deletions blog/authors/debxwoody/index.xml

This file was deleted.

22 changes: 0 additions & 22 deletions blog/authors/index.html

This file was deleted.

Loading