Skip to content
This repository has been archived by the owner on Sep 22, 2022. It is now read-only.

Documentation

Ben edited this page Jul 8, 2021 · 9 revisions

Two Dishes One Fish Demo click the image to watch a video demo

"Two dishes one fish" is a smart cuisine using different part of one fish to make two delicious dishes, inspired by it I want to build web site as a blog and a knowledge management system, with the same Markdown files system.

I choose VuePress as the generator to compile the Markdown files to HTML files and deploy the static site to Github Page.

VuePress is so easy to use by the out-of-the-box default theme just setting some configurations. My major work is to optimise the experience of browser the website and post:

  • the Markdown files can classify into tow types, it can be a blog post and a note at the same time, or just as a note. home-to-navigation
  • add a blog posts navigation page, the blog post show as cards, user can browser the posts in three mode: cards grid mode, cards masonry mode, and posts list mode. blog-posts-navigation-page
  • add a notes navigation page, all Markdown files will be notes, the notes show in a grid layout as the same structure as they save in the files system, powering by D3.js, you can also browser the notes in a tree chart. notes-navigation-page
  • support to add tags to Markdown file and filter the posts or notes in navigation page.
  • follow the RWD, responsive web design, principle, you can browser the website in different screen size.

you can refer to the following steps to set up the website:

  1. Set Up Working Environment
  2. Project Structure
  3. Parameter Setting
  4. Writing and Creating
  5. Develop And Preview (optional)
  6. Version Control
  7. Sync With Remote Repositories
  8. Deploy Site