Comments (13)
sounds good, do you have anything in mind to accomplish this?
from recipes.
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.
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.
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.
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.
Yeah, we need some place to collect all recipes...
...and rule them all!
from recipes.
I try to do it myself right now +)
from recipes.
that would be awesome 😄 🍻
from recipes.
DONE! http://deployer.org/recipes
from recipes.
Nice 👍
Although there's quite a few 404 errors in the Recipes table. ><
from recipes.
good job @Elfet
from recipes.
@gordalina can you rewrite README to relative links? (Like in docs)
from recipes.
done on 968b283
from recipes.
Related Issues (20)
- Email recipe HOT 4
- [Error] Call to undefined method Symfony\Component\Console\Helper\QuestionHelper::getInputStream() HOT 5
- What about merging recipes and deployer? HOT 7
- Issue with recipe/sentry HOT 3
- [slack] No branch or commit name HOT 2
- add npm build to npm recipe
- Rsync filterperdir wrong variable HOT 2
- RocketChat Integration HOT 2
- Sentry recipe fails when there's no .git directory HOT 2
- MS Teams notification integration HOT 1
- Website recipes documentation is not aligned with repository docs
- Problems configuring cachetool
- Sentry Release/Deploy fails due to server response HOT 4
- Segmentation Fault / Slack Recipe / PHP 7.3
- Problem resolving CacheTool binary
- Catch-22: Deployer installs composer dependencies, but deployer/recipes is a dependency HOT 3
- Zulip recipe HOT 1
- releaseIsGitDirectory() needs to return 0 if it's not a git repo
- Rollbar notify do not work with --hosts option
- New cachetool release (5.X) breaks cachetool recipe expectations for PHP 7.1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from recipes.