Skip to content
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

Move manual to its own repo #745

Closed
PragTob opened this issue Jun 1, 2014 · 5 comments
Closed

Move manual to its own repo #745

PragTob opened this issue Jun 1, 2014 · 5 comments
Assignees
Labels
Milestone

Comments

@PragTob
Copy link
Member

PragTob commented Jun 1, 2014

(moved/adapted from shoes/shoesrb.com#46 for better visibility)

Right now the shoesrb website basically is HTML generated from the manual markdown file in the shoesrb.com repository. The real source file for the manual is in the shoes repository and in the shoes4 repository (manual-en.txt). The markdown files are used for our built in manual there.

I would want to have this all in one place and then the others just use that one file so that they do not get out of sync. E.g. I don't want someone to change something in the HTML at shoesrb.com that is not propagated back to the original markdown. Also the other way around, an update to the manual in the shoes4 repository should show up on the shoesrb.com home page.

We could just manually copy it over every once in a while (from a manual repository) but maybe a gem would be better, because you know GEMIFY ALL THE THINGS - so we could serve that as a gem for shoes4/3 (or maybe we just leave 3 alone) and have it as a dependency. The website should be able to just use the markdown. Right now the manual is just one gigantic file so it might be good to split that up to multiple files (according to sub pages), as I dunno if jekyll can handle that one big markdown file the way we want it to handle (with subpages). So either multiple files (should work) or we build a rake task that compiles the HTML files.

We can't just use the gem for the web page, because with github pages we can't use pages afaik :(

Either way, having a central manual authority would be really neat and important!

So yeah what do you think about that?

Cheers,
Tobi

cc: #731

@PragTob PragTob added this to the 4.0.0-rc1 milestone Jun 1, 2014
@PragTob PragTob added the manual label Jun 1, 2014
@wasnotrice
Copy link
Member

I agree, it would be great to have the manual be easy to edit and
regenerate, and to keep in sync. Good idea!

On Sun, Jun 1, 2014 at 4:24 AM, Tobias Pfeiffer notifications@github.com
wrote:

(moved/adapted from shoes/shoesrb.com#46
shoes/shoesrb.com#46 for better visibility)

Right now the shoesrb website basically is HTML generated from the manual
markdown file in the shoesrb.com repository. The real source file for the
manual is in the shoes repository and in the shoes4 repository (
manual-en.txt
https://github.com/shoes/shoes4/blob/master/static/manual-en.txt). The
markdown files are used for our built in manual there.

I would want to have this all in one place and then the others just use
that one file so that they do not get out of sync. E.g. I don't want
someone to change something in the HTML at shoesrb.com that is not
propagated back to the original markdown. Also the other way around, an
update to the manual in the shoes4 repository should show up on the
shoesrb.com home page.

We could just manually copy it over every once in a while (from a manual
repository) but maybe a gem would be better, because you know GEMIFY ALL
THE THINGS - so we could serve that as a gem for shoes4/3 (or maybe we just
leave 3 alone) and have it as a dependency. The website should be able to
just use the markdown. Right now the manual is just one gigantic file so it
might be good to split that up to multiple files (according to sub pages),
as I dunno if jekyll can handle that one big markdown file the way we want
it to handle (with subpages). So either multiple files (should work) or we
build a rake task that compiles the HTML files.

We can't just use the gem for the web page, because with github pages we
can't use pages afaik :(

Either way, having a central manual authority would be really neat and
important!

So yeah what do you think about that?

Cheers,
Tobi

cc: #731 #731


Reply to this email directly or view it on GitHub
#745.

@jasonrclark
Copy link
Member

Agreed, and absolutely think the manual deserves a lot of love and care before the full 4.0 release, so this would be a good step in making that easier to do.

@PragTob
Copy link
Member Author

PragTob commented Nov 14, 2014

While we restructure our gem structure (#931) and extracted shoes-highlighter this might be worthwhile to tackle soon as well.

What do you think?

@jasonrclark
Copy link
Member

Seems reasonable to me. Will consider picking this up as I'm doing my gem shuffling (hopefully this weekend, or next week as I'm traveling around RubyConf!)

@jasonrclark jasonrclark modified the milestones: 4.0.0.pre3, 4.0.0-rc1 Nov 14, 2014
@PragTob PragTob changed the title Move manual its own repo Move manual to its own repo Nov 16, 2014
@jasonrclark jasonrclark self-assigned this Dec 3, 2014
@PragTob
Copy link
Member Author

PragTob commented Dec 4, 2014

👏 @jasonrclark

@PragTob PragTob closed this as completed Dec 4, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants