-
-
Notifications
You must be signed in to change notification settings - Fork 265
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Future development #6
Comments
Regarding generating docs from inline docblocks: It would be a effective way to get adapters of Larecipe. |
Hey @saleem-hadad , I wanted to make the same For future perspective, at least from my current point of view - i would like to try However, issue with What are your opinions on this? |
About Search support, I'd recommend Algolia 😄, and not only because I work there haha. Algolia powers search on the Laravel docs (as well as composer, vuejs, react, yarn, packagist, and more). You can integrate via Laravel Scout, or you can get in touch with the DocSearch team to make it easy to integrate for your users. DocSearch is entirely free, as long as the doc is for an open source projet: https://community.algolia.com/docsearch/ Very nice project, congratulations! 🎉 |
Sure, Apidocjs is deprecated. My main suggestion was Docblock :) API Formats
|
i wouldn't use the I think, Cool thing with API Blueprint (apiary) is the tight integration with DREDD for automated API testing.. However, it looks like that you still need to "manually" write the |
oh yeah.. another point in favor for |
Thank you @johannesschobel for your feedback, my pleasure 👻 |
@julienbourdeau haha 😂, of course, Algolia is the best 🎊I was thinking of using Laravel Scout along with Algolia for sure. |
The more I think about it, the more I think that API Docs should not be part of th this package but rather be optional.. What is your opinion on this?! |
Absolutely, If Docblocks implemented it gonna be as an optional plugin 👌 |
hey all take a look here https://github.com/mpociot/documentarian Docblocks FTW 👍 |
@ijpatricio I know this package.. It has some flaws you don't want to deal with.. further, it is also quite stale.. I would highly recommend to use an established standard, like API blueprint or others.. Cheers |
@johannesschobel
What kind of flaws? I just installed and played around a little, still to implement and use it for real... |
@saleem-hadad something i'm using now is vuepress, and wrap it in Laravel, serving the static asstes from a route and response with content and mimetype.. I would also gladly contribute, for snippet inclusion from file, as described here |
I dislike the way of the annotations.. Sure it works, I used the Laravel-doc-generator to generate the docs from code.. but didn't feel "natural" to me.. Further, I think (! Not sure !) that the format is "proprietary", i.e. It does not follow a standard.. 🤔 |
Update here -> #25 I think it's better to discuss on proper Issue thread, or things may become too much mixed, right?? |
|
It would be great if we could
|
@saleem-hadad can you elaborate on what you had in mind for the feature I also wanna 👍 docblocks support. I've seen similar front-end projects that include types and parameters via a React component, like |
Thank you @kalynrobinson for your awesome help. |
Is there a possibility of adding support for multiple docs? For example, have one Laravel app with multiple documentation sets and each documentation set has its own directory/versions/search/links. I am also using this for work (thanks for such an awesome package) but we are wanting to host all of our documentation under one auth system. |
I also agree with this feature. Join all documentations in one LaRecipe installation is a good idea. |
I am looking forward to having a way to edit the docs through an editor instead of updating the source and pushing them everytime. |
@abishekrsrikaanth this feature will be available after supporting multi-languages |
I'm writing my API docs with larecipe - great software, thanks! The main thing I'm missing is some kind of reusable data structures like in the Blueprint specification. I try to explain. I usually work with API Resources. Naturally, from time to time I have to add or change a field in these resources. Since I can use the resource in many responses in my API (e.g. a user resource which is nested in another resource), I have to update the api docs in many places after such a change. If I could, for instance, put my example response for a resource in a dedicated file or block, and just reference it in the docs, it would make the process a lot easier ... |
+1 for Subdomain |
when the editor will available for edit the docs. |
@rico Thanks for sharing this and glad you enjoy working with Larecipe |
So right now if you have multiple themes installed, it will load the CSS Styling for all of them. Whichever one is loaded last takes precedence over the other ones. Example, using your dark theme I wanted to make some adjustments to it so created my own and only wanted to add styling for the changes i wanted but because it got loaded first (due to it going alphabetically) your dark one made my changes mute. I feel like a config for order they should be loaded would be awesome. |
Nice Gotcha @AbbyJanke |
@saleem-hadad PR #166 for the themes. Was either then I was expecting it to be in my head. |
UI editor would be nice, but it would require to implement some mechanism similar to a CMS, where all docs could be created from UI. |
@robsontenorio like @saleem-hadad has in blogged? I kinda think it’s not totally appropriate here because there’s so much more you can do here between vue components in markdown, the alerts boxes, etc, I feel like it would be just as easy as it is now, but probably really hard to build. Though a nice Ui might keep the docs easier to understand as you’re building them - like better structure layout. |
Basic idea: We can deal with creating I would dare say it would be something similar to https://www.gitbook.com/ |
Ah gotchya. Yeah gitbook is absurdly expensive. Like offensively expensive. Once I found this I was very happy with my choice to go with it. Getting it closer to what gitbook offers would be sweet. |
How about export full pledged pdf file from docs |
Agree. It would be awesome to make something like this: <?php // config/larecipe.php
return [
'docs' => [
[
'route' => '/docs/admin',
'path' => '/resources/docs/admin',
'landing' => 'overview',
'middleware' => ['web', 'auth'],
],[
'route' => '/docs/user',
'path' => '/resources/docs/user',
'landing' => 'overview',
'middleware' => ['web'],
],
]
//...
]; |
This will definitely be a good feature. As we want to separate the documentation for end-users with internal users (who are managing the end users) |
@saleem-hadad Heck yes. I’d pay. Keep this thing going. Love using it. |
i wouldn't discard this package if it was using react. It'll be great to have a react version. |
Hello, great package! Has there been any progress made on support for multiple docs? I see that this was added to the To Do list, but I don’t see any documentation for it, and when I tried to use multiple configuration arrays for the |
Here are some ideas for future improvement of this library:
Confirmed coming:
Not in plan (but feel free to contribute)
Feel free to suggest yours
The text was updated successfully, but these errors were encountered: