Skip to content

Commit d7685ad

Browse files
committed
configure Jekyll and add about page
Reverted the Jekyll theme to minima for now, to allow local preview. Configured Jekyll to show meaningful project description etc. Edited the about page to give a context for the project.
1 parent 366e452 commit d7685ad

6 files changed

Lines changed: 48 additions & 23 deletions

File tree

‎docs/Gemfile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ source "https://rubygems.org"
88
# This will help ensure the proper Jekyll version is running.
99
# Happy Jekylling!
1010
# This is the default theme for new Jekyll sites. You may change this to anything you like.
11-
#gem "minima", "~> 2.5"
11+
gem "minima", "~> 2.5"
1212
# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
1313
# uncomment the line below. To upgrade, run `bundle update github-pages`.
1414
gem "github-pages", group: :jekyll_plugins

‎docs/Gemfile.lock‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,7 @@ PLATFORMS
216216
DEPENDENCIES
217217
github-pages
218218
jekyll-feed (~> 0.12)
219+
minima (~> 2.5)
219220
tzinfo (~> 1.2)
220221
tzinfo-data
221222
wdm (~> 0.1.1)

‎docs/_config.yml‎

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,18 @@
1818
# You can create any custom variable you would like, and they will be accessible
1919
# in the templates via {{ site.myvariable }}.
2020

21-
title: Your awesome title
22-
email: your-email@example.com
21+
title: Fix - Documentation and Dev Diary
22+
email: fix@arne-mertz.de
2323
description: >- # this means to ignore newlines until "baseurl:"
24-
Write an awesome description for your new site here. You can edit this
25-
line in _config.yml. It will appear in your document head meta (for
26-
Google search results) and in your feed.xml site description.
24+
You can find the dev diary <a href="https://arne-mertz.de/category/fix-dev-diary/>at my blog</a>
25+
as well, among posts about C++ and maintainable code.
2726
baseurl: "" # the subpath of your site, e.g. /blog
2827
url: "" # the base hostname & protocol for your site, e.g. http://example.com
29-
twitter_username: jekyllrb
30-
github_username: jekyll
28+
twitter_username: arne_mertz
29+
github_username: arnemertz
3130

3231
# Build settings
33-
theme: jekyll-theme-slate
32+
theme: minima
3433
plugins:
3534
- jekyll-feed
3635

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,33 @@
11
---
22
layout: post
3-
title: "Dev diary 2021-07-25"
3+
title: "Dev diary week 1"
44
date: 2021-07-25 18:16:05 +0200
55
---
6+
7+
## July 25th, 2021: Setup
8+
69
Today's work was mostly preparation for the actual start of the project - or restart, I should say.
710

8-
## [add initial project structure](https://github.com/arnemertz/fix/commit/d98d4e901ee5092476ea5df95e0e006e609d1bc1)
11+
### [Add initial project structure](https://github.com/arnemertz/fix/commit/d98d4e901ee5092476ea5df95e0e006e609d1bc1)
912

1013
I copied a bunch of configuration files from my docker4c_test project, which is in turn based on Jason Turner's [cpp_starter_project](https://github.com/lefticus/cpp_starter_project). I trimmed a few things from the CMake files, e.g. I won't be using GUI stuff for now, and went through clang-format line by line to adapt it to my style.
1114

1215
I removed all the code and replaced the main program with a simple hello world application. Unit tests are gone, too, all that remains is the catch_main library.
1316

1417
There will be some more setup to be done in the next couple of days, e.g. adding libraries, setting up the behave testing framework, etc. I'll not set those up right now, but when I need them for the first time.
1518

16-
## [install jekyll](https://github.com/arnemertz/fix/commit/b950b058031d5c711e8d8cdc0cebd286f6bb43bd)
19+
### Setting up the Documentation
1720

1821
The one thing I need right now is Jekyll, as I want to have the dev diary and additional documents served on GitHub pages in addition to publishing them on the blog. I spent way too much time trying to get a local preview of the pages. It seems I have overlooked something in the docs or something changed recently - none of the GitHub pages themes can be found.
1922

20-
I'll leave it as it is for now and open an issue on one of the theme pages as I followed their documentation to the letter. I'll still have to figure out how to structure the GitHub page, so it might take some time until there's more than an empty page.
23+
24+
## July 26th, 2021: Fighting Jekyll
25+
26+
### [Install Jekyll](https://github.com/arnemertz/fix/commit/b950b058031d5c711e8d8cdc0cebd286f6bb43bd)
27+
28+
I installed Jekyll yet again, fought a few things I overlooked before, but it still won't work. I'll leave it as it is for now and open an issue on one of the theme pages as I followed their documentation to the letter. I'll still have to figure out how to structure the GitHub page, so it might take some time until there's more than an empty page. It's a bit frustrating.
29+
30+
2131

2232

2333

‎docs/about.md‎

Lines changed: 24 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,31 @@ title: About
44
permalink: /about/
55
---
66

7-
This is the base Jekyll theme. You can find out more info about customizing your Jekyll theme, as well as basic Jekyll usage documentation at [jekyllrb.com](https://jekyllrb.com/)
7+
## What is Fix?
88

9-
You can find the source code for Minima at GitHub:
10-
[jekyll][jekyll-organization] /
11-
[minima](https://github.com/jekyll/minima)
9+
Fix is a toy project. It is meant to become an issue tracker with a quirk: The issue database is stored alongside the code in your Git repository. That way, when you fix a bug in your local branch and close the issue, it remains open on every other branch - until the bugfix is merged, and the state change of the issue with it.
1210

13-
You can find the source code for Jekyll at GitHub:
14-
[jekyll][jekyll-organization] /
15-
[jekyll](https://github.com/jekyll/jekyll)
11+
I've come across the idea a couple of years back in a version control system named [Veracity](http://veracity-scm.com/) that has since been discontinued. I know, that does not look promising regarding the feasibility of the project, but I'm fine with that.
1612

1713

18-
[jekyll-organization]: https://github.com/jekyll
14+
## Why is Fix?
15+
16+
Fix is meant primarily for me to practice things I have not done extensively in the past months and to learn new things I have not done at all. I also will take topics I encounter during development and [blog](https://arne-mertz.de) about them. In addition, there's a developer diary, as an experiment to document my thoughts and development process.
17+
18+
The topics I want to practice/learn include, but are definitely not restricted to:
19+
- Test Driven Development (TDD). Yes, I know. I should have this down by now, but there's always something to learn in that area. Besides, in the projects I have been working on at work recently, TDD was not really much of a thing. I want to get into the habit of doing htis automatically again.
20+
- Behavior Driven Development (BDD). Think of it loosely as test driven, but on the feature and requirements level. (I'll probably be called out for that). I'll use the Behave framework, which means writing some Python which I want to practice, too. I have [written about BDD and behave](https://arne-mertz.de/2016/12/bdd-python-behave/) in the past.
21+
- Domain Driven Design (DDD). I know the basics in theory, but never actually used it in projects. I've used elements of it, but not properly with bounded contexts, hexagonal architecture and all the bells and whistles. I'll probably commit mistakes especially in this area, so point them out to me, I'm eager to learn.
22+
- C++20. I haven't been able to use more than C++14 in the last years at work, I've done some C++17 tinkering on the side, but C++20 is mostly new to me.
23+
- CMake. There's always more to learn in that regard. I know the basics here, as well. With this project, I hopefully have a reason to dig deeper.
24+
- Frameworks and libraries I haven't used before or not in a long time. Like Catch2 for unit tests, and who knows what I will use for other purposes.
25+
26+
## Where is Fix?
27+
28+
The project itself can be found [on GitHub](https://Github.com/arnemertz/fix), together with the dev diary. The dev diary will also be published [on my blog](https://arne-mertz.de/category/fix-dev-diary/). More detailed blog posts about the topics I encounter will be published exclusively on the blog, but I might link to them from the dev diary.
29+
30+
If you look at the link to the BDD post above, or into the project history at GitHub, you'll see that I started this approximately 5 years ago. This is a complete restart, from scratch, and I hopefully stick longer to it than last time.
31+
32+
## Who is Fix?
33+
34+
You mean, why the name? Back in the day when I was looking for a name I already knew it should be integrated into Git repositories. So it was "... in Git". Or "...ing it". Ah. "Fixing it" seemed good for an issue tracker, so it will be "Fix in Git" when it's done and actually integrated - and Fix until then.

‎docs/index.md‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,9 @@
33
# To modify the layout, see https://jekyllrb.com/docs/themes/#overriding-theme-defaults
44

55
layout: home
6-
title: documentation
6+
title: Dev Diary
77
---
88

9-
# Dev Diary
109
{% for post in site.posts %}
1110
- [{{ post.title }}]({{ site.baseurl }}{{ post.url }})
1211
{% endfor %}

0 commit comments

Comments
 (0)