Git Product home page Git Product logo

Comments (26)

joedf avatar joedf commented on June 18, 2024

Well ghpages supports Jekyll.... Maybe that would be simpler?
https://help.github.com/articles/using-jekyll-with-pages/

from awesome-autohotkey.

G33kDude avatar G33kDude commented on June 18, 2024

... It is an autohotkey script for converting the readme into html pages.

https://github.com/ahkscript/awesome-AutoHotkey/blob/gh-pages/AAH2html.ahk

Edit: Good to see fincs has done a proper markdown interpreter though, I was just cheating at it with a few simple regexes. I'll see if I can add it in

from awesome-autohotkey.

hi5 avatar hi5 commented on June 18, 2024

OK missed that script, just saw the HTML pages with similar content to the readme.md

fincs function isn't a "complete" markdown solution but supports the basics...

from awesome-autohotkey.

G33kDude avatar G33kDude commented on June 18, 2024

It wasn't originally an AutoHotkey script, but it quickly became one once I saw there was already a pretty decent list I could contribute to.

Edit: Originally I wanted to contribute to the wiki, but they don't allow new people to register (probably due to the large amount of spambots registering accounts). I decided to start my own project then, after looking around, so I did. I didn't see this one until later

from awesome-autohotkey.

rshipp avatar rshipp commented on June 18, 2024

Wow, that wiki list has a ton of scripts. Who's in charge of that, is it not just TLM or tank?

from awesome-autohotkey.

G33kDude avatar G33kDude commented on June 18, 2024

Not sure, but @joedf has an account on it

from awesome-autohotkey.

G33kDude avatar G33kDude commented on June 18, 2024

gh-pages currently doesn't display author information or if an item is discontinued. I'll need to fix this eventually I think.

from awesome-autohotkey.

hoppfrosch avatar hoppfrosch commented on June 18, 2024

gh-pages seem to be outdated:

  • not all items from readme.md are visible
  • the document structure differs from readme.md (no level 4 headings are shown ...)

BTW: Whats the suggested way to regenerate gh-pages after editing readme.md?

from awesome-autohotkey.

G33kDude avatar G33kDude commented on June 18, 2024

You merge the main branch into the gh-pages branch, then run converter script. Afterwards, you verify in the diff that nothing went wrong. After you've verified, you push the gh-pages branch.

Want me to get that, or would you like to try?

Also it's very possible that it's missing some sections, so we might need to update the converter.

from awesome-autohotkey.

joedf avatar joedf commented on June 18, 2024

What if we used Jekyll or something

from awesome-autohotkey.

G33kDude avatar G33kDude commented on June 18, 2024

Have you ever tried to get Jekyll up and running on a windows desktop? It's no small feat, in my experience. Also, what does Jekyll bring to the table that we can't already do?

from awesome-autohotkey.

joedf avatar joedf commented on June 18, 2024

So that's a no? But, we don't need to install Jekyll on our own computer. :/

from awesome-autohotkey.

G33kDude avatar G33kDude commented on June 18, 2024

You don't have to install Jekyll, but it's a lot harder to develop for something when you can review changes after pushing to somewhere. Also, I'm not sure Jekyll offers the functionality that we're using (building a site from a single md file). I thought it was a more structured thing, requiring specifically named, written, and organized files. If we do go with Jekyll, it'd mean we would need to manage/write the gh-pages branch separately from the main branch.

from awesome-autohotkey.

joedf avatar joedf commented on June 18, 2024

Ok, :P

from awesome-autohotkey.

hoppfrosch avatar hoppfrosch commented on June 18, 2024

Same experience here: jekyll is hard to install on windows - and developing without possibility to check locally is pretty uncool ...

@G33kDude: I'll try to merge gh_pages and running rhe converter script. In case of failure or problems I'll be right back ;-)


Edit: gh_pages succesfully rebuild and published on github

from awesome-autohotkey.

joedf avatar joedf commented on June 18, 2024

ok, cool.

from awesome-autohotkey.

hoppfrosch avatar hoppfrosch commented on June 18, 2024

Current gh_pages misses a lot of entries from readme.md. Either the gh_pages generator (AAH2html.ahk) has to be enhanced a lot and/or the Contributing.md file has to be adapted accordingly.

What currently fails with AAH2html.ahk:

  • markdown is not rendered: text decorations in markdown like italic (WORD) or bold (WORD) are not translated correctly into corresponding HTML-Tags
  • a lot of entries within readme.md are currently lost after conversion into gh_pages, as the entries are not according contributing.md. Most failures are caused by missing the hyphen after the script link. For example *Eval by fincs (discontinued) fails because the hyphen before "by" is missing ...
  • the structure of readme.md, using section and subsections is lost, as subsections are not considered ....

There should by a guideline within contributing.md where to put the author and the state of the script.

from awesome-autohotkey.

vasili111 avatar vasili111 commented on June 18, 2024

There should by a guideline within contributing.md where to put the author and the state of the script.

Agree with you @hoppfrosch and made #42 to discuss that.



About github pages: I am not good at html and how gh works so I can't say too much about that topic. I will agree what community decides.

from awesome-autohotkey.

joedf avatar joedf commented on June 18, 2024

Thoughts? uses Strapdown.js (marked.js as the parser) + strapdown-topbar.js (by me 😄 )
Hosted Example: http://ahkscript.org/joedf/awesome-autohotkey/
Branch: https://github.com/ahkscript/awesome-AutoHotkey/tree/markdown-web-test-1

from awesome-autohotkey.

hoppfrosch avatar hoppfrosch commented on June 18, 2024

Generally like it, as it's preserving the structure of the main page and renders markdown almost correctly

A few things:

  • The gitter chat badge on the very top of the page is not rendered correctly
  • Styling: Headlines do not differ enough IMHO (You nearly cannot distinguish optically, whats a h1, h2, h3 ....
  • Table of contents does not preserve the hierarchical structure of TOC in Readme.md - it's simply converted in a plain list without hierarchy
  • Menubar: Contents Menu does not preserve the hierarchical structure of TOC in Readme.md. Maybe use of submenues make sense here .....

from awesome-autohotkey.

joedf avatar joedf commented on June 18, 2024

Thanks :)
Yes, there's a few issues with the parser. I don't think it actually supports a " Table of contents". The menubar I could fix. As for the rest, I'll just have to adjust the CSS a little bit, and fix the gitter badge.

from awesome-autohotkey.

hoppfrosch avatar hoppfrosch commented on June 18, 2024

@joedf: did you work on this recently?

My suggestion: as long as there is no good solution available (currently AAH2html.ahk is outdated and does not convert markup syntax correctly into html (i.e. bold, italic ...)) its not possible to generate good gh-pages. At the moment the gh-pages are terribly outdated.
Therefore my suggestion: remove/disable gh-pages until we have a relyable converter

My personal opinion is that we don't need the gh-pages at all - the gh-pages don't add any additional infromation which isn't available within README.md; it's just a different visual representation. Other awesome lists (like https://github.com/sorrycc/awesome-javascript also lack gh-pages. Therefore the gh-pages should be removed finally IMHO.

from awesome-autohotkey.

joedf avatar joedf commented on June 18, 2024

@hoppfrosch
No, I have not.
I imagine that you are right, I am not sure why we had gh-pages.

from awesome-autohotkey.

MasterFocus avatar MasterFocus commented on June 18, 2024

My 2 cents (without actually reading the whole thing): I don't think we need an HTML version, as we can simply point people to the awesome-autohotkey README file in GitHub.

from awesome-autohotkey.

hoppfrosch avatar hoppfrosch commented on June 18, 2024

As there were no objections and no reasons to keep the gh-pages, gh-pages are gonna be removed. Also the scripts to generate the gh-pages are removed as they are obsolete.

from awesome-autohotkey.

vasili111 avatar vasili111 commented on June 18, 2024

I agree that removing gh-pages is good idea. I don't see the need in two formats, especially when github format is pretty good.

from awesome-autohotkey.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.