Open RichardLitt opened 6 years ago
hmm, considering GraphQL works as expected and you have some sort of control over items you're looping over, generating markdown files based on each item should be fairly simple.
hugo new organizations/<name>.md
sed -i 's/.../.../g'
:
sed -i 's/description: ""/description: "<whatever you fetch from graphql>"/g'
That would be simple. Not a bad idea.
I think, since @khos2ow implemented and his PR got merged, this issue can get closed, right, @RichardLitt?
@smusali technically no, my PR was implementing the functionality but this issue is to actually bring over the content (with that functionality).
@khos2ow Still interested in doing that work?
Sure, but I need to refresh my memory on this next week when I got back from vacation.
There are 1000+ organizations on GitHub located in Toronto.. Some 113 of them have more than 25 repositories.
I want to be able to add these automatically. Adding .yaml files by end is exhausting, as is manually adding a ton of websites and data to the README by hand. Right now, my plan is to use GraphQL to get the data I want, and then to shim it into Markdown and ignore the YAML unless I can find an easy way to generate those, too.
Updates will be included in this thread.