debugger icon indicating copy to clipboard operation
debugger copied to clipboard

Improve GH Pages

Open jasonLaster opened this issue 9 years ago • 17 comments

I added a theme for the debugger.html to see what it would be like and it's pretty cool:

https://devtools-html.github.io/debugger.html/videos.html

Having a nice website experience helps us in a couple ways:

  • It is a better first impression
  • It makes the content more readable

Tasks

  • [x] the parser is missing some things
  • [x] we currently index on the docs repo, but I think we should move that to root for the project README.md

Parser

the markdown is not the same and is somewhat lacking:

  • https://devtools-html.github.io/debugger.html/videos.html
  • https://devtools-html.github.io/debugger.html/getting-setup.html

Part of the problem might be that the project doesn't have a config.yml like the debugger-examples.

Part of the solution is likely the parser: https://github.com/blog/2100-github-pages-now-faster-and-simpler-with-jekyll-3-0

Lastly, this is not really a priority at the moment.

CC @clarkbw

jasonLaster avatar Jan 04 '17 04:01 jasonLaster

we currently index on the docs repo, but I think we should move that to root for the project README.md

Yeah, especially if we linked to the various docs from the README this would make sense to me.

clarkbw avatar Jan 04 '17 18:01 clarkbw

Yea! On Wed, Jan 4, 2017 at 1:58 PM Bryan Clark [email protected] wrote:

we currently index on the docs repo, but I think we should move that to root for the project README.md

Yeah, especially if we linked to the various docs from the README this would make sense to me.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/devtools-html/debugger.html/issues/1613#issuecomment-270455244, or mute the thread https://github.com/notifications/unsubscribe-auth/AAPiYic4SgJWmyKO46_KmbSrjtgi_HR8ks5rO-vdgaJpZM4LaSVC .

jasonLaster avatar Jan 04 '17 19:01 jasonLaster

I changed GH Pages directory to be master

jasonLaster avatar Jan 06 '17 14:01 jasonLaster

If somebody has GH Pages or Jekyll experience and would be able to help us improve this, it would be really appreciated.

jasonLaster avatar Jan 06 '17 14:01 jasonLaster

Could be looking a lot better! 😼 https://devtools-html.github.io/debugger.html/

clarkbw avatar Jan 06 '17 19:01 clarkbw

@clarkbw looking better: https://devtools-html.github.io/debugger.html/

all the links are broken tho 😈

jasonLaster avatar Jan 09 '17 14:01 jasonLaster

Hmm, not sure how we have links that work in HTML and the README at the same time. In HTML you want to link to https://github.com/devtools-html/debugger.html/blob/master/docs/debugging-the-debugger but in Markdown you need to link to https://github.com/devtools-html/debugger.html/blob/master/docs/debugging-the-debugger.md

clarkbw avatar Jan 10 '17 02:01 clarkbw

We could use https://devtools-html.github.io/ which will require a separate repository to host website, docs and other related things. It could also have documentation for other packages in devtools-core and of devtools-reps in single repository. But I'm not sure how feasible this would be.

irfanhudda avatar Jan 10 '17 15:01 irfanhudda

Good call @irfanhudda I'm sure at some point we'll want that to describe the larger project!

jasonLaster avatar Jan 10 '17 21:01 jasonLaster

This looks helpful https://github.com/github/markup/issues/900

https://github.com/devtools-html/debugger.html/pull/1706

jasonLaster avatar Jan 14 '17 04:01 jasonLaster

Hmm, #1706 didn't quite do it.

Here's a way to set up gh pages locally which could help https://help.github.com/articles/setting-up-your-github-pages-site-locally-with-jekyll/

With this said, I'm okay waiting on this for now as it's a low priority compared to the developer workflow imo

jasonLaster avatar Jan 14 '17 19:01 jasonLaster

I can help, but not sure how to approach this, where's the website repo? what are the changes need to be made?

liorpr avatar Jan 16 '17 10:01 liorpr

@liorpr At this time https://devtools-html.github.io/debugger.html/ is generated by github using this projects' README.md.

The problem with this approach is that links (for other articles in docs/ folder) are not generated properly. They point to raw markdown files.

For now, it would be good to have them point to actual html pages. Jekyll appears to be a good option as github pages uses it.

irfanhudda avatar Jan 16 '17 12:01 irfanhudda

Are there any mock ups/designs/something for this?

liorpr avatar Jan 26 '17 12:01 liorpr

haha - i think we just want it to be functional right now. A good place to start is getting the homepage links working.

https://devtools-html.github.io/debugger.html/

jasonLaster avatar Jan 26 '17 17:01 jasonLaster

lets add proselint

https://github.com/webpack/webpack.js.org/blob/master/.proselintrc

and other things from webpack.js.org

jasonLaster avatar Feb 02 '17 15:02 jasonLaster

@irfanhudda you did an amazing job here!

jasonLaster avatar Feb 03 '17 19:02 jasonLaster