Closed
Bug 877189
Opened 13 years ago
Closed 8 years ago
Support Markdown documentation published with Jekyll / Github Pages
Categories
(developer.mozilla.org Graveyard :: General, defect, P2)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: lorchard, Unassigned)
References
Details
(Whiteboard: [type:feature])
Copying this over from an email thread...
On 5/28/13 4:41 PM, Fred Wenzel wrote:
> Arnau (of buildingfirefoxos fame) has prototyped a variant of the site
> using markdown files for the content pages.
>
> The site is here:
> http://buildingfirefoxos.github.io/site/
>
> Repository:
> https://github.com/buildingfirefoxos/site
>
> And an example markdown file:
> https://github.com/buildingfirefoxos/site/blob/master/building-blocks/confirm.md
>
> https://raw.github.com/buildingfirefoxos/site/master/building-blocks/confirm.md
>
> A contribution would work like this:
> - Press the "edit" button on a markdown file in github
> - (github forks and opens the edit dialog)
> - make your edits, submit
> - this will open a pull request on the main repo.
> - one of the collaborators on the main repository looks at and merges the PR
> - it'll show up on the site near-instantly when merged.
>
> Some thoughts:
> - This model has the beauty of being community-editable via github
> (unlike the initial wordpress version). It also has full code
> autonomy, so live demos of web components etc. are no problem.
> - We'd need to figure out who should be contributor on the repository
> and can merge pull requests, but I think if we have a few people,
> that'd be good.
> - This content could, down the road, be migrated into MDN when MDN has
> the feature to pull in markdown files from github. The prototype was
> built with this option in mind.
> - the site will get its own domain (not: github.io) but that only
> makes sense when it's not a prototype any longer.
>
>
> So what do you think? For those of you expecting to edit this content
> frequently: Does this model work for you? Do you have any questions or
> concerns?
| Reporter | ||
Comment 1•13 years ago
|
||
----- Original Message -----
> From: "Luke Crouch" <lcrouch@mozilla.com>
> Sent: Wednesday, May 29, 2013 10:01:38 AM
> Subject: Re: Building Firefox OS prototype using Jekyll and Markdown
>
> Bringing Les into this to think about the technical implications for
> MDN.
Coincidentally enough, I just got back from GlueCon where There was a session by Brandon West of SendGrid on using Jekyll for tech docs. It's working for them, and seems very simple & straightforward.
> I like this a lot. I suggested looking at prose.io to give writers a
> WYSIWYG editor for the Markdown content, but prose.io is now a
> Chrome-only site?! So maybe that's a crap-shoot. Of course it's
> open-source so we could try to fix it ourselves.
Odd... it was just working fine in Firefox last week. If it's not, and it's still OSS, then some Firefox contributions might help
> On 5/28/13 4:41 PM, Fred Wenzel wrote:
> >
> > Arnau (of buildingfirefoxos fame) has prototyped a variant of the
> > site using markdown files for the content pages.
> >
> > A contribution would work like this:
> > [... github PR flow ... ]
This can work great, mostly. One snag we've run into with contributions like that on Kuma, though, is that forked repos don't seem to have any way to rebase or merge from upstream through the GitHub GUI.
So, that means your initial fork-and-PR works great. But, then your fork drifts out of sync with the upstream repo, and eventually no further PRs can be merged without manual command line intervention. That, or you can delete the fork and start fresh.
> > Some thoughts:
> > - This model has the beauty of being community-editable via github
> > (unlike the initial wordpress version). It also has full code
> > autonomy, so live demos of web components etc. are no problem.
Yeah, living on a subdomain and using the Git-based contribution and review process makes unrestricted code a lot less risky on these collections of docs.
> > - We'd need to figure out who should be contributor on the
> > repository and can merge pull requests, but I think if we have a few people,
> > that'd be good.
Depending on the project & repository, I think that's a team policy decision. (ie. I'm thinking of many projects using this, beyond buildingfirefoxos)
> > - This content could, down the road, be migrated into MDN when MDN
> > has the feature to pull in markdown files from github. The prototype
> > was built with this option in mind.
FWIW, this probably won't happen. What might happen is that we host our own Jekyll (or workalike). But, I don't want to see these kinds of docs getting shoehorned into the wiki.
> > - the site will get its own domain (not: github.io) but that only
> > makes sense when it's not a prototype any longer.
We should talk with IT about how we might be able to get MDN subdomains, e.g.:
buildingfirefoxos.developer.mozilla.org
| Reporter | ||
Comment 2•13 years ago
|
||
Also relevant from bug 861981:
(In reply to John Karahalis [:openjck] from comment #18)
> To answer my own question, here is a list of some important projects at
> Mozilla that are documented in source control. All of these projects use
> Markdown. Some of these projects host additional documentation on a project
> website, but none of them use Read the Docs.
>
> For each item in the list, a small/medium/large indicator is provided to
> reflect the size of their Markdown documentation library.
>
> * [small] https://github.com/mozilla/pdf.js
> * [small] https://github.com/mozilla/shumway
> * [small] https://github.com/mozilla/sweet.js
> * [small] https://github.com/mozilla/openbadges
> * [small] https://github.com/mozilla/servo
> * [medium] https://github.com/mozilla/collusion
> * [medium] https://github.com/mozilla/mortar-*
> * [large] https://github.com/mozilla/browserid
> * [large] https://github.com/mozilla/openwebapps
> * [large] https://github.com/mozilla/rust
| Reporter | ||
Comment 3•13 years ago
|
||
Copied from an email thread:
We don't need to be blocked by building our own github-hook-driven Jekyll. GitHub offers Jekyll-as-a-service with Github Pages:
http://pages.github.com/
GitHub Pages is very flexible about styling & etc. Really, the only thing it doesn't let you do is run your own custom Jekyll plugins. (That could be the blocker, if we absolutely need custom plugins)
Updated•13 years ago
|
Whiteboard: [type:feature]
Updated•13 years ago
|
Component: Editing → General
| Reporter | ||
Updated•13 years ago
|
Summary: Support Markdown documentation published with Github Pages / Jekyll → Support Markdown documentation published with Jekyll / Github Pages
Updated•8 years ago
|
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
Updated•6 years ago
|
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•