Code Monkey home page Code Monkey logo

affine.pro's Introduction

affine.pro

This repo is AFFiNE official website and blog source code. image

Git Flow

Feature dev: feature/$x or master -> staging -> production

Issue/Hotfix: issue/$x -> production

How to publish blog

The blog uses AFFiNE as the content source. The Workspace ID is found in the following file: services/blog/getWorkspacePages.ts

Each blog should abide by the following format:

---
title: How AFFiNE Classifies Editors
author: Chi Zhang, Yifeng Wang , Ran Chen, Fanjing Zhang
tags: Let’s make XXX
slug: how-affine-classifies-editors
description: There are so many editors today that users may find it difficult to select
created: 2022-06-27
updated: 2022-06-27
layout: blog
pulish: false
---
[cover image]
[article content]

title the title of the article

author the author/authors of the article in a comma sepeareted list. For a list of available authors, see services/blog/userMap.ts. Profile images are taken from the public folder.

tags the tag, or rather categorey, of the article

slug the unique url for the article https://affine.pro/blog/{slug} - do not use special characters and replace (spaces) with -

description a small description to the article, no more than 2 sentences

created this should be the publish date

updated this should be set as the publish date, and only this date is updated when edits are made

layout should generally stay as blog

publish set to false to ensure this article is not public, only set to true when the article is ready for publishing (will be published as soon as set to true)

How to develop

Look at the Nuxt 3 documentation to learn more.

Setup

Make sure to install the dependencies:

# yarn
yarn install

Development Server

Start the development server on http://localhost:3001

npm run dev

Production

Build the application for production:

npm run build

Locally preview production build:

npm run preview

Check out the deployment documentation for more information.

affine.pro's People

Contributors

sunebear avatar jackiepengp avatar shortcipher5 avatar pengx17 avatar darkskygit avatar hwangdev97 avatar himself65 avatar jimmfly avatar doodlewind avatar lawvs avatar catsjuice avatar flrande avatar zzj3720 avatar bomberstudios avatar danielroe avatar diamondthree avatar innei avatar saul-mirone avatar forehalo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.