There was a problem in Heroku when using the default "localhost". We must change it to "0.0.0.0". We can help others by adding this to the documentation so they don't have to invest much time to find the solution like me.
Signed-off-by: António Santos <toi.santos@gmail.com>
There needs to be a review of the docs. This pull request is intended to fix obvious incorrect
references that may confuse or frustrate people brand new to Strapi, trying to go through
the Quick Start Guide or Tutorial.
Change "content type" to "collection type" where appropriate
Signed-off-by: Chinh Do <cdo@vienxu.com>
* Make plugins documentation generation optional
Signed-off-by: Ralph Maroun <rmaroun@outlook.com>
* Removing "-" character from schema names for generated plugin documentation so it becomes compatible with AWS API gateway import API feature using OAS file. Adding only one property to the settings file pluginsForWhichToGenerateDoc so that the user can choose for which plugin he wishes to generate documentation. Adding a parameter to generate or not the default response (this can now be set to false to have a documentation that is compatible with AWS API Gateway).
Signed-off-by: Ralph Maroun <rmaroun@outlook.com>
* Updating settings.json to start without the pluginsForWhichToGenerateDoc key so that all plugins documentation gets generated by default. Updated the documentation to reflect this change.
Signed-off-by: Ralph Maroun <rmaroun@outlook.com>
* Updating documentation to correct typos and rephrase some sentences to make them more clear.
Signed-off-by: Ralph Maroun <rmaroun@outlook.com>
* Destructuring the config to the var pluginsForWhichToGenerateDoc instead of renaming it to take into account comment from Alexandre Bodin
Signed-off-by: Ralph Maroun <rmaroun@outlook.com>
* Destructuring generateDefaultResponse and pluginsForWhichToGenerateDoc from strapi config object based on feedback from Alexandre Bodin
Signed-off-by: Ralph Maroun <rmaroun@outlook.com>
Co-authored-by: Alexandre BODIN <alexandrebodin@users.noreply.github.com>
* Add config option to disable serving admin assets
Signed-off-by: Jozef Cipa <cipa.jozef@gmail.com>
* Add serveAdminPanel option to docs
Signed-off-by: Jozef Cipa <cipa.jozef@gmail.com>
* Inherit default value for serving admin from config
Signed-off-by: Jozef Cipa <cipa.jozef@gmail.com>
Not sure if you want to call-out that it will leverage yarn if/when possible (if npm flag is not set).
Did notice other APIs need an update, but unsure how `---tpl` relates to new cli. I assume it's been refactored into `--extend`, but unsure.
Signed-off-by: Brad Christie <bch@sitecore.net>