All Projects → prisma → Docs

prisma / Docs

📚 Prisma Documentation

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Docs

Pyspark Cheatsheet
🐍 Quick reference guide to common patterns & functions in PySpark.
Stars: ✭ 108 (-20.59%)
Mutual labels:  docs
Docat
Host your docs. Simple. Versioned. Fancy.
Stars: ✭ 115 (-15.44%)
Mutual labels:  docs
Docs
Official repository containing all docs & guides of OVH Group
Stars: ✭ 126 (-7.35%)
Mutual labels:  docs
Docs Cn
OpenTelemetry Markdown中文文档: 接入使用、技术标准、RFC、SDK等. 中文网站:https://ot.md
Stars: ✭ 109 (-19.85%)
Mutual labels:  docs
Graphql Markdown
The easiest way to document your GraphQL schema.
Stars: ✭ 114 (-16.18%)
Mutual labels:  docs
Lightpack Docs
The most complete Lightpack project documentation
Stars: ✭ 120 (-11.76%)
Mutual labels:  docs
Real World Grading App
An example of a real-world REST API backend built with TypeScript, Hapi, Prisma, and PostgreSQL.
Stars: ✭ 105 (-22.79%)
Mutual labels:  prisma
Utools Manuals
uTools插件,内置了十多个实用的离线中文手册,包括:Linux、PHP、Python、JS等,以及提供了搜索devdocs、dash/zeal上的文档的功能
Stars: ✭ 130 (-4.41%)
Mutual labels:  docs
Pico8 Api
Unofficial PICO-8 API with a lovely design ! ::
Stars: ✭ 115 (-15.44%)
Mutual labels:  docs
Ledokku
Beautiful web UI for all things Dokku
Stars: ✭ 103 (-24.26%)
Mutual labels:  prisma
Goreadme
Generate readme file from Go doc. Now available with Github actions!
Stars: ✭ 113 (-16.91%)
Mutual labels:  docs
Jpush Docs
JPush docs on official website. 极光推送官方文档。
Stars: ✭ 113 (-16.91%)
Mutual labels:  docs
Neoman.vim
A modern man page plugin for vim
Stars: ✭ 121 (-11.03%)
Mutual labels:  docs
Ikea Tradfri Coap Docs
How can you communicate to your ikea tradfri gateway/hub through coap-client
Stars: ✭ 111 (-18.38%)
Mutual labels:  docs
Serverless Prisma
AWS Serverless Prisma Boilerplate
Stars: ✭ 126 (-7.35%)
Mutual labels:  prisma
Awesome Vrchat
One-stop shop for people interested in developing content for VRchat
Stars: ✭ 107 (-21.32%)
Mutual labels:  docs
Blog
人人贷大前端博客中心:打造优质大前端博客,欢迎关注我们
Stars: ✭ 118 (-13.24%)
Mutual labels:  docs
Prism Documentation
Stars: ✭ 131 (-3.68%)
Mutual labels:  docs
Scobot
SCORM API for Content. JavaScript library, QUnit tests and examples.
Stars: ✭ 128 (-5.88%)
Mutual labels:  docs
Docx
Easily generate .docx files with JS/TS with a nice declarative API. Works for Node and on the Browser.
Stars: ✭ 2,150 (+1480.88%)
Mutual labels:  docs

Prisma Documentation

Netlify Status

This repository contains the source code and the content for the Prisma documentation.

Run locally

Clone this repository and get started by running the following commands:

npm install
npm run dev

To prettify or format the code, run:

npm run prettify

Visit http://localhost:8000/ to view the app.

Configure

Write MDX files in content folder.

Open config.js for available config options for gatsby, header, footer and siteMetadata.

  • gatsby config for global configuration like

    • pathPrefix - Gatsby Path Prefix
  • header config for site header configuration like

    • title - The title that appears on the top left
    • links - The links for header
    • logoLink - The link to redirect on logo click
  • footer config for site footer configuration like

    • title - The title that appears on the top left
    • logoLink - The link to redirect on logo click
    • products, community, company, resources - The links for various footer
    • newsletter - Newsletter config
    • findus - Social links
  • siteMetadata config for website related configuration

    • title - Title of the website in main page
    • description - Description of the website
    • keywords - Keywords of the website for SEO

Inserting, moving and deleting files

All files/folders in the context are prefixed with a position which indicates the order in which they appear in the sidenav on the docs website. This makes it cumbersome to insert, move and delete files because the positions of a number of other files (if not all) in the same folder might need to be adjusted. Thanks to Luca Steeb, you can perform these operations with a dedicated CLI called mdtool.

Install

wget https://gist.githubusercontent.com/steebchen/bd085ebde1fcf4242e3fdd0df4d202a6/raw/c04e3d262eb6a302a9fab98f6428fec9329681e2/mdtool -qO /usr/local/bin/mdtool
chmod +x /usr/local/bin/mdtool

Usage

Overview

mdtool insert 3
mdtool swap A B
mdtool move A B
mdtool remove 4

mdtool insert

Make place for a new file at given index and increment all numbers by one after that index:

$ mdtool insert INDEX

# e.g.:
$ mdtool insert 2

# Result: for files 01-a, 02-b, 03-c, and 04-d; 03-c is renamed to 04-c and 04-d is renamed to 05-d so you can create a new file at index 2

mdtool swap

Swap two files; specify both filenames (prefix numbers get automatically adjusted):

$ mdtool swap FILENAME1 FILENAME2

# e.g.:
$ mdtool swap 03-file1.mdx 07-file2.mdx

# Result: Files are now named: 03-file2.mdx 07-file1.mdx

mdtool move

Move a given file to another given index

$ mdtool move FILENAME INDEX

# e.g.:
$ mdtool move 05-file.mdx 2

# Result: 05-file.mdx is move to 02-file.mdx, plus previous files 02-*, 03-*, 04-* are incremented

mdtool swap

Shift all other items by -1 at a given index:

$ mdtool remove INDEX

# e.g.:
$ mdtool remove 2

# Result: 01-a, 02-b, 03-c, 04-d becomes 01-a, 02-b, 02-c, 03-d; 02-b is supposed to be manually deleted

Thanks Luca

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].