Basic docs, FAQs, , featured projects and code templates for Deta.
Website: https://basic.deta.dev
Send us a pr with your project details in the feature.json
Add another element in the json with contents like
{
...above content},
"project-name" : {
"about" : "A paragraph about your project",
"details" : "URL: abc\\nRepository: abc\\nAuthor: abc",
"preview" : 1,
"image_uri" : "abc"
}
}Make sure to add \\n between each line of details as to separate them in the markdown. Also note that about should be a single line which can be big enough to contain the whole paragraph.
Moreover note that if your project contains no image remove image_uri and set preview to 0.
See the json file for better understanding.
Edit the feature-boiler.md and add your project name like this -
### Project Name
<!--start project-name-->
<!--end-->
project-name is the tag to be used in the feature.json file.
There's no need to edit the docs/feature.md file! Just send us the pr and after successfull merge it will automatically add in there!.
Install the required dependencies.
$ pip install -r requirements.txtTo preview the site while editing, use the following command.
$ mkdocs serveYou can also do python feature.py to update feature.md file (optional in case of any changes to boiler and json file by you).
Before committing, stop the MkDocs server and preview the site using uvicorn to make sure everything works.
$ mkdocs build
$ uvicorn main:app --reload