WIP: rfc.tildeverse.org is a static website powered by Zola! #9

Draft
southerntofu wants to merge 2 commits from southerntofu/rfcs:master into master
First-time contributor

Welcome to the 21st century.

Welcome to the 21st century.
southerntofu changed title from rfc.tildeverse.org is a static website powered by Zola! to WIP: rfc.tildeverse.org is a static website powered by Zola! 2019-08-02 14:56:39 +00:00
ben requested changes 2019-08-02 17:28:45 +00:00
ben left a comment
Owner

looks great so far

looks great so far
config.toml Outdated
@ -0,0 +12,4 @@
# Whether to do syntax highlighting
# Theme can be customised by setting the `highlight_theme` variable to a theme supported by Zola
highlight_code = false
Owner

might be worth enabling this if we want to show code-snippets in future RFCs

might be worth enabling this if we want to show code-snippets in future RFCs
@ -0,0 +1,28 @@
+++
@ -0,0 +23,4 @@
An RFC should be submitted as a PR to the [git repo](https://tildegit.org/tildeverse/rfcs).
Until your RFC gets assigned a number, give it a draft name. For example, a draft name for an RFC to make tilde.chat allow IRC connections without SSL could be `draft-tilde-chat-without-ssl`.
Owner

maybe note that it should end with .md as the file extension

maybe note that it should end with `.md` as the file extension
@ -0,0 +2,4 @@
<html lang="en">
<head>
<link rel="stylesheet" href="https://tilde.team/css/hacker.css">
<link rel="stylesheet" href="/css/fork-awesome.css">
Owner

let's use get_url() here

let's use `get_url()` here
@ -0,0 +3,4 @@
<head>
<link rel="stylesheet" href="https://tilde.team/css/hacker.css">
<link rel="stylesheet" href="/css/fork-awesome.css">
<link rel="icon" type="image/png" sizes="96x96" href="/favicon-96x96.png">
Owner

also use get_url() here

also use `get_url()` here
@ -0,0 +20,4 @@
{% endfor %}
</ul>
<!--
<h1>Drafts</h1>
Owner

let's add this back in for the future when we do have draft RFCs

let's add this back in for the future when we do have draft RFCs
Owner

Is there a particular use for this? I very much prefer to use PHP, as somebody who has done many things with static sites.

Also "welcome to the 21st century" is not a great way to start off the message of a pull request wanting serious changes.

Also, this should be an RFC stating the change that will be made.

Just nitpicking :P

Is there a particular use for this? I very much prefer to use PHP, as somebody who has done many things with static sites. Also "welcome to the 21st century" is not a great way to start off the message of a pull request wanting serious changes. Also, this should be an RFC stating the change that will be made. Just nitpicking :P
Owner

Looks good to me. Feel free to remove the WIP: from the PR title when you feel it's ready

Looks good to me. Feel free to remove the `WIP: ` from the PR title when you feel it's ready
Author
First-time contributor

i did the requested changes although gitea didn't pickup templates/section.html.

For me, there's still a few things to address:

  • add 10 latest drafts/RFCs to the homepage
  • add authorship taxonomy
  • how to deal with drafts (i'll make a separate comment about this)

Also, this should be an RFC stating the change that will be made.

Of course. This is just a work in progress and should not be merged until all docs and RFCs are updated accordingly, which requires some thinking through. I'll open a separate ticket for this

i did the requested changes although gitea didn't pickup `templates/section.html`. For me, there's still a few things to address: - [ ] add 10 latest drafts/RFCs to the homepage - [ ] add authorship taxonomy - [ ] how to deal with drafts (i'll make a separate comment about this) > Also, this should be an RFC stating the change that will be made. Of course. This is just a work in progress and should not be merged until all docs and RFCs are updated accordingly, which requires some thinking through. I'll open a separate ticket for this
Owner

AFAIK drafts are just RFCs that don't have a status of Accepted which should be trivial to loop through as we do for the other RFCs

AFAIK drafts are just RFCs that don't have a status of `Accepted` which should be trivial to loop through as we do for the other RFCs
Author
First-time contributor

Here's a few thought about drafts.

CMS and SSG understand a draft as something not published. So we can't use their internal features for RFC drafts.

They're a semantically different kind of content, but structurally identical to RFCs. So either a taxonomy or a simpler piece of metadata will do the trick.

The question is whether the status of a RFC is binary: accepted/draft. I heard it cannot be refused (because it will be removed from the repo instead), but can it be some other things?

If it's binary, i feel like we don't need a status field because only published RFCs are assigned a number. So if an RFC doesn't have a number, it's a draft. Makes sense so far?

If my assumptions thus far are correct, i would propose to store the drafts in a separate folder: content/drafts. They would be rendered by the same template but the URL would be different (/drafts/rfc-via-webmention/).

This would allow two things:

  • on the template side of things: each section gets rendered separately without overlapping, and the index HTML/RSS output captures new items from both sections
  • on the contribution side of things: having a separate folder for drafts allows the use of a submodule dedicated to drafts, to which we could give bots access to enable RFC contribution gateways (email, indieweb, etc) without giving it access to the main repo

Any thoughts?

Here's a few thought about drafts. CMS and SSG understand a draft as something not published. So we can't use their internal features for RFC drafts. They're a semantically different kind of content, but structurally identical to RFCs. So either a taxonomy or a simpler piece of metadata will do the trick. The question is whether the status of a RFC is binary: accepted/draft. I heard it cannot be refused (because it will be removed from the repo instead), but can it be some other things? If it's binary, i feel like we don't need a status field because only published RFCs are assigned a number. So if an RFC doesn't have a number, it's a draft. Makes sense so far? If my assumptions thus far are correct, i would propose to store the drafts in a separate folder: `content/drafts`. They would be rendered by the same template but the URL would be different (`/drafts/rfc-via-webmention/`). This would allow two things: - on the template side of things: each section gets rendered separately without overlapping, and the index HTML/RSS output captures new items from both sections - on the contribution side of things: having a separate folder for drafts allows the use of a submodule dedicated to drafts, to which we could give bots access to enable RFC contribution gateways (email, indieweb, etc) without giving it access to the main repo Any thoughts?
This pull request has changes conflicting with the target branch.
  • header.php
You can also view command line instructions.

Step 1:

From your project repository, check out a new branch and test the changes.
git checkout -b southerntofu-master master
git pull master

Step 2:

Merge the changes and update on Gitea.
git checkout master
git merge --no-ff southerntofu-master
git push origin master
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: tildeverse/rfcs#9
No description provided.