GithubHelp home page GithubHelp logo

Comments (13)

gordalina avatar gordalina commented on July 19, 2024

sounds good, do you have anything in mind to accomplish this?

from recipes.

antonmedv avatar antonmedv commented on July 19, 2024

I think there is must be route:

$app->get('/recipes', function () {
    // TODO render  page
});

Which will be parse GitHub repositories (deployphp/recipe/, deployphp/deployer/recipes/) for *.php files with GitHub API. And parse PHP code of recipe, collecting data (task names, env vars, params) and DocBlock. And generate one page with all recipes on it.

Recipe: Symfony

Tasks

...

Parameters

...

Recipe: Laravel

Tasks

...

Parameters

...

from recipes.

johnny-bit avatar johnny-bit commented on July 19, 2024

The recipes themselves have docs as required by Contributing section in readme. Why not instead of parsing php file, get markdown doc for each recipe and render it using something like Parsedown?

from recipes.

ZeeCoder avatar ZeeCoder commented on July 19, 2024

If you look at the docs repo, this is exactly what the site does.
Now I think the idea here is that now the "API" of the recipes would be available on the site, which would be generated dynamically.

I think @Elfet means to keep the existing recipe documentation, since there could be a lot to explain about a recipe's usage / best practices, but it would be great to have an automatically-generated documentation from DocBlock comments, like this: http://api.symfony.com/2.0/Symfony/Component/Translation/Translator.html

from recipes.

johnny-bit avatar johnny-bit commented on July 19, 2024

Ah, I see :)

2015-06-11 11:10 GMT+02:00 Hubert Viktor [email protected]:

If you look at the docs https://github.com/deployphp/docs repo, this is
exactly what the site does.
Now I think the idea here is that now the "API" of the recipes would be
available on the site, which would be generated dynamically.

I think @Elfet https://github.com/elfet means to keep the existing
recipe documentation, since there could be a lot to explain about a
recipe's usage / best practices, but it would be great to have an
automatically-generated documentation from DocBlock comments, like this:
http://api.symfony.com/2.0/Symfony/Component/Translation/Translator.html


Reply to this email directly or view it on GitHub
#8 (comment).

Pozdrawiam,
Hubert Kowalski

from recipes.

antonmedv avatar antonmedv commented on July 19, 2024

Yeah, we need some place to collect all recipes...

...and rule them all!

from recipes.

antonmedv avatar antonmedv commented on July 19, 2024

I try to do it myself right now +)

from recipes.

gordalina avatar gordalina commented on July 19, 2024

that would be awesome 😄 🍻

from recipes.

antonmedv avatar antonmedv commented on July 19, 2024

DONE! http://deployer.org/recipes

from recipes.

ZeeCoder avatar ZeeCoder commented on July 19, 2024

Nice 👍
Although there's quite a few 404 errors in the Recipes table. ><

from recipes.

gordalina avatar gordalina commented on July 19, 2024

good job @Elfet

from recipes.

antonmedv avatar antonmedv commented on July 19, 2024

@gordalina can you rewrite README to relative links? (Like in docs)

from recipes.

gordalina avatar gordalina commented on July 19, 2024

done on 968b283

from recipes.

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.