-
Notifications
You must be signed in to change notification settings - Fork 106
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
Update website and zine (Zig 0.13) and fix broken links #229
Merged
Merged
Changes from 1 commit
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
85ecb88
Update website and zine (Zig 0.13) and fix broken links
MatthiasPortzel ad4794b
Use cpp for syntax highlighting
MatthiasPortzel dad77f8
Update frontmatter with @date and drop level of indentation
MatthiasPortzel b580134
Rename .html templates to .shtml
MatthiasPortzel File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,13 @@ | ||
const std = @import("std"); | ||
const zine = @import("zine"); | ||
|
||
pub fn build(b: *std.Build) !void { | ||
pub fn build(b: *std.Build) void { | ||
// zine.scriptyReferenceDocs(b, "content/documentation/scripty/index.md"); | ||
try zine.addWebsite(b, .{ | ||
zine.website(b, .{ | ||
.layouts_dir_path = "layouts", | ||
.content_dir_path = "content", | ||
.static_dir_path = "static", | ||
.site = .{ | ||
.base_url = "https://microzig.tech", | ||
.title = "Zig Embedded Group", | ||
}, | ||
.host_url = "https://microzig.tech", | ||
.title = "Zig Embedded Group", | ||
}); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
--- | ||
{ | ||
"title": "Home", | ||
"date": "2020-07-06T00:00:00", | ||
"author": "Felix Queißner", | ||
"draft": false, | ||
"layout": "getting-started.html", | ||
"tags": [] | ||
.title = "Home", | ||
.date = "2020-07-06T00:00:00", | ||
MatthiasPortzel marked this conversation as resolved.
Show resolved
Hide resolved
|
||
.author = "Felix Queißner", | ||
.draft = false, | ||
.layout = "getting-started.html", | ||
.tags = [] | ||
} | ||
--- | ||
Dummy, full text is implemented in the HTML file for now. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
--- | ||
{ | ||
"title": "Home", | ||
"date": "2020-07-06T00:00:00", | ||
"author": "Felix Queißner", | ||
"draft": false, | ||
"layout": "index.html", | ||
"tags": [] | ||
.title = "Home", | ||
.date = "2020-07-06T00:00:00", | ||
.author = "Felix Queißner", | ||
.draft = false, | ||
.layout = "index.html", | ||
.tags = [] | ||
} | ||
--- | ||
Dummy, full text is implemented in the HTML file for now. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
<extend template="base.html"/> | ||
<extend template="base.html"> | ||
|
||
<title id="title" var="$page.title"></title> | ||
|
||
<div id="content"> | ||
<nav id="intro-nav"> | ||
<h1>zig embedded group</h1> | ||
<img src="img/ember.svg" alt="vectorized Ember, the awesome zeg mascot!"> | ||
<img src="/img/ember.svg" alt="vectorized Ember, the awesome zeg mascot!"> | ||
</nav> | ||
|
||
|
||
<div id="page" var="$page.content"></div> | ||
|
||
<footer> | ||
<img src="img/ember.svg" alt="vectorized Ember, the awesome zeg mascot!"> | ||
<img src="/img/ember.svg" alt="vectorized Ember, the awesome zeg mascot!"> | ||
</footer> | ||
</div> |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would suggest going with the tagged release since kristoff has made one.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't understand the Zig package system to know what advantage we get from using a different URL.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The main version is using a well defined release version that the library creator has determined is good to go rather than a specific commit. If we want to stick with a commit that is alright, I just think using explicit versions tends to make more sense to me. Using zon, you can do something like ...#v0.4.1 as the # just expects a particular git ref.