My docs
Usage
Usage is very simple. In the content folder you can find all the documentation. Adding or editing folders and the markdown files in there will automatically trigger a new build and generate those files as pages. These pages will be added to the index based on the folder structure.
The .mdx files can contain both markdown as well as plain html and components.
Meta tags
In the top of each markdown file you see this section:
---
title: ESlint configuration standards
description: "What we use to lint our code"
layout: "index"
---
Meta tags are defined here as well as the layout that is used.
Layouts
Layouts are defined in the layouts folder. The markdown content will be embedded in these layouts. When no specific layout is defined, the default layout will be applied. New layouts can be added in this folder, but will then need to be added to the switch in this getLayout() function:
Page.getLayout = (page) => {
const { layout } = page.props;
switch (layout) {
case 'index':
return <IndexLayout>{page}</IndexLayout>
case 'new-layout:
return <NewLayout>{page}</NewLayout>
default:
return <Default>{page}</Default>;
}
};
Interface ideas
Previous endeavours
Index
- Standards
- eslint configuration
- style-lint configuration
- file structure and naming conventions
- css
- naming
- formatting
- comments
- stylelint configuration
- Collaboration guidelines
- branch & pull request naming conventions
- how to pull assets from our servers
- how to pull the database from our servers
- How to pick up an issue
- Our technical stack
- React
- Docs
- Component structure
- Imports
- React / next
- ext. packages
- subcomponents
- utilities
- files (svg etc.)
- Component
- properties
- context
- state
- effects
- render (return ….)
- Proptypes
- defaultprops
- export line
- Imports
- Component boilerplate
npx momkai-code create component
- NextJS
- Links to relevant docs
- Image component
- Links to relevant docs
- GraphQL
- GraphQL and Craft
- GraphQL and Next
- What’s the schema file?
- query structure
- GSAP
- pointing to momkai motion repo
- usage within React
- docs
- SwiperJS
- usage within React
- docs
- (Vue)
- (Svelte)
- React
- Deployment
- reboot server on linode
- SSL certificates
- uptime robot
- Netlify
- serverless functions
- Vercel
- DeployHQ
- VSCode extensions
- Interesting socials
- twitter feed
- Manuals
- GPG keys
- SSH connections
- Git setup
- Docker setup
- Nitro
- Apache setup
- iTerm and ZSH
- Courses
- craftQuest
- Frontend masters
- LevelUp
- WesBos